XBee‐PRO®900HP/XBee‐PRO®XSCRFModules
©2014DigiInternationalInc. 48
Diagnostics
MF
Minimum Frequency Count. This read only command can be queried to determine the
minimum number of channels that must be enabled with the CM command for proper
operation in the modules region of operation.
1-50
USA/Canada:
25
Australia: 25
Brazil: 25
Singapore: 11
HP
Preamble ID. The preamble ID for which module communicates. Only modules with
matching preamble IDs can communicate with each other. Different preamble IDs
minimize interference between multiple sets of modules operating in the same vicinity.
When receiving a packet this is checked before the network ID, as it is encoded in the
preamble, and the network ID is encoded in the MAC header.
Note: When using modules certified for use in Singapore, HP settings of 1, 2, or 3 have
reduced performance compared to the other settings. These settings should be avoided
in this region.
0-7 0
ID
Network ID. The user network identifier. Nodes must have the same network identifier to
communicate. Changes to ID can be written to non-volatile memory using the WR
command. Only modules with matching IDs can communicate with each other. When
receiving a packet this is checked after the preamble ID. If using OEM network IDs,
0xFFFF will use the factory value.
0-0x7FFF 0x7FFF
MT
Broadcast Multi-Transmit. The number of additional MAC-level broadcast
transmissions. All broadcast packets are transmitted MT+1 times to ensure it is received.
0-5 3
PL
Power Level. Set/Read the power level at which the RF module transmits conducted
power. Power level 4 is calibrated and the other power levels are approximate. .
0 = +7 dBm, (5 mW)
1 = +15 dBm, (32 mW)
2 = +18 dBm, (63 mW)
3 = +21 dBm, (125 mW)
4 = +24 dBm, (250 mW)
4
RR
Unicast Mac Retries. The maximum number of MAC level packet delivery attempts for
unicasts. If RR is non-zero packets sent from the radio will request an acknowledgement,
and can be resent up to RR times if no acknowledgements are received.
0-0xF 0x10
ED
Energy Detect. Start an Energy Detect scan. This parameter is the time in milliseconds
to scan all channels. The module will loop through all the channels until the time elapses.
The maximal energy on each channel is returned, and each value is followed by a
comma with the list ending with a carriage return. The values returned reflect the
detected energy level in units of -dBm.
0-0xFF 0x10
Table5‐03. DiagnosticsCommands‐MACStatisticsandTimeouts
AT
Command
Name and Description Parameter Range Default
BC
Bytes Transmitted. The number of RF bytes transmitted. This count is incremented for
every PHY level byte transmitted. The purpose of this count is to estimate battery life by
tracking time doing transmissions. This number rolls over to zero from 0xFFFF. The
counter can be reset to any 16-bit value by appending a hexadecimal parameter to the
command.
0-0xFFFF 0
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. The DB
command value is measured in -dBm. For example if DB returns 0x60, then the RSSI of
the last packet received was -96dBm.
0-0xFF
[read-only]
0
ER
Received Error Count. This count is incremented whenever a packet is received which
contained integrity errors of some sort. Once the number reaches 0xFFFF, further events
will not be counted. The counter can be reset to any 16-bit value by appending a
hexadecimal parameter to the command.
0-0xFFFF 0
GD
Good Packets Received. This count is incremented whenever a good frame with a valid
MAC header is received on the RF interface. Once the number reaches 0xFFFF, further
events will not be counted. The counter can be reset to any 16-bit value by appending a
hexadecimal parameter to the command.
0-0xFFFF 0
EA
MAC ACK Timeouts. This count is incremented whenever a MAC ACK timeout occurs
on a MAC level unicast. Once the number reaches 0xFFFF further events will not be
counted. The counter can be reset to any 16-bit value by appending a hexadecimal
parameter to the command.
0-0xFFFF 0
TR
Transmission Errors. This count is incremented whenever a MAC transmission attempt
exhausts all MAC retries without ever receiving a MAC acknowledgement message from
the destination node. Once the number reaches 0xFFFF, further events will not be
counted. The counter can be reset to any 16-bit value by appending a hexadecimal
parameter to the command.
0-0xFFFF 0
AT
Command
Name and Description Parameter Range Default