Z-Stack API Reference  3.2.0
_zstack_afaddr_t Struct Reference

#include <zstack.h>

Data Fields

zstack_AFAddrMode addrMode
 
union {
   uint16_t   shortAddr
 
   zstack_LongAddr_t   extAddr
 
addr
 
uint8_t endpoint
 
uint16_t panID
 

Detailed Description

This is a structure used to define an application address. Depending on addrMode, only one shortAddr or extAddr should be used.

Field Documentation

§ addr

union { ... } addr

Address union of 16 bit short address and 64 bit IEEE address

§ addrMode

Address Mode

§ endpoint

uint8_t endpoint

Endpoint address element, optional if addressing to the endpoint, can be 0xFF to address all endpoints in a device.

§ extAddr

64 bit IEEE address

§ panID

uint16_t panID

PAN ID - for use with Inter-PAN

§ shortAddr

uint16_t shortAddr

16 bit network address


The documentation for this struct was generated from the following file: