Socket Bind/Listen - 0X46 - Digi XBee 3 Cellular LTE-M User Manual

Smart modem
Table of Contents

Advertisement

API frames

Socket Bind/Listen - 0x46

Description
Opens a listener socket that listens for incoming connections.
When there is an incoming connection on the listener socket, a
sent, indicating the socket ID for the new connection along with the remote address information.
For a UDP socket, this frame binds the socket to a given port. A bound UDP socket can receive data
with a
Socket Receive From: IPv4 - 0xCE
Format
The following table provides the contents of the frame. For details on frame structure, see
format.
Field name
Frame type
Frame ID
Socket ID
Source port
Digi XBee® 3 Cellular LTE-M/NB-IoT Global Smart Modem User Guide
frame.
Field
value
Data type
0x46
Byte
Byte
Byte
16-bit big endian The port to listen on.
Socket Bind/Listen - 0x46
Socket New IPv4 Client - 0xCC
Description
A reference identifier used to match status
responses. If set to 0, the device does not
send a response.
The socket ID to listen on.
frame is
API frame
283

Advertisement

Table of Contents
loading

This manual is also suitable for:

Xbee 3 cellular nb-iot

Table of Contents