
ZigBee networks
ZigBee router operation
XBee/XBee-PRO® S2C ZigBee® RF Module
64
n
Binding Table
n
Group Table
The router retains this information indefinitely until it leaves the network. When the router leaves a
network, it loses the previous PAN ID, operating channel, and child table data.
ZigBee router joining
When the router powers on, if it is not already joined to a valid ZigBee network, it immediately
attempts to find and join a valid ZigBee network.
Set
to
1
to disable joining. You cannot write the
DJ
parameter with the
WR
command, so a power cycle always clears the
DJ
setting. The following commands control the router
joining process.
Command Description
ID
Sets the 64-bit PAN ID to join. Setting
ID
=
0
allows the router to join any 64-bit PAN ID.
SC
Set the scan channels bitmask that determines which channels a router scans to find a
valid network. Set
SC
on the router to match
SC
on the coordinator. For example,
setting
SC
to 0x281 enables scanning on channels 0x0B, 0x12, and 0x14, in that order.
SD
Set the scan duration, or time that the router listens for beacons on each channel.
ZS
Set the stack profile on the device.
EE
Enable or disable security in the network. This must be set to match the
EE
value
(security policy) of the coordinator.
KY
Set the trust center link key. If set to 0 (default), the link key is expected to be obtained
(unencrypted) during joining.
Configuration changes delay the start of joining for five seconds after the last change.
Once the router joins a network, the network configuration settings and child table data persist
through power cycles as mentioned in
. If joining fails, read the status of the last join
attempt in the
AI
command register.
If any of the above command values change, when command register changes are applied (
AC
or
CN
commands), the router leaves its current network and attempts to discover and join a new valid
network. When a ZB router has successfully joined a network, it:
n
Allows other devices to join the network for a time
n
Sets
AI
=
0
n
Starts blinking the Associate LED
n
Sends an API modem status frame (associated) out the serial port when using API mode
You can configure these behaviors using the following commands:
Command Description
NJ
Sets the permit-join time on the router, or the time that it allows new devices to join
the network, measured in seconds. Set
NJ
=
0xFF
to always enable permit joining.
Содержание XBee
Страница 1: ...XBee XBee PRO S2C ZigBee RF Module User Guide ...
Страница 259: ...AT commands Execution commands XBee XBee PRO S2C ZigBee RF Module 259 Parameter range N A Default N A ...
Страница 289: ...Regulatory information ANATEL Brazil XBee XBee PRO S2C ZigBee RF Module 289 ...
Страница 290: ...Regulatory information ANATEL Brazil XBee XBee PRO S2C ZigBee RF Module 290 ...
Страница 303: ...Load ZigBee firmware on 802 15 4 devices Background 304 Load ZB firmware 305 XBee XBee PRO S2C ZigBee RF Module 303 ...