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
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)
Type | Direction | Argument Name | Description |
---|---|---|---|
bool | N/A | action | |
bool | N/A | useCca | |
EmberGpAddress * | N/A | addr | |
uint8_t | N/A | gpdCommandId | |
uint8_t | N/A | gpdAsduLength | |
uint8_t const * | N/A | gpdAsdu | |
uint8_t | N/A | gpepHandle | |
uint16_t | N/A | gpTxQueueEntryLifetimeMs |
557
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)
Type | Direction | Argument Name | Description |
---|---|---|---|
uint32_t | N/A | options | |
EmberGpAddress * | N/A | addr | |
uint8_t | N/A | commMode | |
uint16_t | N/A | sinkNwkAddress | |
uint16_t | N/A | sinkGroupId | |
uint16_t | N/A | assignedAlias | |
uint8_t * | N/A | sinkIeeeAddress | |
EmberKeyData * | N/A | gpdKey | |
uint32_t | N/A | gpdSecurityFrameCounter | |
uint8_t | N/A | forwardingRadius |
566
of file stack/include/gp-types.h
emberGpProxyTableLookup#
uint8_t emberGpProxyTableLookup (EmberGpAddress * addr)
Type | Direction | Argument Name | Description |
---|---|---|---|
EmberGpAddress * | N/A | addr |
577
of file stack/include/gp-types.h
emberGpProxyTableGetEntry#
EmberStatus emberGpProxyTableGetEntry (uint8_t proxyIndex, EmberGpProxyTableEntry * entry)
Type | Direction | Argument Name | Description |
---|---|---|---|
uint8_t | N/A | proxyIndex | |
EmberGpProxyTableEntry * | N/A | entry |
578
of file stack/include/gp-types.h
emberGpSinkTableGetEntry#
EmberStatus emberGpSinkTableGetEntry (uint8_t sinkIndex, EmberGpSinkTableEntry * entry)
Type | Direction | Argument Name | Description |
---|---|---|---|
uint8_t | N/A | sinkIndex | |
EmberGpSinkTableEntry * | N/A | entry |
581
of file stack/include/gp-types.h
emberGpSinkTableLookup#
uint8_t emberGpSinkTableLookup (EmberGpAddress * addr)
Type | Direction | Argument Name | Description |
---|---|---|---|
EmberGpAddress * | N/A | addr |
583
of file stack/include/gp-types.h
emberGpSinkTableClearAll#
void emberGpSinkTableClearAll (void )
Type | Direction | Argument Name | Description |
---|---|---|---|
void | N/A |
584
of file stack/include/gp-types.h
emberGpSinkTableSetEntry#
EmberStatus emberGpSinkTableSetEntry (uint8_t sinkTableIndex, EmberGpSinkTableEntry * entry)
Type | Direction | Argument Name | Description |
---|---|---|---|
uint8_t | N/A | sinkTableIndex | |
EmberGpSinkTableEntry * | N/A | entry |
586
of file stack/include/gp-types.h
emberGpSinkTableFindOrAllocateEntry#
uint8_t emberGpSinkTableFindOrAllocateEntry (EmberGpAddress * addr)
Type | Direction | Argument Name | Description |
---|---|---|---|
EmberGpAddress * | N/A | addr |
588
of file stack/include/gp-types.h
emberGpSinkTableRemoveEntry#
void emberGpSinkTableRemoveEntry (uint8_t index)
Type | Direction | Argument Name | Description |
---|---|---|---|
uint8_t | N/A | index |
589
of file stack/include/gp-types.h
emberGpSinkTableInit#
void emberGpSinkTableInit (void )
Type | Direction | Argument Name | Description |
---|---|---|---|
void | N/A |
590
of file stack/include/gp-types.h
emberGpSinkTableSetSecurityFrameCounter#
void emberGpSinkTableSetSecurityFrameCounter (uint8_t index, uint32_t sfc)
Type | Direction | Argument Name | Description |
---|---|---|---|
uint8_t | N/A | index | |
uint32_t | N/A | sfc |
591
of file stack/include/gp-types.h
emberGpGetTxQueueHead#
MessageBufferQueue* emberGpGetTxQueueHead (void )
Type | Direction | Argument Name | Description |
---|---|---|---|
void | N/A |
594
of file stack/include/gp-types.h
emberGpSetMaxTxQueueEntry#
void emberGpSetMaxTxQueueEntry (uint16_t maxEntries)
Type | Direction | Argument Name | Description |
---|---|---|---|
uint16_t | N/A | maxEntries |
595
of file stack/include/gp-types.h
emberGetGpMaxTxQListCount#
uint16_t emberGetGpMaxTxQListCount (void )
Type | Direction | Argument Name | Description |
---|---|---|---|
void | N/A |
596
of file stack/include/gp-types.h
emberGetGpTxQListCount#
uint16_t emberGetGpTxQListCount (void )
Type | Direction | Argument Name | Description |
---|---|---|---|
void | N/A |
597
of file stack/include/gp-types.h
emberGpGetTxQueueEntryFromQueue#
EmberMessageBuffer emberGpGetTxQueueEntryFromQueue (EmberGpTxQueueEntry * txQueue, uint8_t * data, uint16_t * dataLength, uint16_t allocatedDataLength)
Type | Direction | Argument Name | Description |
---|---|---|---|
EmberGpTxQueueEntry * | N/A | txQueue | |
uint8_t * | N/A | data | |
uint16_t * | N/A | dataLength | |
uint16_t | N/A | allocatedDataLength |
598
of file stack/include/gp-types.h
emberGpAddGpTxQueueEntryWithPayload#
EmberMessageBuffer emberGpAddGpTxQueueEntryWithPayload (EmberGpTxQueueEntry * txQueue, uint8_t * data, uint16_t dataLength)
Type | Direction | Argument Name | Description |
---|---|---|---|
EmberGpTxQueueEntry * | N/A | txQueue | |
uint8_t * | N/A | data | |
uint16_t | N/A | dataLength |
602
of file stack/include/gp-types.h
emberGpRemoveFromTxQueue#
bool emberGpRemoveFromTxQueue (EmberGpTxQueueEntry * txQueue)
Type | Direction | Argument Name | Description |
---|---|---|---|
EmberGpTxQueueEntry * | N/A | txQueue |
605
of file stack/include/gp-types.h
emberGpClearTxQueue#
void emberGpClearTxQueue (void )
Type | Direction | Argument Name | Description |
---|---|---|---|
void | N/A |
606
of file stack/include/gp-types.h