Product manual
XBee®/XBee‐PRO®RFModules‐802.15.4‐v1.xEx[2009.09.23]
©2009DigiInternatonal,Inc. 53
SC (Scan Channels) Command
<Networking {Association}> The SC command is
used to set and read the list of channels to scan
for all Active and Energy Scans as a bit field.
This affects scans initiated in command mode [AS
(Active Scan) and ED (Energy Scan) commands]
and during End Device Association and Coordina-
tor startup.
bit 0 - 0x0B bit 4 - 0x0F bit 8 - 0x13 bit 12 - 0x17
bit 1 - 0x0C bit 5 - 0x10 bit 9 - 0x14 bit 13 - 0x18
bit 2 - 0x0D bit 6 - 0x11 bit 10 - 0x15 bit 14 - 0x19
bit 3 - 0x0E bit 7 - 0x12 bit 11 - 0x16 bit 15 - 0x1A
SD (Scan Duration) Command
<Networking {Association}> The SD command is
used to set and read the exponent value that
determines the duration (in time) of a scan.
End Device (Duration of Active Scan during
Association) - In a Beacon system, set SD = BE of
the Coordinator. SD must be set at least to the
highest BE parameter of any Beaconing Coordina-
tor with which an End Device or Coordinator wish
to discover.
Coordinator - If the ‘ReassignPANID’ option is set on the Coordinator [refer to A2 parameter], the
SD parameter determines the length of time the Coordinator will scan channels to locate existing
PANs. If the ‘ReassignChannel’ option is set, SD determines how long the Coordinator will perform
an Energy Scan to determine which channel it will operate on.
Scan Time is measured as ((# of Channels to Scan) * (2 ^ SD) * 15.36ms). The number of chan-
nels to scan is set by the SC command. The XBee RF Module can scan up to 16 channels (SC =
0xFFFF). The XBee PRO RF Module can scan up to 12 channels (SC = 0x1FFE).
SH (Serial Number High) Command
<Diagnostics> The SH command is used to read
the high 32 bits of the RF module's unique IEEE
64-bit address.
The module serial number is set at the factory
and is read-only.
SL (Serial Number Low) Command
<Diagnostics> The SL command is used to read
the low 32 bits of the RF module's unique IEEE
64-bit address.
The module serial number is set at the factory
and is read-only.
Examples:Valu es belowshowresultsfora12‐channelscan
If SD = 0, time = 0.18 sec SD = 8, time = 47.19 sec
SD = 2, time = 0.74 sec SD = 10, time = 3.15 min
SD = 4, time = 2.95 sec SD = 12, time = 12.58 min
SD = 6, time = 11.80 sec SD = 14, time = 50.33 min
AT Command: ATSC
Parameter Range: 1-0xFFFF [Bitfield]
(bits 0, 14, 15 are not allowed when using the
XBee-PRO)
Default Parameter Value: 0x1FFE (all XBee-
PRO channels)
Related Commands: ED (Energy Scan), SD
(Scan Duration)
Minimum Firmware Version Required: v1.x80
AT Command: ATSD
Parameter Range: 0 - 0x0F
Default Parameter Value: 4
Related Commands: ED (Energy Scan), SC
(Scan Channel)
Minimum Firmware Version Required: v1.x80
AT Command: ATSH
Parameter Range: 0 - 0xFFFFFFFF [read-only]
Related Commands: SL (Serial Number Low),
MY (Source Address)
AT Command: ATSL
Parameter Range: 0 - 0xFFFFFFFF [read-only]
Related Commands: SH (Serial Number High),
MY (Source Address)