Digi XBee User Manual Page 2

  • Download
  • Add to my manuals
  • Print
  • Page
    / 10
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 1
XBee®/XBeePRO®ZBRFModules
©2010DigiInternational,Inc. 129
Networking
NetworkingCommands
AT
Command
Name and Description
Node
Type
1
Parameter Range Default
CH
Operating Channel. Read the channel number used for transmitting and receiving
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.
CRE
XBee
0, 0x0B - 0x1A
(Channels 11-26)
XBee-PRO (S2)
0, 0x0B - 0x18
(Channels 11-24)
XBee-PRO (S2B)
0, 0x0B - 0x19
(Channels 11-25)
[read-only]
ID
Extended PAN ID. Set/read the 64-bit extended PAN ID. If set to 0, the coordinator will
select a random extended PAN ID, and the router / end device will join any extended
PAN ID. Changes to ID should be written to non-volatile memory using the WR
command to preserve the ID setting if a power cycle occurs.
CRE
0 -
0xFFFFFFFFFFFFFFFF
0
OP
Operating Extended PAN ID. Read the 64-bit extended PAN ID. The OP value reflects
the operating extended PAN ID that the module is running on. If ID > 0, OP will equal ID.
CRE
0x01 -
0xFFFFFFFFFFFFFFFF
[read-only]
NH
Maximum Unicast Hops. Set / read the maximum hops limit. This limit sets the
maximum broadcast hops value (BH) and determines the unicast timeout. The timeout
is computed as (50 * NH) + 100 ms. The default unicast timeout of 1.6 seconds
(NH=0x1E) is enough time for data and the acknowledgment to traverse about 8 hops.
CRE 0 - 0xFF 0x1E
BH
Broadcast Hops. Set/Read the maximum number of hops for each broadcast data
transmission. Setting this to 0 will use the maximum number of hops.
CRE 0 - 0x1E 0
OI
Operating 16-bit PAN ID. Read the 16-bit PAN ID. The OI value reflects the actual 16-
bit PAN ID the module is running on.
CRE 0 - 0xFFFF [read-only]
NT
Node Discovery Timeout. Set/Read the node discovery timeout. When the network
discovery (ND) command is issued, the NT value is included in the transmission to
provide all remote devices with a response timeout. Remote devices wait a random
time, less than NT, before sending their response.
CRE 0x20 - 0xFF [x 100 msec] 0x3C (60d)
NO
Network Discovery options. Set/Read the options value for the network discovery
command. The options bitfield value can change the behavior of the ND (network
discovery) command and/or change what optional values are returned in any received
ND responses or API node identification frames. Options include:
0x01 = Append DD value (to ND responses or API node identification frames)
002 = Local device sends ND response frame when ND is issued.
CRE 0 - 0x03 [bitfield] 0
SC
Scan Channels. Set/Read the list of channels to scan.
Coordinator - Bit field list of channels to choose from prior to starting network.
Router/End Device - Bit field list of channels that will be scanned to find a Coordinator/
Router to join.
Changes to SC should be written using WR command to preserve the SC setting if a
power cycle occurs.
Bit (Channel): 0 (0x0B) 4 (0x0F) 8 (0x13) 12 (0x17)
1 (0x0C) 5 (0x10) 9 (0x14) 13 (0x18)
2 (0x0D) 6 (0x11) 10 (0x15) 14 (0x19)
3 (0x0E) 7 (0x12) 11 (0x16) 15 (0x1A)
CRE
XBee
1 - 0xFFFF [bitfield]
XBee-PRO (S2)
1 - 0x3FFF [bitfield]
(bits 14, 15 not allowed)
XBee-PRO (S2B)
1-0x7FFF
(bit 15 is not allowed)
1FFE
SD
Scan Duration. Set/Read the scan duration exponent. Changes to SD should be
written using WR command.
Coordinator - Duration of the Active and Energy Scans (on each channel) that are
used to determine an acceptable channel and Pan ID for the Coordinator to startup on.
Router / End Device - Duration of Active Scan (on each channel) used to locate an
available Coordinator / Router to join during Association.
Scan Time is measured as:(# Channels to Scan) * (2 ^ SD) * 15.36ms - The number of
channels to scan is determined by the SC parameter. The XBee can scan up to 16
channels (SC = 0xFFFF).
Sample Scan Duration times (13 channel scan):
If SD = 0, time = 0.200 sec
SD = 2, time = 0.799 sec
SD = 4, time = 3.190 sec
SD = 6, time = 12.780 sec
Note: SD influences the time the MAC listens for beacons or runs an energy scan on a
given channel. The SD time is not a good estimate of the router/end device joining time
requirements. ZigBee joining adds additional overhead including beacon processing on
each channel, sending a join request, etc. that extend the actual joining time.
CRE 0 - 7 [exponent] 3
ZS
ZigBee Stack Profile. Set / read the ZigBee stack profile value. This must be set the
same on all devices that should join the same network.
CRE 0 - 2 0
Page view 1
1 2 3 4 5 6 7 8 9 10

Comments to this Manuals

No comments