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_tsAfNwkJoinIndEventstructure 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:

  • u64ExtAddris the 64-bit IEEE (MAC) address of the joining node.

  • u16NwkAddris the 16-bit network address assigned to the joining node.

  • u8Capabilityis a bitmap indicating the operational capabilities of the joining node. This bitmap is detailed in Table below.

  • u8Rejoinindicates the method used to join the network:

    • 0x00 if joined through association.

    • 0x01 if joined directly or used orphaning.

    • 0x02 if was network rejoin.

  • u8SecureRejoinindicates 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: Node able to act as Coordinator
- 0: Node not able to act as Coordinator

1

Device type:
- 1: Full-Function Device (FFD)
- 0: Reduced-Function Device (RFD)
An FFD can act as any node type while an RFD cannot act as the network Coordinator.

2

Power source:
- 1:Node is mains-powered
- 0: Node is not mains-powered

3

Receiver on when idle:
- 1: Receiver enabled during idle periods
- 0: Receiver disabled during idle periods to conserve power

4-5

Reserved

6

Security capability:
- 1: High security
- 0: Standard security

7

Allocate address:
- 1: Network address should be allocated to node
- 0: Network address need not be allocated to node

Parent topic:Event structures