Socket Connect Response - 0Xc2 - Digi XBee 3 Cellular LTE-M User Manual

Smart modem
Table of Contents

Advertisement

API frames

Socket Connect Response - 0xC2

Description
The device sends this frame in response to a
status regarding the initiation of the connect.
It is not permitted to proceed transmitting data on this socket until after a Socket Status frame has
been received, indicating success.
Format
The following table provides the contents of the frame. For details on frame structure, see
format.
Field name
Field value
Frame type
0xC2
Frame ID
Socket ID
Status
The following table shows the status codes.
Code
0x00
0x01
0x02
0x03
0x04
0x05
0x20
Digi XBee® 3 Cellular LTE-M/NB-IoT Global Smart Modem User Guide
Socket Connect (0x42)
Data type
Description
Byte
Byte
A reference identifier used to match status responses.
Byte
ID of the socket that will be connected.
Byte
Status code. See the table below.
Description
Successfully started the connection process
Invalid destination address type
Invalid parameter: address or port
Connection already in progress
Already connected
Socket Connect is not allowed on this socket. The
socket is closed, closing, or in a bound/listening
state.
Invalid socket ID
Socket Connect Response - 0xC2
frame. The frame contains a
API frame
278

Advertisement

Table of Contents
loading

This manual is also suitable for:

Xbee 3 cellular nb-iot

Table of Contents