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#

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

Macro Definition Documentation#

SL_ZIGBEE_AF_PLUGIN_GREEN_POWER_SERVER_ADDITIONALINFO_TABLE_SIZE#

#define SL_ZIGBEE_AF_PLUGIN_GREEN_POWER_SERVER_ADDITIONALINFO_TABLE_SIZE
Value:
SL_ZIGBEE_AF_PLUGIN_GREEN_POWER_TRANSLATION_TABLE_TRANSLATION_TABLE_SIZE

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

SL_ZIGBEE_AF_GREEN_POWER_SERVER_TRANSLATION_TABLE_ENTRY_ZCL_PAYLOAD_LEN#

#define SL_ZIGBEE_AF_GREEN_POWER_SERVER_TRANSLATION_TABLE_ENTRY_ZCL_PAYLOAD_LEN
Value:
(7)

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

SL_ZIGBEE_AF_GREEN_POWER_ZCL_PAYLOAD_SRC_PRECONFIGURED#

#define SL_ZIGBEE_AF_GREEN_POWER_ZCL_PAYLOAD_SRC_PRECONFIGURED
Value:
1

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

SL_ZIGBEE_AF_GREEN_POWER_ZCL_PAYLOAD_SRC_NA#

#define SL_ZIGBEE_AF_GREEN_POWER_ZCL_PAYLOAD_SRC_NA
Value:
2

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

SL_ZIGBEE_AF_GREEN_POWER_ZCL_PAYLOAD_SRC_GPD_CMD#

#define SL_ZIGBEE_AF_GREEN_POWER_ZCL_PAYLOAD_SRC_GPD_CMD
Value:
4

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

GREEN_POWER_SERVER_GPD_COMMAND_PAYLOAD_UNSPECIFIED_LENGTH#

#define GREEN_POWER_SERVER_GPD_COMMAND_PAYLOAD_UNSPECIFIED_LENGTH
Value:
0xFF

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

GREEN_POWER_SERVER_GPD_COMMAND_PAYLOAD_TT_DERIVED_LENGTH#

#define GREEN_POWER_SERVER_GPD_COMMAND_PAYLOAD_TT_DERIVED_LENGTH
Value:
0xFE

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

GP_TRANSLATION_TABLE_STATUS_SUCCESS#

#define GP_TRANSLATION_TABLE_STATUS_SUCCESS
Value:
0x00

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

GP_TRANSLATION_TABLE_STATUS_FAILED#

#define GP_TRANSLATION_TABLE_STATUS_FAILED
Value:
0xFF

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

GP_TRANSLATION_TABLE_STATUS_FULL#

#define GP_TRANSLATION_TABLE_STATUS_FULL
Value:
0xFE

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

GP_TRANSLATION_TABLE_STATUS_EMPTY#

#define GP_TRANSLATION_TABLE_STATUS_EMPTY
Value:
0xFD

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

GP_TRANSLATION_TABLE_STATUS_ENTRY_EMPTY#

#define GP_TRANSLATION_TABLE_STATUS_ENTRY_EMPTY
Value:
0xFC

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

GP_TRANSLATION_TABLE_STATUS_ENTRY_NOT_EMPTY#

#define GP_TRANSLATION_TABLE_STATUS_ENTRY_NOT_EMPTY
Value:
0xFB

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

GP_TRANSLATION_TABLE_STATUS_PARAM_DOES_NOT_MATCH#

#define GP_TRANSLATION_TABLE_STATUS_PARAM_DOES_NOT_MATCH
Value:
0xFA

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

GP_TRANSLATION_TABLE_STATUS_CUSTOMIZED_TABLE_FULL#

#define GP_TRANSLATION_TABLE_STATUS_CUSTOMIZED_TABLE_FULL
Value:
0xF9

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

GP_TRANSLATION_TABLE_ENTRY_INVALID_INDEX#

#define GP_TRANSLATION_TABLE_ENTRY_INVALID_INDEX
Value:
0xFF

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