XBee‐PRO®900HP/XBee‐PRO®XSCRFModules
©2014DigiInternationalInc. 51
DN
Discover Node. Resolves an NI (Node Identifier) string to a physical address (case
sensitive).
The following events occur after the destination node is discovered:
<AT Firmware>
1. DL & DH are set to the extended (64-bit) address of the module with the matching
NI (Node Identifier) string.
2. OK (or ERROR)\r is returned.
3. Command Mode is exited to allow immediate communication
<API Firmware>
0xFFFE and 64-bit extended addresses are returned in an API Command Response
frame.
If there is no response from a module within (NT * 100) milliseconds or a parameter is
not specified (left blank), the command is terminated and an “ERROR” message is
returned. In the case of an ERROR, Command Mode is not exited.
20 byte ascii string
ND
Network Discover. Discovers and reports all RF modules found. The following
information is reported for each module discovered.
MY<CR> (always 0xFFFE)
SH<CR>
SL<CR>
NI<CR> (Variable length)
PARENT_NETWORK ADDRESS<CR> (2 Bytes) (always 0xFFFE)
DEVICE_TYPE<CR> (1 Byte: 0=Coord, 1=Router, 2=End Device)
STATUS<CR> (1 Byte: Reserved)
PROFILE_ID<CR> (2 Bytes)
MANUFACTURER_ID<CR> (2 Bytes)
DIGI DEVICE TYPE<CR> (4 Bytes. Optionally included based on NO settings.)
RSSI OF LAST HOP<CR> (1 Byte. Optionally included based on NO settings.)
<CR>
After (NT * 100) milliseconds, the command ends by returning a <CR>. ND also accepts
a Node Identifier (NI) as a parameter (optional). In this case, only a module that
matches the supplied identifier will respond.
If the ND command is sent through a local API frame, each response is returned as a
separate Local or Remote AT Command Response API packet, respectively. The data
consists of the above listed bytes without the carriage return delimiters. The NI string
will end in a "0x00" null character.
n/a n/a
FN
Find Neighbors. Discovers and reports all RF modules found within immediate RF
range. The following information is reported for each module discovered.
MY<CR> (always 0xFFFE)
SH<CR>
SL<CR>
NI<CR> (Variable length)
PARENT_NETWORK ADDRESS<CR> (2 Bytes) (always 0xFFFE)
DEVICE_TYPE<CR> (1 Byte: 0=Coord, 1=Router, 2=End Device)
STATUS<CR> (1 Byte: Reserved)
PROFILE_ID<CR> (2 Bytes)
MANUFACTURER_ID<CR> (2 Bytes)
DIGI DEVICE TYPE<CR> (4 Bytes. Optionally included based on NO settings.)
RSSI OF LAST HOP<CR> (1 Byte. Optionally included based on NO settings.)
<CR>
If the FN command is issued in command mode, after (NT*100) ms + overhead time,
the command ends by returning a <CR>.
If the FN command is sent through a local API frame, each response is returned as a
separate Local or Remote AT Command Response API packet, respectively. The data
consists of the above listed bytes without the carriage return delimiters. The NI string
will end in a "0x00" null character.
n/a n/a
Table5‐06. AddressingDiscovery/ConfigurationCommands
AT
Command
Name and Description Parameter Range Default