Plugin Commands: Green Power Test Device

Macros

#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_GREEN_POWER_TEST_DEVICE_PLUGIN_GREEN_POWER_TEST_DEVICE_SEND_CHANNEL_REQUEST
plugin green-power-test-device send-channel-request [channel:1]
#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_GREEN_POWER_TEST_DEVICE_PLUGIN_GREEN_POWER_TEST_DEVICE_SEND_COMM
plugin green-power-test-device send-comm [type:1]
#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_GREEN_POWER_TEST_DEVICE_PLUGIN_GREEN_POWER_TEST_DEVICE_SEND_IEEE_TEST
plugin green-power-test-device send-ieee-test [gpdCommandId:1] [gpdCommandPayload:-1]
#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_GREEN_POWER_TEST_DEVICE_PLUGIN_GREEN_POWER_TEST_DEVICE_SEND_TEST
plugin green-power-test-device send-test [gpdCommandId:1] [gpdCommandPayload:-1]
#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_GREEN_POWER_TEST_DEVICE_PLUGIN_GREEN_POWER_TEST_DEVICE_SET_PHY_CHANNEL
plugin green-power-test-device set-phy-channel [channel:1]
#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_GREEN_POWER_TEST_DEVICE_PLUGIN_GREEN_POWER_TEST_DEVICE_SETUP_GPD
plugin green-power-test-device setup-gpd [srcId:4] [key:-1]
#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_GREEN_POWER_TEST_DEVICE_PLUGIN_GREEN_POWER_TEST_DEVICE_SETUP_IEEE_GPD
plugin green-power-test-device setup-ieee-gpd [eui:-1] [key:-1]

Detailed Description

The Green Power Test Device plugin contributes CLI commands to the application framework to be used for generating commands from a GPD

Macro Definition Documentation

#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_GREEN_POWER_TEST_DEVICE_PLUGIN_GREEN_POWER_TEST_DEVICE_SEND_CHANNEL_REQUEST

plugin green-power-test-device send-channel-request [channel:1]

  • Send a test GPD command
    • channel - INT8U - Channel to set
#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_GREEN_POWER_TEST_DEVICE_PLUGIN_GREEN_POWER_TEST_DEVICE_SEND_COMM

plugin green-power-test-device send-comm [type:1]

  • Send a test GPD command
    • type - INT8U - 0 for tx only, 1 for bidir
#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_GREEN_POWER_TEST_DEVICE_PLUGIN_GREEN_POWER_TEST_DEVICE_SEND_IEEE_TEST

plugin green-power-test-device send-ieee-test [gpdCommandId:1] [gpdCommandPayload:-1]

  • Send a test GPD command
    • gpdCommandId - INT8U - gpd command ID
    • gpdCommandPayload - OCTET_STRING - gpd command payload
#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_GREEN_POWER_TEST_DEVICE_PLUGIN_GREEN_POWER_TEST_DEVICE_SEND_TEST

plugin green-power-test-device send-test [gpdCommandId:1] [gpdCommandPayload:-1]

  • Send a test GPD command
    • gpdCommandId - INT8U - gpd command ID
    • gpdCommandPayload - OCTET_STRING - gpd command payload
#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_GREEN_POWER_TEST_DEVICE_PLUGIN_GREEN_POWER_TEST_DEVICE_SET_PHY_CHANNEL

plugin green-power-test-device set-phy-channel [channel:1]

  • set the phy channel
    • channel - INT8U - Channel to set
#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_GREEN_POWER_TEST_DEVICE_PLUGIN_GREEN_POWER_TEST_DEVICE_SETUP_GPD

plugin green-power-test-device setup-gpd [srcId:4] [key:-1]

  • init a GPD
    • srcId - INT32U - gpd src ID
    • key - OCTET_STRING - the key
#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_GREEN_POWER_TEST_DEVICE_PLUGIN_GREEN_POWER_TEST_DEVICE_SETUP_IEEE_GPD

plugin green-power-test-device setup-ieee-gpd [eui:-1] [key:-1]

  • init a Ieee GPD
    • eui - OCTET_STRING - gpd Ieee ID
    • key - OCTET_STRING - the key