AT commands
Addressing discovery/configuration commands
XBee 868LP RF Modules User Guide
139
Addressing discovery/configuration commands
AG (Aggregator Support)
The
AG
command sends a broadcast through the network that has the following effects on nodes that
receive the broadcast:
n
The receiving node establishes a DigiMesh route back to the originating node, if there is space
in the routing table.
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.
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 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 after a jittered time delay. For each discovered
device, the following information is returned:
MY<CR> (2 bytes) (always 0xFFFE)
SH<CR> (4 bytes)
SL<CR> (4 bytes)
DB<CR> (Contains the detected signal strength of the response in negative dBm units)