Plugin Commands: Slot Manager#

This plugin provides a set of CLI commands to interact with external SPI flash, particularly in a setup where slots are present to work with the common bootloader.

Macro Definition Documentation#

EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_SLOT_MANAGER_PLUGIN_SLOT_MANAGER_BOOT_SLOT#

#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_SLOT_MANAGER_PLUGIN_SLOT_MANAGER_BOOT_SLOT

plugin slot-manager boot-slot [slotId:4]

  • Boot the image in the specified slot ID.

    • slotId - INT32U - The slot ID to boot


Definition at line 6283 of file /Users/vihuszar/Git/EmbeddedSoftware/super/protocol/zigbee/app/framework/test/headers/cli.doc

EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_SLOT_MANAGER_PLUGIN_SLOT_MANAGER_ERASE_SLOT#

#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_SLOT_MANAGER_PLUGIN_SLOT_MANAGER_ERASE_SLOT

plugin slot-manager erase-slot [slotId:4]

  • Erase the specified slot ID.

    • slotId - INT32U - The slot ID to erase


Definition at line 6289 of file /Users/vihuszar/Git/EmbeddedSoftware/super/protocol/zigbee/app/framework/test/headers/cli.doc

EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_SLOT_MANAGER_PLUGIN_SLOT_MANAGER_EXT_FLASH_INFO#

#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_SLOT_MANAGER_PLUGIN_SLOT_MANAGER_EXT_FLASH_INFO

plugin slot-manager ext-flash-info

  • Print external flash information.


Definition at line 6294 of file /Users/vihuszar/Git/EmbeddedSoftware/super/protocol/zigbee/app/framework/test/headers/cli.doc

EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_SLOT_MANAGER_PLUGIN_SLOT_MANAGER_READ#

#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_SLOT_MANAGER_PLUGIN_SLOT_MANAGER_READ

plugin slot-manager read [address:4] [length:1]

  • Read raw data from external flash.

    • address - INT32U - Address to read

    • length - INT8U - Length of bytes to read


Definition at line 6301 of file /Users/vihuszar/Git/EmbeddedSoftware/super/protocol/zigbee/app/framework/test/headers/cli.doc

EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_SLOT_MANAGER_PLUGIN_SLOT_MANAGER_SLOTS_INFO#

#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_SLOT_MANAGER_PLUGIN_SLOT_MANAGER_SLOTS_INFO

plugin slot-manager slots-info

  • Print information for all available slots.


Definition at line 6306 of file /Users/vihuszar/Git/EmbeddedSoftware/super/protocol/zigbee/app/framework/test/headers/cli.doc