Plugin Commands: Green Power Test Device#
The Green Power Test Device plugin contributes CLI commands to the application framework to be used for generating commands from a GPD
Macros#
plugin green-power-test-device send-channel-request [channel:1]
plugin green-power-test-device send-comm [type:1]
plugin green-power-test-device send-ieee-test [gpdCommandId:1] [gpdCommandPayload:-1]
plugin green-power-test-device send-test [gpdCommandId:1] [gpdCommandPayload:-1]
plugin green-power-test-device set-phy-channel [channel:1]
plugin green-power-test-device setup-gpd [srcId:4] [key:-1]
plugin green-power-test-device setup-ieee-gpd [eui:-1] [key:-1]
Macro Definition Documentation#
EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_GREEN_POWER_TEST_DEVICE_PLUGIN_GREEN_POWER_TEST_DEVICE_SEND_CHANNEL_REQUEST#
#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
3422
of file ./app/framework/test/headers/cli.doc
EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_GREEN_POWER_TEST_DEVICE_PLUGIN_GREEN_POWER_TEST_DEVICE_SEND_COMM#
#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
3428
of file ./app/framework/test/headers/cli.doc
EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_GREEN_POWER_TEST_DEVICE_PLUGIN_GREEN_POWER_TEST_DEVICE_SEND_IEEE_TEST#
#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
3435
of file ./app/framework/test/headers/cli.doc
EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_GREEN_POWER_TEST_DEVICE_PLUGIN_GREEN_POWER_TEST_DEVICE_SEND_TEST#
#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
3442
of file ./app/framework/test/headers/cli.doc
EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_GREEN_POWER_TEST_DEVICE_PLUGIN_GREEN_POWER_TEST_DEVICE_SET_PHY_CHANNEL#
#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
3448
of file ./app/framework/test/headers/cli.doc
EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_GREEN_POWER_TEST_DEVICE_PLUGIN_GREEN_POWER_TEST_DEVICE_SETUP_GPD#
#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
3455
of file ./app/framework/test/headers/cli.doc
EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_GREEN_POWER_TEST_DEVICE_PLUGIN_GREEN_POWER_TEST_DEVICE_SETUP_IEEE_GPD#
#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
3462
of file ./app/framework/test/headers/cli.doc