Advanced application features
Network commissioning and diagnostics
XBee 868LP RF Modules User Guide
101
Transparent operating mode configuration (AP = 0)
To send data to the loopback cluster ID on the data endpoint of a remote device:
1. Set the
CI
command to
0x12
.
2. Set the
SE
and
DE
commands to
0xE8
(default value).
3. Set the
DH
and
DL
commands to the address of the remote (
0
for the coordinator, or the 64-bit
address of the remote).
After exiting Command mode, the device transmits any serial characters it received to the remote
device, which returns those characters to the sending device.
API operating mode configuration (AP = 1 or AP = 2)
Send an
Explicit Addressing Command frame - 0x11
using
0x12
as the cluster ID and
0xE8
as both the
source and destination endpoint.
The remote device echoes back the data packets it receives to the sending device.
Device discovery
Network discovery
Use the network discovery command to discover all devices that have joined a network. Issuing the
ND
command sends a broadcast network discovery command throughout the network. All devices
that receive the command send a response that includes:
n
Device addressing information
n
Node identifier string (see
)
n
Other relevant information
You can use this command for generating a list of all module addresses in a network.
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.