API frames Socket Connect Response - 0xC2
Digi XBee® 3 Cellular LTE Cat 1 AT&T Smart Modem User Guide
271
Socket Connect Response - 0xC2
Description
The device sends this frame in response to a Socket Connect (0x42) frame. The frame contains a
status regarding the initiation of the connect.
Format
The following table provides the contents of the frame. For details on frame structure, see API frame
format.
Field name Field value Data type Description
Frame type 0xC2 Byte
Frame ID Byte A reference identifier used to match status responses.
Socket ID Byte ID of the socket that will be connected.
Status Byte Status code. See the table below.
The following table shows the status codes.
Code Description
0x00 Successfully started the connection process
0x01 Invalid destination address type
0x02 Invalid parameter: address or port
0x03 Connection already in progress
0x04 Already connected
0x05 Unknown error
0x20 Invalid socket ID