Plugin Commands: PS Store#

Commands for the PS Store plugin, which manages data in flash memory.

Macros#

#define

plugin ps-store delete-tag [tag:2] [flags:2]

#define

plugin ps-store write-tag [tag:2] [flags:1] [len:1] [val:-1]

Macro Definition Documentation#

EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_PSSTORE_PLUGIN_PS_STORE_DELETE_TAG#

#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_PSSTORE_PLUGIN_PS_STORE_DELETE_TAG

plugin ps-store delete-tag [tag:2] [flags:2]

  • Writes tag to storage module.

    • tag - INT16U - The tag or key.

    • flags - INT16U - The mask to apply to the tag or key. 0 deletes all keys.


Definition at line 4712 of file ./app/framework/test/headers/cli.doc

EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_PSSTORE_PLUGIN_PS_STORE_DUMP#

#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_PSSTORE_PLUGIN_PS_STORE_DUMP

plugin ps-store dump

  • Prints the contents in the entire storage module.


Definition at line 4717 of file ./app/framework/test/headers/cli.doc

EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_PSSTORE_PLUGIN_PS_STORE_INIT#

#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_PSSTORE_PLUGIN_PS_STORE_INIT

plugin ps-store init

  • Initializes the storage module.


Definition at line 4722 of file ./app/framework/test/headers/cli.doc

EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_PSSTORE_PLUGIN_PS_STORE_PRINT_TAGS#

#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_PSSTORE_PLUGIN_PS_STORE_PRINT_TAGS

plugin ps-store print-tags

  • Prints all tags (or keys) in the storage module.


Definition at line 4727 of file ./app/framework/test/headers/cli.doc

EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_PSSTORE_PLUGIN_PS_STORE_WRITE_TAG#

#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_PSSTORE_PLUGIN_PS_STORE_WRITE_TAG

plugin ps-store write-tag [tag:2] [flags:1] [len:1] [val:-1]

  • Writes tag to storage module.

    • tag - INT16U - The tag or key.

    • flags - INT8U - The flags that apply to this record.

    • len - INT8U - The length of the data to write.

    • val - OCTET_STRING - The data values to write.


Definition at line 4736 of file ./app/framework/test/headers/cli.doc