User Manual
Table Of Contents
- 1. Overview
- 2. RF Module Operation
- 3. XBee ZigBee Networks
- Introduction to ZigBee
- ZigBee Stack Layers
- Networking Concepts
- ZigBee Application Layers: In Depth
- Coordinator Operation
- Router Operation
- End Device Operation
- Channel Scanning
- 4. Transmission, Addressing, and Routing
- 5. Security
- 6. Network Commissioning and Diagnostics
- 7. Managing End Devices
- 8. XBee Analog and Digital IO Lines
- 9. API Operation
- API Frame Specifications
- API UART Exchanges
- Supporting the API
- API Frames
- AT Command
- AT Command - Queue Parameter Value
- ZigBee Transmit Request
- Explicit Addressing ZigBee Command Frame
- Remote AT Command Request
- Create Source Route
- AT Command Response
- Modem Status
- ZigBee Transmit Status
- ZigBee Receive Packet
- ZigBee Explicit Rx Indicator
- ZigBee IO Data Sample Rx Indicator
- XBee Sensor Read Indicator
- Node Identification Indicator
- Remote Command Response
- Over-the-Air Firmware Update Status
- Route Record Indicator
- Many-to-One Route Request Indicator
- Sending ZigBee Device Objects (ZDO) Commands with the API
- Sending ZigBee Cluster Library (ZCL) Commands with the API
- Sending Public Profile Commands with the API
- 10. XBee Command Reference Tables
- 11. Module Support
- Appendix A: Definitions
- Appendix B: Agency Certifications
- Appendix C: Migrating from ZNet 2.5 to XBee ZB
- Appendix D: Additional Information
XBee®/XBee‐PRO®ZBRFModules
©2011DigiInternational,Inc. 131
Security
RF Interfacing
1.Nodetypesthatsupportthecommand:C=Coordinator,R=Router,E=EndDevice
SecurityCommands
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.
C128-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
RFInterfacingCommands
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. For XBee (S2), the default power level (PL=4) is guaranteed from -40 to
85° C. Other power levels are only guaranteed from 0 to 85° C.
CRE
XBee (S2)
(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]










