
API operation
Frame descriptions
XBee Wi-Fi RF Module User Guide
120
Device Response - 0x2A
Description
This frame type is sent to the serial port by the host in response to the device request (0xB9). It
should be sent within five seconds to avoid a timeout error.
Format
The following table provides the contents of the frame.
Frame data
fields
Offset Description
Frame type
3
0x2A
Frame ID
4
Identifies the frame for the device response status. If
0
, then no device
response status is received.
Device request ID 5
This number should match the device request ID in the device request.
Otherwise, an error occurs. If Device Request ID was 0 in the 0xB9
frame, then this Device Response (0x2A) frame is not expected from the
serial port.
Reserved
6
Must be
0
for now.
Data
7-11
The particular data for the device response is application dependent.
Example
Frame data fields
Offset
Example
Start Delimiter
0
0x7E
Length
1-2
0x0009
Frame type
3
0x2A
Frame ID
4
0x01
Device request ID
5
0x00
Reserved
6
0x00
Data
7-11
Hello
Checksum
12
0xE0