API operation
Frame descriptions
XBee Wi-Fi RF Module User Guide
126
Transmission Status frame - 0x89
Description
The XBee Wi-Fi RF Module sends RF transmission status messages in response to transmission
attempts.
Format
The following table provides the contents of the frame.
Frame
data fields Offset Description
Frame type 3
0x89
Frame ID
4
Identifies the frame for which status is being reported. This number
corresponds with the Frame ID provided in the transmission. If that frame ID
was
0
, then this frame is not generated.
Status
5
0x00 = Success.
0x03 = Transmission was purged because it was attempted before stack was
completely up.
0x04 = Physical error occurred on the interface with the Wi-Fi transceiver.
0x21 = TX64 transmission timed out awaiting an acknowledgment from the
remote device.
0x32 = Resource Error. Either buffers or sockets were depleted, preventing a
transmission from occurring.
0x74 = Message not sent because it was too long.
0x76 = Attempt to create a client socket failed.
0x77 = TCP connection to given IP address and port does not exist. Source
port is non-zero so that a new connection is not attempted.
0x78 = Source port on a UDP transmission does not match a listening port on
the transmitting device.
Example
The following API frame is returned when a successful transmission occurs on an API transmission
using frame ID 01.
Frame data fields
Offset
Example
Start delimiter
0
0x7E
Length
MSB 1
0x00
LSB 2
0x03
Frame type
3
0x89
Frame ID
4
0x01
Status
5
0x00
Checksum
6
0x75