Test Links Between Adjacent Devices - 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
The configuration steps for sending data to the loopback cluster ID depend on what mode the device
is in. For details on setting the mode, see
on the device's mode.
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 DH and DL commands to the address of the remote device.
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.

Test links between adjacent devices

It often helps to test the quality of a link between two adjacent modules in a network. You can use the
Test Link Request Cluster ID to send a number of test packets between any two devices in a network.
To clarify the example, we refer to "device A" and "device B" in this section.
To request that device B perform a link test against device A:
1. Use device A in API mode (AP = 1) to send an Explicit Addressing Command (0x11) frame to
device B.
2. Address the frame to the Test Link Request Cluster ID (0x0014) and destination endpoint: 0xE6.
3. Include a 12-byte payload in the Explicit Addressing Command frame with the following format:
Number of
bytes
Field name
8
Destination
address
2
Payload size
2
Iterations
4. Device B should transmit test link packets.
5. When device B completes transmitting the test link packets, it sends the following data packet
to device A's Test Link Result Cluster (0x0094) on endpoint (0xE6).
6. Device A outputs the following information as an API Explicit RX Indicator (0x91) frame:
XBee®/XBee-PRO XTend Compatible (XTC) DigiMesh RF Module User Guide
AP (API
Enable). The following sections list the steps based
using 0x12 as the cluster ID and 0xE8 as both the
Description
The address the device uses to test its link. For this example, use the
device A address.
The size of the test packet. Use the NP command to query the
maximum payload size for the device.
The number of packets to send. This must be a number between 1 and
4000.

Test links between adjacent devices

100

Advertisement

Table of Contents
loading

This manual is also suitable for:

Xbee-pro xtc

Table of Contents