AT commands MAC diagnostics commands
Digi XBee3® 802.15.4 RF Module User Guide
94
AS command
Sends a Beacon Request to a Broadcast address (0xFFFF) and Broadcast PAN (0xFFFF) on every
channel in the scan channel mask—SC command. Active Scan can only be performed locally and
returns an ERROR if attempted remotely.
A PanDescriptor is created and returned for every Beacon received from the scan. Each PanDescriptor
contains the following information:
CoordAddress (SH + SL parameters)<CR>
Note If MY on the coordinator is set less than 0xFFFF, the MY value is displayed.
CoordPanID (ID parameter)<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 indicates the end of the PanDescriptor)
The Active Scan returns one PanDescriptor response per discovered network. Each PanDescriptor has
a trailing carriage return <CR> to indicate the end of the frame. The sequence of PanDescriptors has a
final trailing carriage return (3 <CR> in sequence indicate the end of the active scan).
If using API Mode, no <CR>’s are returned and a separate response frame is generated for each
PanDescriptor. For more information, see Operate in API mode.
Parameter range
N/A
Default
N/A
ED command
Starts an energy detect scan. This command accepts an argument to specify the time in milliseconds
to scan all channels. The device loops through all the available channels until the time elapses. It