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#

sl_zigbee_af_green_power_server_gpd_sub_translation_table_entry_t

Enumerations#

enum
NO_ENTRY
DEFAULT_TABLE_ENTRY
CUSTOMIZED_TABLE_ENTRY
}
enum
ADD_PAIRED_DEVICE = 1
DELETE_PAIRED_DEVICE = 1
TRANSLATION_TABLE_UPDATE = 2
}

Typedefs#

Macros#

#define
SL_ZIGBEE_AF_PLUGIN_GREEN_POWER_SERVER_ADDITIONALINFO_TABLE_SIZE SL_ZIGBEE_AF_PLUGIN_GREEN_POWER_TRANSLATION_TABLE_TRANSLATION_TABLE_SIZE
#define
SL_ZIGBEE_AF_GREEN_POWER_SERVER_TRANSLATION_TABLE_ENTRY_ZCL_PAYLOAD_LEN (7)
#define
SL_ZIGBEE_AF_GREEN_POWER_ZCL_PAYLOAD_SRC_PRECONFIGURED 1
#define
SL_ZIGBEE_AF_GREEN_POWER_ZCL_PAYLOAD_SRC_NA 2
#define
SL_ZIGBEE_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#

sli_zigbee_gp_table_type_t#

typedef uint8_t sli_zigbee_gp_table_type_t

Definition at line 67 of file app/framework/plugin/green-power-translation-table/green-power-translation-table.h

Variable Documentation#

validEntry#

bool sl_zigbee_af_green_power_server_gpd_sub_translation_table_entry_t::validEntry

Definition at line 91 of file app/framework/plugin/green-power-translation-table/green-power-translation-table.h

gpdCommand#

uint8_t sl_zigbee_af_green_power_server_gpd_sub_translation_table_entry_t::gpdCommand

Definition at line 92 of file app/framework/plugin/green-power-translation-table/green-power-translation-table.h

endpoint#

uint8_t sl_zigbee_af_green_power_server_gpd_sub_translation_table_entry_t::endpoint

Definition at line 93 of file app/framework/plugin/green-power-translation-table/green-power-translation-table.h

zigbeeProfile#

uint16_t sl_zigbee_af_green_power_server_gpd_sub_translation_table_entry_t::zigbeeProfile

Definition at line 94 of file app/framework/plugin/green-power-translation-table/green-power-translation-table.h

zigbeeCluster#

uint16_t sl_zigbee_af_green_power_server_gpd_sub_translation_table_entry_t::zigbeeCluster

Definition at line 95 of file app/framework/plugin/green-power-translation-table/green-power-translation-table.h

serverClient#

uint8_t sl_zigbee_af_green_power_server_gpd_sub_translation_table_entry_t::serverClient

Definition at line 96 of file app/framework/plugin/green-power-translation-table/green-power-translation-table.h

zigbeeCommandId#

uint8_t sl_zigbee_af_green_power_server_gpd_sub_translation_table_entry_t::zigbeeCommandId

Definition at line 97 of file app/framework/plugin/green-power-translation-table/green-power-translation-table.h

payloadSrc#

uint8_t sl_zigbee_af_green_power_server_gpd_sub_translation_table_entry_t::payloadSrc

Definition at line 98 of file app/framework/plugin/green-power-translation-table/green-power-translation-table.h

zclPayloadDefault#

uint8_t sl_zigbee_af_green_power_server_gpd_sub_translation_table_entry_t::zclPayloadDefault[SL_ZIGBEE_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