Nd (Network Discover); Fn (Find Neighbors) - Digi XBee SX User Manual

Radio frequency (rf) module
Hide thumbs Also See for XBee SX:
Table of Contents

Advertisement

AT commands

ND (Network Discover)

Discovers and reports all of the devices it finds on a network. The command reports the following
information after a jittered time delay.
PARENT_NETWORK ADDRESS<CR> (2 Bytes) (always 0xFFFE)
PARENT_NETWORK ADDRESS (2 Bytes) <CR>
DEVICE_TYPE<CR> (1 Byte: 0 = Coordinator, 1 = Router, 2 = End Device)
STATUS<CR> (1 Byte: Reserved)
PROFILE_ID<CR> (2 Bytes)
MANUFACTURER_ID<CR> (2 Bytes)
DIGI DEVICE TYPE<CR> (4 Bytes. Optionally included based on NO settings.)
RSSI OF LAST HOP<CR> (1 Byte. Optionally included based on NO settings.)
<CR>
After (NT * 100) milliseconds, the command ends by returning a <CR>.
If you send ND through a local AT Command (0x08) API frame, each network node returns a separate
AT Command Response (0x88) or Remote Command Response (0x97) frame, respectively. The data
consists of the bytes listed above without the carriage return delimiters. The NI string ends in a 0x00
null character.
Broadcast an ND command to the network. If the command includes an optional node identifier string
parameter, only those devices with a matching NI string respond without a random offset delay. If the
command does not include a node identifier string parameter, all devices respond with a random
offset delay.
The NT setting determines the range of the random offset delay. The NO setting sets options for the
Node Discovery.
For more information about options that affect the behavior of the ND command Refer to the
description of the NO command for options which affect the behavior of the ND command.
WARNING! If the NT setting is small relative to the number of devices on the network,
responses may be lost due to channel congestion. Regardless of the NT setting, because
the random offset only mitigates transmission collisions, getting responses from all
devices in the network is not guaranteed.
Parameter range
N/A
Default
[read-only]
N/A
ASCII space character (0x20)

FN (Find Neighbors)

Discovers and reports all devices found within immediate (1 hop) RF range. FN reports the following
information for each device it discovers:
MY<CR> (always 0xFFFE)
SH<CR>
SL<CR>
XBee®/XBee-PRO SX RF Module User Guide
Addressing discovery/configuration commands
79

Advertisement

Table of Contents
loading

This manual is also suitable for:

Xbee-pro sx

Table of Contents