AT commands Addressing discovery/configuration commands
XBee®-PRO 900HP/XSC RF Modules
89
n The DH and DL of the receiving node update to the address of the originating node if the AG
parameter matches the current DH/DL of the receiving node.
n API-enabled devices with updated DH and DL send an Aggregate Addressing Update frame
(0x8E) out the serial port.
Note The AG command is only available on products that support DigiMesh.
Parameter range
Any 64-bit address
Default
N/A
DN (Discover Node)
Resolves an NI (Node identifier) string to a physical address (case sensitive).
The device returns an ERROR message if it is given without a destination node (that is without a
parameter) or if the given destination node does not respond within N? milliseconds. If an ERROR is
received, the device does not exit Command mode.
The following events occur after DN discovers the destination node:
When DN is sent in Command mode:
1. The device sets DL and DH to the extended (64-bit) address of the device with the matching NI
string.
2. The receiving device returns OK (or ERROR).
3. The device exits Command mode to allow for immediate communication. If an ERROR is
received, the device does not exit Command mode.
When DN is sent as an API frame, the receiving device returns 0xFFFE followed by its 64-bit extended
addresses in an API Command Response frame.
Parameter range
20-byte ASCII string
Default
N/A
ND (Network Discover)
Discovers and reports all devices found in the network. 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)