
API operation
Frame descriptions
XBee Wi-Fi RF Module User Guide
143
Frame Error - 0xFE
Description
This frame is sent to the serial port for any type of frame error.
Note
This frame may be sent out the serial port in addition to a
.
Format
The following table provides the contents of the frame.
Frame
data fields Offset Description
Frame type 3
0xFE
Status
4
0x02 = Invalid frame type.
0x03 = Invalid frame length.
0x04 = Erroneous Checksum on last frame.
0x05 = payload of last API frame was too big to fit into a buffer.
0x06 = string entry was too big on last API frame sent.
0x07 = Wrong state to receive frame (for example, a device response was
sent out without first receiving a device request).
0x08 = Device request ID of device response didn’t match the number in the
request.
Example
Frame data fields
Offset
Example
Start delimiter
0
0x7E
Length
MSB 1
0x00
LSB 2
0x02
Frame type
3
0xFE
Status
4
0x07
Checksum
6
0xFA