AT Command: ATNB
Default Parameter Value: 0
Number of bytes returned: 1
<Serial Interfacing> The NB command is used to select/read the parity settings of the RF module for
UART communications.
Note
The module does not actually calculate and check the parity; it only interfaces with devices at
the configured parity and stop bit settings.
ND (Node Discover) command
AT Command: ATND
Range: optional 20-character NI value
Related Commands: CH (Channel), ID (Pan ID), MY (Source Address), SH (Serial Number High), SL
(Serial Number Low), NI (Node Identifier), NT (Node Discover Time)
Minimum Firmware Version Required: v1.x80
<Networking {Identification}> The ND command is used to discover and report all modules on its
current operating channel (CH parameter) and PAN ID (ID parameter). ND also accepts an NI (Node
Identifier) value as a parameter. In this case, only a module matching the supplied identifier will
respond.
ND uses a 64-bit long address when sending and responding to an ND request. The ND command
causes a module to transmit a globally addressed ND command packet. The amount of time allowed
for responses is determined by the NT (Node Discover Time) parameter.
In AT Command mode, command completion is designated by a carriage return (0x0D). Since two
carriage returns end a command response, the application will receive three carriage returns at the
end of the command. If no responses are received, the application should only receive one carriage
return. When in API mode, the application should receive a frame (with no data) and status (set to
'OK') at the end of the command. When the ND command packet is received, the remote sets up a
random time delay (up to 2.2 sec) before replying as follows:
Node Discover Response (AT command mode format - Transparent operation):
MY (Source Address) value<CR>
SH (Serial Number High) value<CR>
SL (Serial Number Low) value<CR>
DB (Received Signal Strength) value<CR>
NI (Node Identifier) value<CR>
<CR> (This is part of the response and not the end of command indicator.)
Node Discover Response (API format - data is binary (except for NI)):
2 bytes for MY (Source Address) value
4 bytes for SH (Serial Number High) value
4 bytes for SL (Serial Number Low) value
1 byte for DB (Received Signal Strength) value
NULL-terminated string for NI (Node Identifier) value (max 20 bytes w/out NULL terminator)
XBee / XBee-PRO RF Modules 802.15.4 Product Manual
Command descriptions for the XBee/XBee-PRO RF Module
78
Need help?
Do you have a question about the XBee and is the answer not in the manual?