AG Electronica XBee 2 Series Manual page 40

Table of Contents

Advertisement

www.agelectronica.com
XBee Series 2 ZigBee OEM RF Modules v1.x2x [2007.07.019]
Table 6‐03. Networking Commands
AT
Name and Description
Command
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.
SC
Changes to SC should be written using WR command.
Bit (Channel):
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
SD
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
Node Join Time. Set/Read the time that a Coordinator/Router allows nodes to join.
This value can be changed at run time without requiring a Coordinator or Router to
NJ
restart. The time starts once the Coordinator or Router has started. The timer is reset
on power-cycle or when NJ changes.
Aggregate Routing Notification. Set/read time between consecutive aggregate route
AR
broadcast messages. If used, AR should be set on only one device to enable many-to-
one routing to the device. Setting AR to 0 only sends one broadcast
Association Indication. Read information regarding last node join request:
0x00 - Successful completion - Coordinator started or Router/End Device found and
joined with a parent.
0x21 - Scan found no PANs
AI
0x22 - Scan found no valid PANs based on current SC and ID settings
0x23 - Valid Coordinator or Routers found, but they are not allowing joining (NJ expired)
0x27 - Node Joining attempt failed
0x2A - Coordinator Start attempt failed'
0xFF - Scanning for a Parent
RF Interfacing
Table 6‐04. RF Interfacing Commands
AT
Name and Description
Command
Power Level. Select/Read the power level at which the RF module transmits conducted
PL
power.
Power Mode. Set/read the power mode of the device. Enabling boost mode will improve
PM
the receive sensitivity by 1dB and increase the transmit power by 2dB
1. Node types that support the command: C = Coordinator, R = Router, E = End Device
Serial Interfacing (I/O)
Table 6‐05. Serial Interfacing Commands
AT
Name and Description
Command
API Enable. Enable API Mode.
2
The AP parameter is only applicable when using modules that contain the following
AP
firmware versions:1.1xx (coordinator), 1.3xx (router/end device)
www.agelectronica.com
0 (0x0B)
4 (0x0F)
8 (0x13)
1 (0x0C)
5 (0x10)
9 (0x14)
2 (0x0D)
6 (0x11)
10 (0x15)
3 (0x0E)
7 (0x12)
11 (0x16)
© 2007 Digi International, Inc.
Chapter 6 ‐ XBee Series 2 Command Reference Tables
Node
Parameter Range
1
Type
CRE
1 - 0xFFFF[bitfield]
12 (0x17)
13 (0x18)
14 (0x19)
15 (0x1A)
CRE
0 - 7 [exponent]
0 – 0x40, 0xFF
CR
[x 1 sec]
CR
0 - 0xFF
0 - 0xFF
CRE
[read-only]
Node
Parameter Range
1
Type
0 - 4 (XBee )
0 = -10 / 10 dBm
1 = -6 / 12 dBm
CRE
2 = -4 / 14 dBm
3 = -2 / 16 dBm
4 = 0 / 18 dBm
0-1,
0= -Boost mode disabled,
CRE
1= Boost mode enabled. 1
Node
Parameter Range
1
Type
1 - 2
1 = API-enabled
CRE
2 = API-enabled
www.agelectronica.com
Default
0x1FFE
3
0xFF
(always allows joining)
0xFF
--
Default
4
Default
1
(w/escaped control
characters)
www.agelectronica.com
     39

Advertisement

Table of Contents
loading

This manual is also suitable for:

Xb24-buit-004

Table of Contents