Macros

#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_SLOT_MANAGER_PLUGIN_SLOT_MANAGER_BOOT_SLOT
plugin slot-manager boot-slot [slotId:4]
#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_SLOT_MANAGER_PLUGIN_SLOT_MANAGER_ERASE_SLOT
plugin slot-manager erase-slot [slotId:4]
#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_SLOT_MANAGER_PLUGIN_SLOT_MANAGER_EXT_FLASH_INFO
plugin slot-manager ext-flash-info
#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_SLOT_MANAGER_PLUGIN_SLOT_MANAGER_READ
plugin slot-manager read [address:4] [length:1]
#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_SLOT_MANAGER_PLUGIN_SLOT_MANAGER_SLOTS_INFO
plugin slot-manager slots-info

Detailed Description

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

#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
#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
#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.
#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
#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.