1 # CHIP Linux Persistent Storage Example
3 An example testing and demonstrating the key value storage API.
7 - [CHIP Linux Persistent Storage Example](#chip-linux-persistent-storage-example)
8 - [Introduction](#introduction)
10 - [Building](#building)
19 This example serves to both test the key value storage implementation and API as
20 it is brought-up on different platforms, as well as provide an example for how
23 In the future this example can be moved into a unit test when available on all
30 The Linux platform KVS is fully implemented, the KVS is enabled and configured
31 by providing a file during the init call.
33 <a name="building"></a>
39 $ sudo apt-get install git gcc g++ python pkg-config libssl-dev libdbus-1-dev libglib2.0-dev ninja-build python3-venv python3-dev unzip
41 - Build the example application:
43 $ cd ~/connectedhomeip/examples/persistent-storage/linux
44 $ git submodule update --init
45 $ source third_party/connectedhomeip/scripts/activate.sh
49 <a name="running"></a>
55 $ cd ~/connectedhomeip/examples/persistent-storage/linux
56 $ sudo out/debug/persistent_storage