
API frames
Socket Create Response - 0xC0
Digi XBee® 3 Cellular LTE-M/NB-IoT Global Smart Modem User Guide
274
Socket Create Response - 0xC0
Description
The device sends this frame in response to a
frame. It contains a socket ID that
should be used for future transactions with the socket and a status field.
If the status field is non-zero, which indicates an error, the socket ID will be set to 0xFF and the socket
will not be opened.
Format
The following table provides the contents of the frame. For details on frame structure, see
Field name
Field
value
Data
type
Description
Frame type
0xC0
Byte
Frame ID
Byte
A reference identifier used to match status
responses.
Socket ID
Byte
A unique socket ID to address the socket. This field
is 0xFF if the value in the status field is non-zero.
Status
Byte
Status code. See table below.
The following table shows the status codes.
Code
Description
0x0
Successful open
0x22
Not registered to cell network
0x31
Internal error
0x32
Resource error: retry the operation later
See
.
0x7B
Invalid protocol
0x7E
A modem update is in process. Try again after its completion.
0x85
Unknown error
0x86
Invalid TLS configuration