User's Manual

Table Of Contents
Contents
XBee®/XBeePRO®ZBRFModules
©2009DigiInternaitonal,Inc. 5
XBee Analog and Digital IO Lines 86
IO Configuration 86
IO Sampling 86
Queried Sampling 88
Periodic IO Sampling 88
Change Detection Sampling 88
RSSI PWM 88
IO Examples 89
API Operation 90
API Frame Specifications 90
API Examples 92
API UART Exchanges 93
AT Commands 93
Transmitting and Receiving RF Data 93
Remote AT Commands 93
Source Routing 94
Supporting the API 94
API Frames 94
AT Command 94
AT Command - Queue Parameter Value 95
ZigBee Transmit Request 95
Explicit Addressing ZigBee Command Frame 97
Remote AT Command Request 99
Create Source Route 100
AT Command Response 101
Modem Status 101
ZigBee Transmit Status 102
ZigBee Receive Packet 103
ZigBee Explicit Rx Indicator 104
ZigBee IO Data Sample Rx Indicator 105
XBee Sensor Read Indicator 106
Node Identification Indicator 108
Remote Command Response 109
Over-the-Air Firmware Update Status 110
Route Record Indicator 111
Many-to-One Route Request Indicator 112
Sending ZigBee Device Objects (ZDO) Com-
mands with the API 113
Sending ZigBee Cluster Library (ZCL) Com-
mands with the API 115
Sending Public Profile Commands with the API
117
XBee Command Reference Tables 118
Module Support 128
X-CTU Configuration Tool 128
Customizing XBee ZB Firmware 128
Design Considerations for Digi Drop-In Net-
working 128
XBee Bootloader 128
Programming XBee Modules 129
Serial Firmware Updates 129
Invoke XBee Bootloader 129
Send Firmware Image 129
SIF Firmware Updates 130
Writing Custom Firmware 130
Regulatory Compliance 130
Enabling GPIO 1 and 2 130
Detecting XBee vs. XBee-PRO 131
Ensuring Optimal Output Power 131
Improving Low Power Current Consumption
132
XBee (non-PRO) Initialization: 132
When sleeping (end devices): 132
When waking from sleep (end devices): 132
Appendix A:Definitions 133
Appendix B: Agency Certifications 135
Appendix C:Migrating from ZNet 2.5 to XBee ZB
143
Appendix D:Additional Information 144