Digi XBee User Manual Page 10

  • Download
  • Add to my manuals
  • Print
  • Page
    / 10
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 9
XBee®/XBeePRO®ZBRFModules
©2010DigiInternational,Inc. 137
Nodetypesthatsupportthecommand :C= Coordinator,R=Router,E=EndDevice
ND
Node Discover. Discovers and reports all RF modules found. The following information
is reported for each module discovered.
MY<CR>
SH<CR>
SL<CR>
NI<CR> (Variable length)
PARENT_NETWORK ADDRESS (2 Bytes)<CR>
DEVICE_TYPE<CR> (1 Byte: 0=Coord, 1=Router, 2=End Device)
STATUS<CR> (1 Byte: Reserved)
PROFILE_ID<CR> (2 Bytes)
MANUFACTURER_ID<CR> (2 Bytes)
<CR>
After (NT * 100) milliseconds, the command ends by returning a <CR>. ND also accepts
a Node Identifier (NI) as a parameter (optional). In this case, only a module that matches
the supplied identifier will respond.
If ND is sent through the API, each response is returned as a separate
AT_CMD_Response packet. The data consists of the above listed bytes without the
carriage return delimiters. The NI string will end in a "0x00" null character. The radius of
the ND command is set by the BH command.
CRE
optional 20-Byte
NI or MY value
--
DN
Destination Node. Resolves an NI (Node Identifier) string to a physical address (case-
sensitive). The following events occur after the destination node is discovered:
<AT Firmware>
1. DL & DH are set to the extended (64-bit) address of the module with the matching
NI (Node Identifier) string.
2. OK (or ERROR)\r is returned.
3. Command Mode is exited to allow immediate communication
<API Firmware>
1. The 16-bit network and 64-bit extended addresses are returned in an API
Command Response frame.
If there is no response from a module within (NT * 100) milliseconds or a parameter is
not specified (left blank), the command is terminated and an “ERROR” message is
returned. In the case of an ERROR, Command Mode is not exited. The radius of the DN
command is set by the BH command.
CRE
up to 20-Byte printable
ASCII string
--
IS
Force Sample Forces a read of all enabled digital and analog input lines. CRE -- --
1S
XBee Sensor Sample. Forces a sample to be taken on an XBee Sensor device. This
command can only be issued to an XBee sensor device using an API remote command.
RE - -
ExecutionCommands
AT
Command
Name and Description
Node Type
1
Parameter Range Default
Page view 9
1 2 3 4 5 6 7 8 9 10

Comments to this Manuals

No comments