AT commands Diagnostic commands - MAC statistics and timeouts
XBee®/XBee-PRO SX RF Module User Guide
70
Default
2
RR (Unicast Mac Retries)
Set or read the maximum number of MAC level packet delivery attempts for unicasts. If RR is non-
zero, the sent unicast packets request an acknowledgment from the recipient. Unicast packets can
be retransmitted up to RR times if the transmitting device does not receive a successful
acknowledgment.
Parameter range
0 - 0xF
Default
0xA (10 retries)
Diagnostic commands - MAC statistics and timeouts
The following AT commands are MAC diagnostic commands and timeouts. Diagnostic commands are
typically volatile and will not persist across a power cycle.
BC (Bytes Transmitted)
You can reset the counter to any 32-bit value by appending a hexadecimal parameter to the
command.
Parameter range
0 - 0xFFFFFFFF
Default
N/A
N/A (0 after reset)
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.
The RSSImeasurement is accurate within ±2 dB from approximately -50 dBm down to sensitivity.
DB only indicates the signal strength of the last hop. It does not provide an accurate quality
measurement for a multihop link.
If the XBee/XBee-PRO SX 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
0x28 - 0x6E (-40 dBm to -110 dBm) [read-only]
Default
0