Product Manual

XBee/XBeePRO™OEMRFModules‐802.15.4‐v1.xAx[2007.05.031]
©2007MaxStream,Inc. 29
Chapter3‐RFModuleConfiguration
*Firmwareversioninwhichthecommandwasfirstintroduced(firmwareversionsarenumberedinhexadecimalnotation.)
RF Interfacing
*Firmwareversioninwhichthecommandwasfirstintroduced(firmwareversionsarenumberedinhexadecimalnotation.)
AS ( v1.x80*)
Networking
{Association}
Active Scan. Send Beacon Request to Broadcast Address (0xFFFF) and Broadcast
PAN (0xFFFF) on every channel. The parameter determines the time the radio will
listen for Beacons on each channel. A PanDescriptor is created and returned for every
Beacon received from the scan. Each PanDescriptor contains the following information:
CoordAddress (SH, SL)<CR>
CoordPanID (ID)<CR>
CoordAddrMode <CR>
0x02 = 16-bit Short Address
0x03 = 64-bit Long Address
Channel (CH parameter) <CR>
SecurityUse<CR>
ACLEntry<CR>
SecurityFailure<CR>
SuperFrameSpec<CR> (2 bytes):
bit 15 - Association Permitted (MSB)
bit 14 - PAN Coordinator
bit 13 - Reserved
bit 12 - Battery Life Extension
bits 8-11 - Final CAP Slot
bits 4-7 - Superframe Order
bits 0-3 - Beacon Order
GtsPermit<CR>
RSSI<CR> (RSSI is returned as -dBm)
TimeStamp<CR> (3 bytes)
<CR>
A carriage return <CR> is sent at the end of the AS command. The Active Scan is
capable of returning up to 5 PanDescriptors in a scan. The actual scan time on each
channel is measured as Time = [(2 ^SD PARAM) * 15.36] ms. Note the total scan time is
this time multiplied by the number of channels to be scanned (16 for the XBee and 13
for the XBee-PRO). Also refer to SD command description.
0 - 6 -
ED ( v1.x80*)
Networking
{Association}
Energy Scan. Send an Energy Detect Scan. This parameter determines the length of
scan on each channel. The maximal energy on each channel is returned & each value
is followed by a carriage return. An additional carriage return is sent at the end of the
command. The values returned represent the detected energy level in units of -dBm.
The actual scan time on each channel is measured as Time = [(2 ^ED) * 15.36] ms.
Note the total scan time is this time multiplied by the number of channels to be scanned
(refer to SD parameter).
0 - 6 -
EE ( v1.xA0*)
Networking
{Security}
AES Encryption Enable. Disable/Enable 128-bit AES encryption support. Use in
conjunction with the KY command.
0 - 1 0 (disabled)
KY ( v1.xA0*)
Networking
{Security}
AES Encryption Key. Set the 128-bit AES (Advanced Encryption Standard) key for
encrypting/decrypting data. The KY register cannot be read.
0 - (any 16-Byte value) -
Table303. XBee/XBeePROCommands‐RFInterfacing
AT
Command
Command
Category
Name and Description Parameter Range Default
PL RF Interfacing
Power Level. Select/Read the power level at which the RF module transmits conducted
power.
NOTE: XBee-PRO RF Modules optimized for use in Japan contain firmware that limits
transmit power output to 10 dBm. If PL=4 (default), the maximum power output level is
fixed at 10 dBm.
0 - 4 (XBee / XBee-PRO)
0 = -10 / 10 dBm
1 = -6 / 12 dBm
2 = -4 / 14 dBm
3 = -2 / 16 dBm
4 = 0 / 18 dBm
4
CA (v1.x80*) RF Interfacing
CCA Threshold. Set/read the CCA (Clear Channel Assessment) threshold. Prior to
transmitting a packet, a CCA is performed to detect energy on the channel. If the
detected energy is above the CCA Threshold, the module will not transmit the packet.
0 - 0x50 [-dBm]
0x2C
(-44d dBm)
Table302. XBee/XBeePROCommands‐Networking&Security(Subcategoriesdesignatedwithin{brackets})
AT
Command
Command
Category
Name and Description Parameter Range Default