
ZigBee networks
ZigBee router operation
XBee/XBee-PRO® S2C ZigBee® RF Module
62
Command Description
II
Set the initial 16-bit PAN ID to match the read
OI
value.
SC
Set the scan channels bitmask to enable the read operating channel (
CH
command).
For example, if the operating channel is 0x0B, set
SC
to 0x0001. If the operating
channel is 0x17, set
SC
to 0x1000.
ZS
Set the stack profile to match the read
ZS
value.
II
is the initial 16-bit PAN ID. Under certain conditions, the ZigBee stack can change the 16-bit PAN ID
of the network. For this reason, you cannot save the
II
command using the
WR
command. Once
II
is
set, the coordinator leaves the network and starts on the 16-bit PAN ID specified by
II
.
Example: start a coordinator
1. Set
CE
(Coordinator Enable) to 1 or load coordinator firmware on the device, and use the
WR
command to save the changes.
2. Set
SC
and
ID
to the desired scan channels and PAN ID values. The defaults are sufficient.
3. If you change
SC
or
ID
from the default, issue the
WR
command to save the changes.
4. If you change
SC
or
ID
from the default, apply changes (make
SC
and
ID
changes take effect)
either by sending the
AC
command or by exiting
AT
command mode.
5. If an Associate LED has been connected, it starts blinking once the coordinator has selected a
channel and PAN ID.
6. The API Modem Status frame (Coordinator Started) is sent out the serial port when using API
mode.
7. Reading the
AI
command (association status) returns a value of 0, indicating a successful
startup.
8. Reading the
MY
command (16-bit address) returns a value of 0, the ZigBee-defined 16-bit
address of the coordinator.
After startup, the coordinator allows joining based on its
NJ
value.
Example: replace a coordinator (security disabled)
1. Read the
OP
,
OI
,
CH
, and
ZS
commands on the running coordinator.
2. Set the
CE
,
ID
,
SC
, and
ZS
parameters on the new coordinator or load coordinator firmware on
the module, followed by
WR
command to save these parameter values.
3. Turn off the running coordinator.
4. Set the II parameter on the new coordinator to match the read
OI
value on the old coordinator.
5. Wait for the new coordinator to start (
AI
=
0
).
ZigBee router operation
Routers must discover and join a valid ZigBee network before they can participate in a ZigBee
network. After a router has joined a network, it can allow new devices to join the network. It can also
Содержание 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 ...