DN (Discover Node)
This command applies to the XBee 3 DigiMesh RF Module.
Resolves an NI (Node identifier) string to a physical address (case sensitive).
The DN command cannot be issued from within MicroPython or over BLE.
The following events occur after DN discovers the destination node:
When DN is sent in Command mode:
- The requesting node sets DL and DH to the address of the device with the matching NI string.
- The requesting node returns OK (or ERROR).
- 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.
-
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 Local AT Command Request - 0x08:
- The requesting node returns 0xFFFE followed by its 64-bit extended addresses in an Local AT Command Response - 0x88.
- 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