Leave A Network; Example: Join A Network; Zigbee Channel Scanning - Digi XBee S2C Zigbee User Manual

Rf module
Hide thumbs Also See for XBee S2C Zigbee:
Table of Contents

Advertisement

Zigbee networks
security policy is invalid, the end device will leave the network and attempt to join a new network
based on its network joining command values.
To prevent the end device from leaving an existing network, the WR command should be issued after
all network joining commands have been configured in order to retain these settings through power
cycle or reset events.

Leave a network

The following mechanisms cause the coordinator to leave its current PAN and start a new network
based on its network formation parameter values.
Change the ID command such that the current 64-bit PAN ID is invalid.
n
Change the SC command such that the current channel (CH) is not included in the channel
n
mask.
Change the ZS or any of the security command values (excluding NK).
n
Send the NR0 command to cause the coordinator to leave.
n
Send the NR1 command to send a broadcast transmission, causing all devices in the network
n
to leave and migrate to a different channel.
Press the commissioning button four times or issue the CB command with a parameter of 4.
n
The parent of the end device parent powers down or the end device moves out of range of the
n
parent such that the end device fails to receive poll acknowledgment messages.
Note
Changes to command values only take effect when changes are applied (AC or CN commands).

Example: join a network

After starting a coordinator that is allowing joins, the following steps cause a router to join the
network:
1. Set ID to the desired 64-bit PAN ID, or to 0 to join any PAN.
2. Set SC to the list of channels to scan to find a valid network.
3. If you SC or ID from the default, apply changes (that is, make SC and ID changes take effect) by
issuing the AC or CN command.
4. The Associate LED starts blinking once the router has joined a PAN.
5. If the Associate LED is not blinking, read the AI command to determine the cause of join failure.
6. Once the router joins, the OP and CH commands indicate the operating 64-bit PAN ID and
channel the end device joined.
7. The MY command reflects the 16-bit address the router received when it joined.
8. The API Modem Status frame ("Associated") is sent out the serial port when using API mode.
9. The joined end device attempts to enter low power sleep modes based on its sleep
configuration commands (SM, SP, SN, ST, SO).

Zigbee channel scanning

Routers and end devices must scan one or more channels to discover a valid network to join. When a
join attempt begins, the device sends a beacon request transmission on the lowest channel specified
in the
SC (Scan Channels)
XBee/XBee-PRO® S2C Zigbee® RF Module User Guide
bitmask. If the device finds a valid PAN on the channel, it attempts to join
Zigbee channel scanning
90

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the XBee S2C Zigbee and is the answer not in the manual?

This manual is also suitable for:

Xbee-pro s2c zigbee

Table of Contents