Plugin Commands: Green Power Translation Table#

The Green Power Server plugin contributes CLI commands to the application framework to be used for getting, setting, and displaying information relevant to the Green Power Server cluster.

Macros#

#define
#define

plugin green-power-server additionalInfoTable-setEntry [index:1] [gpdCommandId:1] [additionalInfoLength:1] [additionalInfoBlockIn:-1]

#define
#define

plugin green-power-server customizedTable-setEntry [index:1] [gpdCommandId:1] [zbEndpoint:1] [zigbeeProfile:2] [zigbeeCluster:2] [ServerOrClient:1] [zigbeeCommandId:2] [payloadLength:1] [zclPayloadsrc:1] [zclPayload:-1]

#define

plugin green-power-server table-remove-endpoint [applicationId:1] [sourceId:4] [gpdIeeeAddr:8] [gpdEndpoint:1] [zbEndpoint:1]

#define

plugin green-power-server table-set [index:1] [options:2] [gpdIeeeAddr:8] [gpdEndpoint:1] [sourceId:4] [gpdCommandId:1] [zbEndpoint:1] [zigbeeProfile:2] [zigbeeCluster:2] [zigbeeCommandId:2] [payloadLength:1] [zclPayload:-1] [additionalInfoLength:1] [additionalInfoBlockIn:-1]

Macro Definition Documentation#

EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_GREEN_POWER_TRANSLATION_TABLE_PLUGIN_GREEN_POWER_SERVER_ADDITIONAL_INFO_TABLE_CLEAR_ALL#

#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_GREEN_POWER_TRANSLATION_TABLE_PLUGIN_GREEN_POWER_SERVER_ADDITIONAL_INFO_TABLE_CLEAR_ALL

plugin green-power-server additionalInfoTable-clearAll

  • Clear all entries within the additionalInfoTable.


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

EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_GREEN_POWER_TRANSLATION_TABLE_PLUGIN_GREEN_POWER_SERVER_ADDITIONAL_INFO_TABLE_CLEAR_ENTRY#

#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_GREEN_POWER_TRANSLATION_TABLE_PLUGIN_GREEN_POWER_SERVER_ADDITIONAL_INFO_TABLE_CLEAR_ENTRY

plugin green-power-server additionalInfoTable-clearEntry [index:1]

  • Clear entry at index within the additionalInfoTable.

    • index - INT8U - index to additionalInfoBlock table


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

EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_GREEN_POWER_TRANSLATION_TABLE_PLUGIN_GREEN_POWER_SERVER_ADDITIONAL_INFO_TABLE_PRINT#

#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_GREEN_POWER_TRANSLATION_TABLE_PLUGIN_GREEN_POWER_SERVER_ADDITIONAL_INFO_TABLE_PRINT

plugin green-power-server additionalInfoTable-print

  • Print all entries of the additionalInfoTable.


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

EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_GREEN_POWER_TRANSLATION_TABLE_PLUGIN_GREEN_POWER_SERVER_ADDITIONAL_INFO_TABLE_SET_ENTRY#

#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_GREEN_POWER_TRANSLATION_TABLE_PLUGIN_GREEN_POWER_SERVER_ADDITIONAL_INFO_TABLE_SET_ENTRY

plugin green-power-server additionalInfoTable-setEntry [index:1] [gpdCommandId:1] [additionalInfoLength:1] [additionalInfoBlockIn:-1]

  • Set entry at index within the additionalInfoTable.

    • index - INT8U - index to additionalInfoBlock table

    • gpdCommandId - INT8U

    • additionalInfoLength - INT8U

    • additionalInfoBlockIn - OCTET_STRING


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

EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_GREEN_POWER_TRANSLATION_TABLE_PLUGIN_GREEN_POWER_SERVER_CUSTOMIZED_TABLE_CLEAR_ALL#

#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_GREEN_POWER_TRANSLATION_TABLE_PLUGIN_GREEN_POWER_SERVER_CUSTOMIZED_TABLE_CLEAR_ALL

plugin green-power-server customizedTable-clearAll

  • Clear all entries within the customizedTable.


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

EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_GREEN_POWER_TRANSLATION_TABLE_PLUGIN_GREEN_POWER_SERVER_CUSTOMIZED_TABLE_CLEAR_ENTRY#

#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_GREEN_POWER_TRANSLATION_TABLE_PLUGIN_GREEN_POWER_SERVER_CUSTOMIZED_TABLE_CLEAR_ENTRY

