Fn (Find Neighbors) - Digi XBee3 DigiMesh 2.4 User Manual

Rf module
Hide thumbs Also See for XBee3 DigiMesh 2.4:
Table of Contents

Advertisement

AT commands
1. The requesting node sets DL and DH to the address of the device with the matching NI string.
2. The requesting node returns OK (or ERROR).
3. If the requesting node returns OK (node found), it exits Command mode immediately with
DH/DL set to the node that is found so that the next serial input is sent to the node designated
by the DN parameter.
4. If the requesting node returns ERROR, (node not found), it remains in Command mode,
allowing you to enter further commands.
When DN is sent as a local
1. The requesting node returns 0xFFFE followed by its 64-bit extended addresses in an
Command Response frame -
2. If there is no response from a module within (N?* 100) milliseconds or you do not specify a
parameter (by leaving it blank), the requesting node returns an ERROR message.
Parameter range
20-byte ASCII string
Default
N/A

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>
NI<CR> (Variable length)
PARENT_NETWORK ADDRESS<CR> (2 Bytes) (always 0xFFFE)
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>
If you send the FN command in Command mode, after (NT*100) ms + overhead time, the command
ends by returning a carriage return, represented by <CR>.
If you send the FN command through a local AT Command (0x08) or remote AT command (0x17) API
frame, each response returns as a separate AT Command Response (0x88) or Remote Command
Response (0x97) frame, respectively. The data consists of the bytes in the previous list without the
carriage return delimiters. The NI string ends in a 0x00 null character.
FN accepts a NI (Node Identifier) as an argument.
See
Find specific neighbor
Digi XBee3® DigiMesh 2.4 RF Module User Guide
AT Command Frame -
0x08:
0x88.
for more details.
Networking commands
AT
116

Advertisement

Table of Contents
loading

Table of Contents