Rssi Indicators; Discover All The Devices On A Network - Digi XBee XTC User Manual

Digimesh radio frequency (rf) module
Hide thumbs Also See for XBee XTC:
Table of Contents

Advertisement

Work with networked devices
frames can be sent by either device A, device B or device C and in all cases the test is the same: device
A sends data to device B and reports the results.

RSSI indicators

The received signal strength indicator (RSSI) measures the amount of power present in a radio signal.
It is an approximate value for signal strength received on an antenna.
You can use the DB command to measure the RSSI on a device. DB returns the RSSI value measured in
-dBm of the last packet the device received. This number can be misleading in multi-hop DigiMesh
networks. The DB value only indicates the received signal strength of the last hop. If a transmission
spans multiple hops, the DB value provides no indication of the overall transmission path, or the
quality of the worst link, it only indicates the quality of the last link.
To determine the DB value in hardware:
1. Use the RSSI module pin (pin 7). When the device receives data, it sets the RSSI PWM duty cycle
to a value based on the RSSI of the packet it receives.
This value only indicates the quality of the last hop of a multi-hop transmission. You could connect this
pin to an LED to indicate if the link is stable or not.

Discover all the devices on a network

You can use the ND (Network Discovery) command to discover all devices on a network. When you
send the ND command:
1. The device sends a broadcast ND command through the network.
2. All devices that receive the command send a response that includes their addressing
information, node identifier string and other relevant information. For more information on the
node identifier string, see
ND is useful for generating a list of all device addresses in a network.
When a device receives the network discovery command, it waits a random time before sending its
own response. You can use the NT command to set the maximum time delay on the device that you
use to send the ND command.
The device that sends the ND includes its NT setting in the transmission to provide a delay
n
window for all devices in the network.
On large networks, you may need to increase NT to improve the reliability of network
n
discovery.
The default NT value is 0x82 (13 seconds).
n
Discover devices within RF range
You can use the FN (Find Neighbors) command to discover the devices that are immediate
n
neighbors (within RF range) of a particular device.
FN is useful in determining network topology and determining possible routes.
n
You can send FN locally on a device in Command mode or you can use a local
0x08.
To use FN remotely, send the target node a
the name of the AT command.
XBee®/XBee-PRO XTend Compatible (XTC) DigiMesh RF Module User Guide
NI (Node
Identifier).
Remote AT Command Request frame - 0x17
Test links between adjacent devices
AT Command frame -
using FN as
102

Advertisement

Table of Contents
loading

This manual is also suitable for:

Xbee-pro xtc

Table of Contents