plugin green-power-server customizedTable-clearEntry [index:1]

  • Clear entry at index within the customizedTable.

    • index - INT8U - index to customized table


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

EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_GREEN_POWER_TRANSLATION_TABLE_PLUGIN_GREEN_POWER_SERVER_CUSTOMIZED_TABLE_PRINT#

#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_GREEN_POWER_TRANSLATION_TABLE_PLUGIN_GREEN_POWER_SERVER_CUSTOMIZED_TABLE_PRINT

plugin green-power-server customizedTable-print

  • Print all entries of the customizedTable.


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

EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_GREEN_POWER_TRANSLATION_TABLE_PLUGIN_GREEN_POWER_SERVER_CUSTOMIZED_TABLE_SET_ENTRY#

#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_GREEN_POWER_TRANSLATION_TABLE_PLUGIN_GREEN_POWER_SERVER_CUSTOMIZED_TABLE_SET_ENTRY

plugin green-power-server customizedTable-setEntry [index:1] [gpdCommandId:1] [zbEndpoint:1] [zigbeeProfile:2] [zigbeeCluster:2] [ServerOrClient:1] [zigbeeCommandId:2] [payloadLength:1] [zclPayloadsrc:1] [zclPayload:-1]

  • Set entry at index within the customizedTable.

    • index - INT8U - index to customized table

    • gpdCommandId - INT8U

    • zbEndpoint - INT8U - the endpoint for which the translation is valid.

    • zigbeeProfile - INT16U

    • zigbeeCluster - INT16U

    • ServerOrClient - INT8U

    • zigbeeCommandId - INT16U

    • payloadLength - INT8U

    • zclPayloadsrc - INT8U

    • zclPayload - OCTET_STRING


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

EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_GREEN_POWER_TRANSLATION_TABLE_PLUGIN_GREEN_POWER_SERVER_TABLE_CLEAR#

#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_GREEN_POWER_TRANSLATION_TABLE_PLUGIN_GREEN_POWER_SERVER_TABLE_CLEAR

plugin green-power-server table-clear

  • Clear all entries within the translation table.


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

EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_GREEN_POWER_TRANSLATION_TABLE_PLUGIN_GREEN_POWER_SERVER_TABLE_PRINT#

#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_GREEN_POWER_TRANSLATION_TABLE_PLUGIN_GREEN_POWER_SERVER_TABLE_PRINT

plugin green-power-server table-print

  • Print all entries of the translation table.


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

EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_GREEN_POWER_TRANSLATION_TABLE_PLUGIN_GREEN_POWER_SERVER_TABLE_REMOVE_ENDPOINT#

#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_GREEN_POWER_TRANSLATION_TABLE_PLUGIN_GREEN_POWER_SERVER_TABLE_REMOVE_ENDPOINT

plugin green-power-server table-remove-endpoint [applicationId:1] [sourceId:4] [gpdIeeeAddr:8] [gpdEndpoint:1] [zbEndpoint:1]

  • remove Gpd entry from the translation table for the specified endpoint.

    • applicationId - INT8U

    • sourceId - INT32U

    • gpdIeeeAddr - IEEE_ADDRESS

    • gpdEndpoint - INT8U

    • zbEndpoint - INT8U - the endpoint for which the translation is valid.


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

EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_GREEN_POWER_TRANSLATION_TABLE_PLUGIN_GREEN_POWER_SERVER_TABLE_SET#

#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_GREEN_POWER_TRANSLATION_TABLE_PLUGIN_GREEN_POWER_SERVER_TABLE_SET

plugin green-power-server table-set [index:1] [options:2] [gpdIeeeAddr:8] [gpdEndpoint:1] [sourceId:4] [gpdCommandId:1] [zbEndpoint:1] [zigbeeProfile:2] [zigbeeCluster:2] [zigbeeCommandId:2] [payloadLength:1] [zclPayload:-1] [additionalInfoLength:1] [additionalInfoBlockIn:-1]

  • Set entry at index within the translation table.

    • index - INT8U - index to translation table

    • options - INT16U

    • gpdIeeeAddr - IEEE_ADDRESS

    • gpdEndpoint - INT8U

    • sourceId - INT32U

    • gpdCommandId - INT8U

    • zbEndpoint - INT8U - the endpoint for which the translation is valid.

    • zigbeeProfile - INT16U

    • zigbeeCluster - INT16U

    • zigbeeCommandId - INT16U

    • payloadLength - INT8U

    • zclPayload - OCTET_STRING

    • additionalInfoLength - INT8U

    • additionalInfoBlockIn - OCTET_STRING


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