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

Enumerations#

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

Typedefs#

typedef uint8_t

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

Macro Definition Documentation#

EMBER_AF_PLUGIN_GREEN_POWER_SERVER_ADDITIONALINFO_TABLE_SIZE#

#define EMBER_AF_PLUGIN_GREEN_POWER_SERVER_ADDITIONALINFO_TABLE_SIZE
Value:
EMBER_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

EMBER_AF_GREEN_POWER_SERVER_TRANSLATION_TABLE_ENTRY_ZCL_PAYLOAD_LEN#

#define EMBER_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

EMBER_AF_GREEN_POWER_ZCL_PAYLOAD_SRC_PRECONFIGURED#

#define EMBER_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

EMBER_AF_GREEN_POWER_ZCL_PAYLOAD_SRC_NA#

#define EMBER_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

EMBER_AF_GREEN_POWER_ZCL_PAYLOAD_SRC_GPD_CMD#

#define EMBER_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