Green Power Translation Table#
API and Callbacks for the Green Power Translation Table Component.
A component implementing the translation table functionality of the Green Power cluster.
Modules#
EmberAfGreenPowerServerGpdSubTranslationTableEntry
Typedefs#
typedef uint8_t
Macros#
#define
EMBER_AF_PLUGIN_GREEN_POWER_SERVER_ADDITIONALINFO_TABLE_SIZE EMBER_AF_PLUGIN_GREEN_POWER_TRANSLATION_TABLE_TRANSLATION_TABLE_SIZE
#define
EMBER_AF_GREEN_POWER_SERVER_TRANSLATION_TABLE_ENTRY_ZCL_PAYLOAD_LEN (7)
#define
EMBER_AF_GREEN_POWER_ZCL_PAYLOAD_SRC_PRECONFIGURED 1
#define
EMBER_AF_GREEN_POWER_ZCL_PAYLOAD_SRC_NA 2
#define
EMBER_AF_GREEN_POWER_ZCL_PAYLOAD_SRC_GPD_CMD 4
#define
GREEN_POWER_SERVER_GPD_COMMAND_PAYLOAD_UNSPECIFIED_LENGTH 0xFF
#define
GREEN_POWER_SERVER_GPD_COMMAND_PAYLOAD_TT_DERIVED_LENGTH 0xFE
#define
GP_TRANSLATION_TABLE_STATUS_SUCCESS 0x00
#define
GP_TRANSLATION_TABLE_STATUS_FAILED 0xFF
#define
GP_TRANSLATION_TABLE_STATUS_FULL 0xFE
#define
GP_TRANSLATION_TABLE_STATUS_EMPTY 0xFD
#define
GP_TRANSLATION_TABLE_STATUS_ENTRY_EMPTY 0xFC
#define
GP_TRANSLATION_TABLE_STATUS_ENTRY_NOT_EMPTY 0xFB
#define
GP_TRANSLATION_TABLE_STATUS_PARAM_DOES_NOT_MATCH 0xFA
#define
GP_TRANSLATION_TABLE_STATUS_CUSTOMIZED_TABLE_FULL 0xF9
#define
GP_TRANSLATION_TABLE_ENTRY_INVALID_INDEX 0xFF
Enumeration Documentation#
sli_zigbee_af_gp_table_type#
sli_zigbee_af_gp_table_type
Enumerator | |
---|---|
NO_ENTRY | |
DEFAULT_TABLE_ENTRY | |
CUSTOMIZED_TABLE_ENTRY |
Definition at line
69
of file app/framework/plugin/green-power-translation-table/green-power-translation-table.h
IncomingReqType#
IncomingReqType
Enumerator | |
---|---|
ADD_PAIRED_DEVICE | |
DELETE_PAIRED_DEVICE | |
TRANSLATION_TABLE_UPDATE |
Definition at line
80
of file app/framework/plugin/green-power-translation-table/green-power-translation-table.h
Typedef Documentation#
GpTableType#
typedef uint8_t GpTableType
Definition at line
67
of file app/framework/plugin/green-power-translation-table/green-power-translation-table.h
Variable Documentation#
validEntry#
bool EmberAfGreenPowerServerGpdSubTranslationTableEntry::validEntry
Definition at line
91
of file app/framework/plugin/green-power-translation-table/green-power-translation-table.h
gpdCommand#
uint8_t EmberAfGreenPowerServerGpdSubTranslationTableEntry::gpdCommand
Definition at line
92
of file app/framework/plugin/green-power-translation-table/green-power-translation-table.h
endpoint#
uint8_t EmberAfGreenPowerServerGpdSubTranslationTableEntry::endpoint
Definition at line
93
of file app/framework/plugin/green-power-translation-table/green-power-translation-table.h
zigbeeProfile#
uint16_t EmberAfGreenPowerServerGpdSubTranslationTableEntry::zigbeeProfile
Definition at line
94
of file app/framework/plugin/green-power-translation-table/green-power-translation-table.h
zigbeeCluster#
uint16_t EmberAfGreenPowerServerGpdSubTranslationTableEntry::zigbeeCluster
Definition at line
95
of file app/framework/plugin/green-power-translation-table/green-power-translation-table.h
serverClient#
uint8_t EmberAfGreenPowerServerGpdSubTranslationTableEntry::serverClient
Definition at line
96
of file app/framework/plugin/green-power-translation-table/green-power-translation-table.h
zigbeeCommandId#
uint8_t EmberAfGreenPowerServerGpdSubTranslationTableEntry::zigbeeCommandId
Definition at line
97
of file app/framework/plugin/green-power-translation-table/green-power-translation-table.h
payloadSrc#
uint8_t EmberAfGreenPowerServerGpdSubTranslationTableEntry::payloadSrc
Definition at line
98
of file app/framework/plugin/green-power-translation-table/green-power-translation-table.h
zclPayloadDefault#
uint8_t EmberAfGreenPowerServerGpdSubTranslationTableEntry::zclPayloadDefault[EMBER_AF_GREEN_POWER_SERVER_TRANSLATION_TABLE_ENTRY_ZCL_PAYLOAD_LEN]
Definition at line
110
of file app/framework/plugin/green-power-translation-table/green-power-translation-table.h