Rssi Indicators; Device Discovery; Network Discovery; Zdo Discovery - Digi XBee-PRO S2C Zigbee User Manual

Rf module
Hide thumbs Also See for XBee-PRO S2C Zigbee:
Table of Contents

Advertisement

Network commissioning and diagnostics
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
source and destination endpoint.
The remote device echoes back the data packets it receives to the sending device.

RSSI indicators

It is possible to measure the received signal strength on a device using the DB command. DB returns
the RSSI value (measured in -dBm) of the last received packet. However, this number can be
misleading in Zigbee 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.
Determine the DB value in hardware using the RSSI/PWM device pin (TH pin 6/SMT pin 7). If you enable
the RSSI PWM functionality (P0 command), when the device receives data, it sets the RSSI PWM to a
value based on the RSSI of the received packet (this value only indicates the quality of the last hop).
You could connect this pin to an LED to indicate if the link is stable or not.

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:
Device addressing information
n
Node identifier string (see
n
Other relevant information
n
You can use this command for generating a list of all module addresses in a network.

ZDO discovery

The Zigbee device profile includes provisions to discover devices in a network that are supported on all
Zigbee devices (including non-Digi products). These include the LQI Request (cluster ID 0x0031) and
the Network Update Request (cluster ID 0x0038). You can use the LQI Request to read the devices in
the neighbor table of a remote device, and the Network Update Request for a remote device to
complete an active scan to discover all nearby Zigbee devices. You can send both of these ZDO
commands using the XBee Explicit API transmit frame (0x11). For more information, see
Operation. Refer to the Zigbee specification for formatting details of these two ZDO frames.
XBee/XBee-PRO® S2C Zigbee® RF Module
using 0x12 as the cluster ID and 0xE8 as both the
NI
command)
Device discovery
API
110

Advertisement

Table of Contents
loading

This manual is also suitable for:

Xbee s2c zigbee

Table of Contents