nerves_runtime v0.4.1 Nerves.Runtime.KV
Key Value Storage for firmware vairables provided by fwup
KV provides access to metadata variables set by fwup. It can be used to obtain information such as the active firmware slot, where the application data partition is located, etc.
Values are stored in two ways.
Values do not pertain to a specific firmware slot For example:
"nerves_fw_active" => "a"
Values pretain to a specific firmware slot For Example:
"a.nerves_fw_author" => "The Nerves Team"
You can find values for just the active firmware slot by using get_active and get_all_active. The result of these functions will trim the firmware slot “a.” or “b.” off the from the leading characters of the keys returned.
Link to this section Summary
Functions
get the key regardless of firmware slot
Get the key for only the active firmware slot
Get all keys regardless of firmware slot
Get all key value pairs for only the active firmware slot
Start the KV store server
Link to this section Functions
get the key regardless of firmware slot
Get the key for only the active firmware slot
Get all keys regardless of firmware slot
Get all key value pairs for only the active firmware slot
Start the KV store server