
API frames
Socket Option Request - 0x41
Digi XBee® 3 Cellular LTE-M/NB-IoT Global Smart Modem User Guide
275
Socket Option Request - 0x41
Description
Use this frame to modify the behavior of sockets to change their behavior to be different than the
normal default behavior. If the Option Data field is zero-length the request acts as a query, and the
Socket Option Response frame (0xC1)
reports the current effective value.
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
0x41
Byte
Frame ID
Byte
A reference identifier used to match status
responses. Requests made with Frame ID 0 will not
send a response.
Socket ID
Byte
The socket ID to modify.
Option ID
Byte
Identifier of the parameter to change.
Option Data
Variable
Variable length field based on option type. If zero
length, the current effective value will be returned in
the response frame.
Options
Option ID
Option Name
Data Type
Default Value
Description
0x00
TLS Profile
Byte
0x00
Determines the TLS
profile to be used:
$0 - $2. This is valid
only for TLS sockets.