Digi International Inc XBEEPRO2 Manual Do Utilizador

Página de 155
XBee®/XBee‐PRO® ZB RF Modules 
© 2011 Digi International, Inc.
     132
Security 
RF Interfacing 
1. Node types that support the command: C = Coordinator, R = Router, E = End Device
Security Commands
AT
Command
Name and Description
Node 
Type
1
Parameter Range
Default
EE
Encryption Enable. Set/Read the encryption enable setting.
CRE
0 - Encryption disabled
1 - Encryption enabled
0
EO
Encryption Options. Configure options for encryption. Unused option bits should be set 
to 0. Options include:
0x01 - Send the security key unsecured over-the-air during joins
0x02 - Use trust center (coordinator only
CRE
0 - 0xFF
NK
Network Encryption Key. Set the 128-bit AES network encryption key. This command 
is write-only; NK cannot be read. If set to 0 (default), the module will select a random 
network key. 
C
128-bit  value
0
KY
Link Key. Set the 128-bit AES link key. This command is write only; KY cannot be read. 
Setting KY to 0 will cause the coordinator to transmit the network key in the clear to 
joining devices, and will cause joining devices to acquire the network key in the clear 
when joining.
CRE
128-bit value
0
RF Interfacing Commands
AT
Command
Name and Description
Node 
Type
1
Parameter Range
Default
PL
Power Level. Select/Read the power level at which the RF module transmits conducted 
power. For XBee-PRO (S2B) Power Level 4 is calibrated and the other power levels are 
approximate. 
CRE
XBee
(boost mode disabled)
0 = -8 dBm
1 = -4 dBm
2 = -2 dBm
3 = 0 dBm
4 = +2 dBm
XBee-PRO (S2)
4 = 17 dBm
XBee-PRO (S2) 
(International Variant)
4 = 10dBm
XBee-PRO (S2B)
(Boost mode enabled)
4 = 18dBM
3 = 16dBm
2 = 14dBm
1 = 12dBm
0 = 10dBm
XBee-PRO (S2B)
(International Variant)
(Boost mode enabled)
4 = 10dBm
3 = 8dBm
2 = 6dBm
1 = 4dBm
0 = 2dBm
4
PM
Power Mode. Set/read the power mode of the device. Enabling boost mode will improve 
the receive sensitivity by 1dB and increase the transmit power by 2dB
Note: Enabling boost mode on the XBee-PRO (S2) will not affect the output power. Boost 
mode imposes a slight increase in current draw. See section 1.2 for details.
CRE
0-1, 
0= -Boost mode disabled, 
1= Boost mode enabled. 1
DB
Received Signal Strength. This command reports the received signal strength of the 
last received RF data packet. The DB command only indicates the signal strength of the 
last hop. It does not provide an accurate quality measurement for a multihop link. DB can 
be set to 0 to clear it. The DB command value is measured in -dBm. For example if DB 
returns 0x50, then the RSSI of the last packet received was 
-80dBm. As of 2x6x firmware, the DB command value is also updated when an APS 
acknowledgment is received.
CRE
0 - 0xFF
Observed range for
XBee-PRO:
0x1A - 0x58
For XBee:
0x 1A - 0x5C
PP
Peak Power. Read the dBm output when maximum power is selected (PL4).
CRE
0x0-0x12
[read only]