API frames Socket Status - 0xCF
Digi XBee® 3 Cellular LTE Cat 1 AT&T Smart Modem User Guide
281
Socket Status - 0xCF
Description
This frame is sent out the device's serial port to indicate the state related to the socket.
Format
The following table provides the contents of the frame. For details on frame structure, see API frame
format.
Field name Size Description
Frame type 1 Socket Status frame type (0xCF)
Socket ID 1 Socket ID for status reported
Status 1 0x00 = Connected
All values other than 0x00 = Connected are fatal and the
Socket ID is closed and invalid after receipt.
0x01 = Failed DNSlookup
0x02 = Connection refused
0x03 = Transport closed
0x04 = Timed out
0x05 = Internal error
0x06 = Host unreachable
0x07 = Connection lost
0x08 = Unknown error
0x09 = Unknown server
0x0A = Resource error