XBee® Wi-Fi RF Modules
© 2013 Digi International, Inc. 5
I/O Sampling ..................................................................................................................................... 53
Queried Sampling ......................................................................................................................... 54
Periodic I/O Sampling ................................................................................................................... 55
Change Detection Sampling ......................................................................................................... 55
I/O Examples ................................................................................................................................. 56
General Purpose Flash Memory ....................................................................................................... 56
Accessing General Purpose Flash Memory .................................................................................. 56
Working with Flash Memory ........................................................................................................ 63
Over-the-Air Firmware Upgrades ..................................................................................................... 63
Distributing the New Application ................................................................................................. 63
Verifying the New Application ...................................................................................................... 64
Installing the Application .............................................................................................................. 64
Things to Remember .................................................................................................................... 65
7. API Operation ................................................................................................................................... 66
API Frame Specifications .................................................................................................................. 66
API UART and SPI Exchanges ............................................................................................................ 69
AT Commands............................................................................................................................... 69
Transmitting and Receiving RF Data ............................................................................................. 69
Remote AT commands ................................................................................................................. 70
Supporting the API........................................................................................................................ 70
API Frames ........................................................................................................................................ 71
TX (Transmit) Request: 64-Bit....................................................................................................... 71
Remote AT Command Request .................................................................................................... 72
AT Command ................................................................................................................................ 73
AT Command-Queue Parameter Value ........................................................................................ 74
ZigBee Transmit Packet ................................................................................................................ 75
ZigBee Explicit Transmit Packet .................................................................................................... 76
ZigBee Remote AT Command ....................................................................................................... 77
Transmit (TX) Request: IPv4 ......................................................................................................... 78
Put Request .................................................................................................................................. 79
Device Response ........................................................................................................................... 80
Rx (Receive) Packet: 64-bit .......................................................................................................... 81
Remote Command Response ....................................................................................................... 82
AT Command Response ................................................................................................................ 83
Transmission Status ...................................................................................................................... 84