User's Manual
Table Of Contents
- 1. Overview
- 2. RF Module Operation
- 3. XBee ZigBee Networks
- Introduction to ZigBee
- ZigBee Stack Layers
- Networking Concepts
- ZigBee Application Layers: In Depth
- Coordinator Operation
- Router Operation
- End Device Operation
- Channel Scanning
- 4. Data Transmission, Addressing, and Routing
- 5. Security
- 6. Network Commissioning and Diagnostics
- 7. Managing End Devices
- 8. XBee Analog and Digital IO Lines
- 9. API Operation
- API Frame Specifications
- API UART Exchanges
- Supporting the API
- API Frames
- AT Command
- AT Command - Queue Parameter Value
- ZigBee Transmit Request
- Explicit Addressing ZigBee Command Frame
- Remote AT Command Request
- Create Source Route
- AT Command Response
- Modem Status
- ZigBee Transmit Status
- ZigBee Receive Packet
- ZigBee Explicit Rx Indicator
- ZigBee IO Data Sample Rx Indicator
- XBee Sensor Read Indicator
- Node Identification Indicator
- Remote Command Response
- Over-the-Air Firmware Update Status
- Route Record Indicator
- Many-to-One Route Request Indicator
- Sending ZigBee Device Objects (ZDO) Commands with the API
- Sending ZigBee Cluster Library (ZCL) Commands with the API
- Sending Public Profile Commands with the API
- 10. XBee Command Reference Tables
- 11. Module Support
- Appendix A: Definitions
- Appendix B: Agency Certifications
- United States FCC
- OEM Labeling Requirements
- FCC Notices
- FCC-Approved Antennas (2.4 GHz)
- Europe (ETSI)
- OEM Labeling Requirements
- Restrictions
- Declarations of Conformity
- Approved Antennas
- XBee RF Module
- XBee-PRO (S2) RF Module
- XBee-PRO (S2B) RF Module
- Canada (IC)
- Transmitters for Detachable Antennas
- Detachable Antenna
- Appendix C: Migrating from ZNet 2.5 to XBee ZB
- Appendix D: Additional Information
XBee®/XBee‐PRO®ZBRFModules
©2009DigiInternational,Inc. 81
Note: SP controls the packet buffer time on routers and coordinators. SP should be set on all
router and coordinator devices to match the longest end device SP time. See the XBee Router /
Coordinator Configuration section for details.
Extended Cyclic Sleep
In extended cyclic sleep operation, an end device can sleep for a multiple of SP time which can
extend the sleep time up to several days. The sleep period is configured using the SP and SN
commands. The total sleep period is equal to (SP * SN) where SP is measured in 10ms units. The
SO command must be set correctly to enable extended sleep.
Since routers and coordinators can only buffer incoming RF data for their end device children for
up to 30 seconds, if an end device sleeps longer than 30 seconds, devices in the network need
some indication when an end device is awake before they can send data to it. End devices that use
extended cyclic sleep should send a transmission (such as an IO sample) when they wake to
inform other devices that they are awake and can receive data. It is recommended that extended
sleep end devices set SO to wake for the full ST time in order to provide other devices with enough
time to send messages to the end device.
Similar to short cyclic sleep, end devices running in this mode will return to sleep when the sleep
timer expires, or when the SI command is received.
Transmitting RF Data
An end device may transmit data when it wakes from sleep and has joined a network. End devices
transmit directly to their parent and then wait for an acknowledgment to be received. The parent
will perform any required address and route discoveries to help ensure the packet reaches the
intended destination before reporting the transmission status to the end device.
Receiving RF Data
After waking from sleep, an end device sends a poll request to its parent to determine if the parent
has any buffered data for it. In pin sleep mode, the end device polls every 100ms while the
Sleep_RQ pin is de-asserted (low). In cyclic sleep mode, the end device will only poll once before
returning to sleep unless the sleep timer (ST) is started (serial or RF data is received). If the sleep
timer is started, the end device will continue to poll every 100ms until the sleep timer expires.
On/Sleep
Δt = SP
Δt = SP * SN
(SN = 1)
Setting SN > 1 allows the XBee to silently poll for data without asserting On /Sleep. If RF data is received
when polling, On/Sleep will immediately assert .
Transmitting poll request to parent
Δt = SP
Sleep_RQ
Transmitting Poll
Request
Legend
Δt = SP * SN
On/Sleep
(SN = 3)
Transmitting poll request to parent