Advanced application features Network commissioning and diagnostics
XBee® SX 868 RF Module User Guide
64
You can use this command for generating a list of all module addresses in a network.
When a device receives the network discovery command, it waits a random time before sending a
response. The device sets the maximum time delay on the ND sender with the NT command. The ND
originator includes its NT setting in the transmission to provide a delay window for all devices in the
network. Large networks may need to increase NT to improve network discovery reliability. The
default NT value is .
Neighbor polling
Use the neighbor poll command to discover the modules which are immediate neighbors (within RF
range) of a particular node. You can use this command to determining network topology and
determining possible routes.
The device sends the command using the FN command. You can initiate the FN command locally on a
node using AT command mode or by using a local AT command request frame. You can also initiate
the command remotely by sending the target node an FN command using a remote AT command
request API frame.
A node that executes an FN command sends a broadcast to all of its immediate neighbors. All devices
that receive this broadcast send an RF packet to the node that initiated the FN command. In an
instance where the device initiates the command remotely, it sends the responses directly to the node
which sent the FN command to the target node. The device outputs the response packet on the
initiating radio in the same format as a network discovery frame.
Link reliability
To install a successful mesh network, you must be able to determine where to place individual XBee
devices to establish reliable links throughout the mesh network.
Network link testing
To determine the success rate of many transmissions, send unicast data through the network from
one device to another to measure the performance of the mesh network.
To simplify link testing, the modules support a loopback cluster ID (0x12) on the data endpoint (0xE8).
The device transmits any data sent to this cluster ID on the data endpoint back to the sender as
illustrated in the following figure:
The configuration steps to send data to the loopback cluster ID depend on the AP setting.
AT configuration (AP=0)
To send data to the loopback cluster ID on the data endpoint of a remote device, set the CI command
value to 0x12. Set the SE and DE commands set to 0xE8 (default value). Set the DH and DL commands