AG Electronica XBee 2 Series Manual page 39

Table of Contents

Advertisement

www.agelectronica.com
XBee Series 2 ZigBee OEM RF Modules v1.x2x [2007.07.019]
Table 6‐02. Addressing Commands)
AT
Name and Description
Command
Cluster Identifier. Set/read Zigbee application layer cluster ID value. If ZigBee
application layer addressing is enabled (ZA command), this value will be used as the
CI
2
cluster ID for all data transmissions. CI is only supported in AT firmware.The default
value0x11 (Transparent data cluster ID).
Binding Table Index. Set/read the binding table index value. If this value is set to a
valid binding table index, the addressing information at that index in the binding table
BI
2
will be used for all data transmissions. BI is only supported in AT firmware
1. Node types that support the command: C=Coordinator, R=Router, E=End Device
2. Command supported by modules using AT Command firmware only
Networking & Security
Table 6‐03. Networking Commands
AT
Name and Description
Command
Operating Channel. Read the channel number used for transmitting and receiving
CH
between RF modules. Uses 802.15.4 channel numbers. A value of 0 means the device
has not joined a PAN and is not operating on any channel.
PAN ID. Set/Get the PAN (Personal Area Network) ID.
Coordinator - Set the preferred Pan ID. Set ID = 0xFFFF to auto-select.
Router / End Device - Set the desired Pan ID. When the device searches for a
ID
Coordinator, it attempts to only join to a parent that has a matching Pan ID. Set ID =
0xFFFF to join a parent operating on any Pan ID.
Changes to ID should be written to non-volatile memory using the WR command.
Broadcast Hops. Set/Read the maximum number of hops for each broadcast data
BH
transmission. Setting this to 0 will use the maximum number of hops.
Node Discover Timeout. Set/Read the amount of time a node will spend discovering
NT
other nodes when ND or DN is issued.
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)
ND
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.
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
DN
<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.
Join Notification. Set/read the join notification value. If enabled, the device will send a
JN
transmission after joining a PAN, identifying itself to the coordinator.
www.agelectronica.com
© 2007 Digi International, Inc.
www.agelectronica.com
Chapter 6 ‐ XBee Series 2 Command Reference Tables
Node
Parameter Range
Default
1
Type
CRE
0 - 0xFF
0x11
CRE
0 - 0xFF
0xFF
Node
Parameter Range
Default
1
Type
CRE
0, 0x0B-0x1A (XBee)
0
0x0234
CRE
0 - 0x3FFF, 0xFFFF
(291d)
CRE
0 - 0x0F
--
0 - 0xFC
CRE
0x3C (60d)
[x 100 msec]
optional 20-Byte
CRE
--
NI or MY value
up to 20-Byte printable
CRE
--
ASCII string
0 - Join notification
disabled
1 - Send notification only
to coordinator after joining
RE
1
PAN
     38
www.agelectronica.com

Advertisement

Table of Contents
loading

This manual is also suitable for:

Xb24-buit-004

Table of Contents