Digi International Inc XBEEPRO2 Manuel D’Utilisation

Page de 155
XBee®/XBee‐PRO® ZB RF Modules 
© 2011 Digi International, Inc.
     80
Commissioning Pushbutton
The commissioning pushbutton definitions provide a variety of simple functions to aid in deploying devices in a 
network. The commissioning button functionality on pin 20 is enabled by setting the D0 command to 1 (enabled 
by default).
Button presses may be simulated in software using the ATCB command. ATCB should be issued with a 
parameter set to the number of button presses to execute. (e.g. sending ATCB1 will execute the action(s) 
associated with a single button press.)
Button 
Presses
If module is joined to a network
If module is not joined to a net-
work
1
• Wakes an end device for 
30 seconds
• Sends a node identifica-
tion broadcast transmis-
sion
• Wakes an end device for 
30 seconds
• Blinks a numeric error 
code on the Associate pin 
indicating the cause of 
join failure (see section 
6.4.2).
2
• Sends a broadcast trans-
mission to enable joining 
on the coordinator and all 
devices in the network for 
1 minute. (If joining is 
permanently enabled on a 
device (NJ = 0xFF), this 
action has no effect on 
that device.)
• N/A
4
• Causes the device to leave 
the PAN.
• Issues ATRE to restore 
module parameters to 
default values, including 
ID and SC.
• The device attempts to 
join a network based on 
its ID and SC settings.
• Issues ATRE to restore 
module parameters to 
default values, including 
ID and SC.
• The device attempts to 
join a network based on 
its ID and SC settings.
XBee
20
15
Push button
R
Associate 
LED
A pushbutton and an LED can be connected to module pins 20 and 15 respectively to 
support the commissioning pushbutton and associate LED functionalities.