ZPS_tsAfNwkJoinIndEvent
This structure is used in the event ZPS_EVENT_NWK_NEW_NODE_HAS_JOINED, which notifies a Router or the Coordinator that a new child node has joined the network.
The ZPS_tsAfNwkJoinIndEvent
structure contains information about the new node and is detailed below.
typedef struct
{
uint64 u64ExtAddr;
uint16 u16NwkAddr;
uint8 u8Capability;
uint8 u8Rejoin;
uint8 u8SecureRejoin;
} ZPS_tsAfNwkJoinIndEvent;
where:
u64ExtAddr
is the 64-bit IEEE (MAC) address of the joining node.u16NwkAddr
is the 16-bit network address assigned to the joining node.u8Capability
is a bitmap indicating the operational capabilities of the joining node. This bitmap is detailed in Table below.u8Rejoin
indicates the method used to join the network:0x00
if joined through association.0x01
if joined directly or used orphaning.0x02
if was network rejoin.
u8SecureRejoin
indicates whether the join was performed in a secure manner.zero represents FALSE.
a non-zero value represents TRUE.
Node capabilities bitmap
Bits |
Description |
---|---|
0 |
Coordinator capability: |
1 |
Device type: |
2 |
Power source: |
3 |
Receiver on when idle: |
4-5 |
Reserved |
6 |
Security capability: |
7 |
Allocate address: |
Parent topic:Event structures