![]() |
![]() |
|
Z-Stack API Reference
8.31.00.00
|
#include <zstack.h>
Data Fields | |
| zstack_AFAddrMode | addrMode |
| union { | |
| uint16_t shortAddr | |
| zstack_LongAddr_t extAddr | |
| } | addr |
| uint8_t | endpoint |
| uint16_t | panID |
This is a structure used to define an application address. Depending on addrMode, only one shortAddr or extAddr should be used.
| union { ... } addr |
Address union of 16 bit short address and 64 bit IEEE address
| zstack_AFAddrMode addrMode |
Address Mode
| uint8_t endpoint |
Endpoint address element, optional if addressing to the endpoint, can be 0xFF to address all endpoints in a device.
| zstack_LongAddr_t extAddr |
64 bit IEEE address
| uint16_t panID |
PAN ID - for use with Inter-PAN
| uint16_t shortAddr |
16 bit network address