Rn (Random Delay Slots); Db (Last Packet Rssi); Mac Diagnostics Commands; As (Active Scan) - Digi XBee 3802.15.4 User Manual

Radio frequency (rf) module
Table of Contents

Advertisement

AT commands

RN (Random Delay Slots)

Defines the minimum value of the back-off exponent in the CSMA-CA algorithm. The Carrier Sense
Multiple Access - Collision Avoidance (CSMA-CA) algorithm was engineered for collision avoidance
(random delays are inserted to prevent data loss caused by data collisions.
If RN = 0, there is no delay between a request to transmit and the first iteration of CSMA-CA.
Unlike CSMA-CD, which reacts to network transmissions after collisions have been detected, CSMA-CA
acts to prevent data collisions before they occur. As soon as a device receives a packet that is to be
transmitted, it checks if the channel is clear (no other device is transmitting). If the channel is clear,
the packet is sent over-the-air. If the channel is not clear, the device waits for a randomly selected
period of time, then checks again to see if the channel is clear. After a time, the process ends and the
data is lost.
Parameter range
0 - 5 (exponent)
Default
0

DB (Last Packet RSSI)

Reports the RSSI in -dBm of the last received RF data packet. DB returns a hexadecimal value for the
-dBm measurement.
For example, if DB returns 0x60, then the RSSI of the last packet received was -96 dBm.
If the XBee 3 802.15.4 RF Module has been reset and has not yet received a packet, DB reports 0.
This value is volatile (the value does not persist in the device's memory after a power-up sequence).
Parameter range
0 - 0xFF [read-only]
Default
N/A

MAC diagnostics commands

The following AT commands are MAC/PHY commands.

AS (Active Scan)

Sends a Beacon Request to a Broadcast address (0xFFFF) and Broadcast PAN (0xFFFF) on every
channel in the scan channel
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>
Digi XBee® 3 802.15.4 RF Module User Guide
mask—SC (Scan
Channels). Active Scan can only be performed locally and
MAC diagnostics commands
142

Advertisement

Table of Contents
loading

This manual is also suitable for:

Xbee 3 802.15.4

Table of Contents