Modules#
EmberGpTranslationTableAdditionalInfoBlockOptionRecordField
Green Power Data Types#
This file defines data types relevant to the Green Power implementation.
See gp-types.h for source code.
GP Types#
Options to use when sending a message.
Options to use when sending a message.
Options to use when sending a message.
GP proxy table entry status.
GP sink table entry status.
Options to use when sending a message.
GP sink table entry status.
Addressing modes for sending and receiving a message.
Options to use when sending a message.
Options to use when sending a message.
Options to use when sending a message.
Options to use when sending a message.
Options to use when sending a message.
Options to use when sending a message.
Options to use when sending a message.
Options to use when sending a message.
Options to use when sending a message.
Options to use when sending a message.
Functions#
Macros#
GP Types Documentation#
EmberGpSecurityLevel#
EmberGpSecurityLevel
Options to use when sending a message.
Enumerator | |
---|---|
EMBER_GP_SECURITY_LEVEL_NONE | None |
EMBER_GP_SECURITY_LEVEL_RESERVED | reserved |
EMBER_GP_SECURITY_LEVEL_FC_MIC | 4 Byte Frame Counter + 4 Byte MIC |
EMBER_GP_SECURITY_LEVEL_FC_MIC_ENCRYPTED | 4 Byte Frame Counter + 4 Byte MIC + encryption |
53
of file stack/include/gp-types.h
EmberGpKeyType#
EmberGpKeyType
Options to use when sending a message.
Enumerator | |
---|---|
EMBER_GP_SECURITY_KEY_NONE | None |
EMBER_GP_SECURITY_KEY_NWK | reserved |
EMBER_GP_SECURITY_KEY_GPD_GROUP | |
EMBER_GP_SECURITY_KEY_NWK_DERIVED | |
EMBER_GP_SECURITY_KEY_GPD_OOB | |
EMBER_GP_SECURITY_KEY_GPD_DERIVED |
71
of file stack/include/gp-types.h
EmberGpApplicationId#
EmberGpApplicationId
Options to use when sending a message.
Enumerator | |
---|---|
EMBER_GP_APPLICATION_SOURCE_ID | Source identifier. |
EMBER_GP_APPLICATION_IEEE_ADDRESS | IEEE address. |
89
of file stack/include/gp-types.h
EmberGpProxyTableEntryStatus#
EmberGpProxyTableEntryStatus
GP proxy table entry status.
Enumerator | |
---|---|
EMBER_GP_PROXY_TABLE_ENTRY_STATUS_ACTIVE | The GP table entry is in use for a Proxy Table Entry. |
EMBER_GP_PROXY_TABLE_ENTRY_STATUS_UNUSED | The proxy table entry is not in use. |
106
of file stack/include/gp-types.h
EmberGpSinkTableEntryStatus#
EmberGpSinkTableEntryStatus
GP sink table entry status.
Enumerator | |
---|---|
EMBER_GP_SINK_TABLE_ENTRY_STATUS_ACTIVE | The GP table entry is in use for a Sink Table Entry. |
EMBER_GP_SINK_TABLE_ENTRY_STATUS_UNUSED | The proxy table entry is not in use. |
126
of file stack/include/gp-types.h
EmberGpSinkType#
EmberGpSinkType
Options to use when sending a message.
Enumerator | |
---|---|
EMBER_GP_SINK_TYPE_FULL_UNICAST | |
EMBER_GP_SINK_TYPE_D_GROUPCAST | |
EMBER_GP_SINK_TYPE_GROUPCAST | |
EMBER_GP_SINK_TYPE_LW_UNICAST | |
EMBER_GP_SINK_TYPE_UNUSED |
155
of file stack/include/gp-types.h
EmberCGpTxOption#
EmberCGpTxOption
GP sink table entry status.
GP sink table entry status. TODO R E M O V EOptions to use when sending a message.
Enumerator | |
---|---|
EMBER_CGP_TX_OPTION_NONE | No options. |
EMBER_CGP_TX_OPTION_USE_CSMA_CA | Use CSMA/CA. |
EMBER_CGP_TX_OPTION_USE_MAC_ACK | Use MAC ACK. |
EMBER_CGP_TX_OPTION_RESERVED | Reserved. |
300
of file stack/include/gp-types.h
EmberCGpAddressMode#
EmberCGpAddressMode
Addressing modes for sending and receiving a message.
Enumerator | |
---|---|
EMBER_CGP_ADDRESS_MODE_NONE | No address (PAN identifier and address omitted). |
EMBER_CGP_ADDRESS_MODE_RESERVED | Reserved. |
EMBER_CGP_ADDRESS_MODE_SHORT | 16-bit short address. |
EMBER_CGP_ADDRESS_MODE_EXTENDED | 64-bit extended address. |
318
of file stack/include/gp-types.h
EmberDGpTxOption#
EmberDGpTxOption
Options to use when sending a message.
Enumerator | |
---|---|
EMBER_DGP_TX_OPTION_NONE | No options. |
EMBER_DGP_TX_OPTION_USE_GP_TX_QUEUE | Use gpTxQueue. |
EMBER_DGP_TX_OPTION_USE_CSMA_CA | Use CSMA/CA. |
EMBER_DGP_TX_OPTION_USE_MAC_ACK | Use MAC ACK. |
EMBER_DGP_TX_OPTION_FRAME_TYPE_DATA | Data frame. |
EMBER_DGP_TX_OPTION_FRAME_TYPE_MAINTENANCE | Maintenance frame. |
EMBER_DGP_TX_OPTION_RESERVED | Reserved. |
357
of file stack/include/gp-types.h
EmberGpSourceId#
typedef uint32_t EmberGpSourceId
32-bit source identifier.
41
of file stack/include/gp-types.h
EmberGpSecurityFrameCounter#
typedef uint32_t EmberGpSecurityFrameCounter
32-bit security frame counter
43
of file stack/include/gp-types.h
EmberGpMic#
typedef uint32_t EmberGpMic
Options to use when sending a message.
44
of file stack/include/gp-types.h
EMBER_GP_APPLICATION_ID_MASK#
#define EMBER_GP_APPLICATION_ID_MASKValue:
0x03
Options to use when sending a message.
96
of file stack/include/gp-types.h
GP_SINK_LIST_ENTRIES#
#define GP_SINK_LIST_ENTRIESValue:
2
Options to use when sending a message.
191
of file stack/include/gp-types.h
GP_PARAMS#
#define GP_PARAMSValue:
Options to use when sending a message.
391
of file stack/include/gp-types.h
GP_ARGS#
#define GP_ARGSValue:
Options to use when sending a message.
407
of file stack/include/gp-types.h
GP_UNUSED_ARGS#
#define GP_UNUSED_ARGSValue:
Options to use when sending a message.
423
of file stack/include/gp-types.h
GP_PROXY_TABLE_OPTIONS_IN_RANGE#
#define GP_PROXY_TABLE_OPTIONS_IN_RANGEValue:
(BIT(10))
Options to use when sending a message.
439
of file stack/include/gp-types.h
GP_COMMISSIONING_MAX_BYTES#
#define GP_COMMISSIONING_MAX_BYTESValue:
(55 - 3)
Options to use when sending a message.
442
of file stack/include/gp-types.h
TT_NB_MAX_OPTION_RECORD#
#define TT_NB_MAX_OPTION_RECORDValue:
(8)
Options to use when sending a message.
508
of file stack/include/gp-types.h
Function Documentation#
emberDGpSend#
EmberStatus emberDGpSend (bool action, bool useCca, EmberGpAddress * addr, uint8_t gpdCommandId, uint8_t gpdAsduLength, uint8_t const * gpdAsdu, uint8_t gpepHandle, uint16_t gpTxQueueEntryLifetimeMs)
N/A | action | |
N/A | useCca | |
N/A | addr | |
N/A | gpdCommandId | |
N/A | gpdAsduLength | |
N/A | gpdAsdu | |
N/A | gpepHandle | |
N/A | gpTxQueueEntryLifetimeMs |
560
of file stack/include/gp-types.h
emberGpProxyTableProcessGpPairing#
bool emberGpProxyTableProcessGpPairing (uint32_t options, EmberGpAddress * addr, uint8_t commMode, uint16_t sinkNwkAddress, uint16_t sinkGroupId, uint16_t assignedAlias, uint8_t * sinkIeeeAddress, EmberKeyData * gpdKey, uint32_t gpdSecurityFrameCounter, uint8_t forwardingRadius)
N/A | options | |
N/A | addr | |
N/A | commMode | |
N/A | sinkNwkAddress | |
N/A | sinkGroupId | |
N/A | assignedAlias | |
N/A | sinkIeeeAddress | |
N/A | gpdKey | |
N/A | gpdSecurityFrameCounter | |
N/A | forwardingRadius |
569
of file stack/include/gp-types.h
emberGpProxyTableLookup#
uint8_t emberGpProxyTableLookup (EmberGpAddress * addr)
N/A | addr |
580
of file stack/include/gp-types.h
emberGpProxyTableGetEntry#
EmberStatus emberGpProxyTableGetEntry (uint8_t proxyIndex, EmberGpProxyTableEntry * entry)
N/A | proxyIndex | |
N/A | entry |
581
of file stack/include/gp-types.h
emberGpSinkTableGetEntry#
EmberStatus emberGpSinkTableGetEntry (uint8_t sinkIndex, EmberGpSinkTableEntry * entry)
N/A | sinkIndex | |
N/A | entry |
584
of file stack/include/gp-types.h
emberGpSinkTableLookup#
uint8_t emberGpSinkTableLookup (EmberGpAddress * addr)
N/A | addr |
586
of file stack/include/gp-types.h
emberGpSinkTableClearAll#
void emberGpSinkTableClearAll (void )
N/A |
587
of file stack/include/gp-types.h
emberGpSinkTableSetEntry#
EmberStatus emberGpSinkTableSetEntry (uint8_t sinkTableIndex, EmberGpSinkTableEntry * entry)
N/A | sinkTableIndex | |
N/A | entry |
589
of file stack/include/gp-types.h
emberGpSinkTableFindOrAllocateEntry#
uint8_t emberGpSinkTableFindOrAllocateEntry (EmberGpAddress * addr)
N/A | addr |
591
of file stack/include/gp-types.h
emberGpSinkTableRemoveEntry#
void emberGpSinkTableRemoveEntry (uint8_t index)
N/A | index |
592
of file stack/include/gp-types.h
emberGpSinkTableInit#
void emberGpSinkTableInit (void )
N/A |
593
of file stack/include/gp-types.h
emberGpSinkTableSetSecurityFrameCounter#
void emberGpSinkTableSetSecurityFrameCounter (uint8_t index, uint32_t sfc)
N/A | index | |
N/A | sfc |
594
of file stack/include/gp-types.h
emberGpGetTxQueueHead#
MessageBufferQueue* emberGpGetTxQueueHead (void )
N/A |
597
of file stack/include/gp-types.h
emberGpSetMaxTxQueueEntry#
void emberGpSetMaxTxQueueEntry (uint16_t maxEntries)
N/A | maxEntries |
598
of file stack/include/gp-types.h
emberGetGpMaxTxQListCount#
uint16_t emberGetGpMaxTxQListCount (void )
N/A |
599
of file stack/include/gp-types.h
emberGetGpTxQListCount#
uint16_t emberGetGpTxQListCount (void )
N/A |
600
of file stack/include/gp-types.h
emberGpGetTxQueueEntryFromQueue#
EmberMessageBuffer emberGpGetTxQueueEntryFromQueue (EmberGpTxQueueEntry * txQueue, uint8_t * data, uint16_t * dataLength, uint16_t allocatedDataLength)
N/A | txQueue | |
N/A | data | |
N/A | dataLength | |
N/A | allocatedDataLength |
601
of file stack/include/gp-types.h
emberGpAddGpTxQueueEntryWithPayload#
EmberMessageBuffer emberGpAddGpTxQueueEntryWithPayload (EmberGpTxQueueEntry * txQueue, uint8_t * data, uint16_t dataLength)
N/A | txQueue | |
N/A | data | |
N/A | dataLength |
605
of file stack/include/gp-types.h
emberGpRemoveFromTxQueue#
bool emberGpRemoveFromTxQueue (EmberGpTxQueueEntry * txQueue)
N/A | txQueue |
608
of file stack/include/gp-types.h
emberGpClearTxQueue#
void emberGpClearTxQueue (void )
N/A |
609
of file stack/include/gp-types.h
Macro Definition Documentation#
EMBER_GP_BIDIRECTION_INFO_RX_AFTER_TX_MASK#
#define EMBER_GP_BIDIRECTION_INFO_RX_AFTER_TX_MASKValue:
0x01
33
of file stack/include/gp-types.h
EMBER_GP_BIDIRECTION_INFO_TX_QUEUE_AVAILABLE_MASK#
#define EMBER_GP_BIDIRECTION_INFO_TX_QUEUE_AVAILABLE_MASKValue:
0x02
35
of file stack/include/gp-types.h
GP_GPD_SRC_ID_FOR_CAHNNEL_CONFIG#
#define GP_GPD_SRC_ID_FOR_CAHNNEL_CONFIGValue:
0x00000000
542
of file stack/include/gp-types.h
GP_GPD_SRC_ID_WILDCARD#
#define GP_GPD_SRC_ID_WILDCARDValue:
0xFFFFFFFF
543
of file stack/include/gp-types.h
GP_GPD_SRC_ID_RESERVED_0#
#define GP_GPD_SRC_ID_RESERVED_0Value:
0x00000000
546
of file stack/include/gp-types.h
GP_GPD_SRC_ID_RESERVED_FFFFFF9#
#define GP_GPD_SRC_ID_RESERVED_FFFFFF9Value:
0xFFFFFFF9
547
of file stack/include/gp-types.h
GP_GPD_SRC_ID_RESERVED_FFFFFFA#
#define GP_GPD_SRC_ID_RESERVED_FFFFFFAValue:
0xFFFFFFFA
548
of file stack/include/gp-types.h
GP_GPD_SRC_ID_RESERVED_FFFFFFB#
#define GP_GPD_SRC_ID_RESERVED_FFFFFFBValue:
0xFFFFFFFB
549
of file stack/include/gp-types.h
GP_GPD_SRC_ID_RESERVED_FFFFFFC#
#define GP_GPD_SRC_ID_RESERVED_FFFFFFCValue:
0xFFFFFFFC
550
of file stack/include/gp-types.h
GP_GPD_SRC_ID_RESERVED_FFFFFFD#
#define GP_GPD_SRC_ID_RESERVED_FFFFFFDValue:
0xFFFFFFFD
551
of file stack/include/gp-types.h
GP_GPD_SRC_ID_RESERVED_FFFFFFE#
#define GP_GPD_SRC_ID_RESERVED_FFFFFFEValue:
0xFFFFFFFE
552
of file stack/include/gp-types.h
GP_DERIVED_GROUP_ALIAS_NOT_USED#
#define GP_DERIVED_GROUP_ALIAS_NOT_USEDValue:
0xffff
554
of file stack/include/gp-types.h