ND (Network Discover)
This command applies to the XBee/XBee-PRO DigiMesh 2.4.
Discovers and reports all of the devices it finds on a network. If you send ND through a local API frame, each network node returns a separate Local AT Command Response - 0x88 or Remote AT Command Response- 0x97 frame, respectively.
For each discovered device, the following information is returned:
SH<CR> (4 bytes)
SL<CR> (4 bytes)
DB<CR> (Contains the detected signal strength of the response in negative dBm units)
NI <CR> (variable, 0-20 bytes plus 0x00 character)
DEVICE_TYPE<CR> (1 byte: 0 = Coordinator, 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.)
After (NT * 100) milliseconds, the command ends by returning a <CR>. ND also accepts NI (Node Identifier) as a parameter (optional). In this case, only a device that matches the supplied identifier responds.
If you send ND through a local API frame, the device returns each response as a separate AT_CMD_Response packet. The data consists of the bytes listed above without the carriage return delimiters. The NI string ends in a 0x00 null character.
Parameter range
N/A
Default
N/A