
Socket behavior
Transparent mode behavior for outgoing UDP data
Digi XBee® 3 Cellular LTE-M/NB-IoT Global Smart Modem User Guide
162
Transparent mode behavior for outgoing UDP data
To send outgoing UDP data to a remote host, send data to the XBee Smart Modem's serial port. If
(Protocol/Connection Indication)
reports a value of
0
, the data was successfully sent; otherwise, the
value of
CI
indicates why the data failed to be sent.
The
setting provides some control in how the serial data gets packetized
before being sent to the remote host. The first send opens up a UDP socket used to send and receive
data. Any data received by this socket is sent out the XBee Smart Modem's serial port.
Note
Set
RO
to
FF
for realtime typing by humans. Also, see
Transparent mode behavior for incoming TCP connections
The
and
settings specify the listening port and protocol used for
incoming connections (TCP) and incoming data (UDP) in Transparent mode. TLS is not currently
supported for incoming connections.
Note
For NB-IoT, TCP support is dependent on the network. Contact your network provider for
details.
When the
IP
setting is TCP and there is no existing connection to or from the XBee Smart Modem, the
device accepts one incoming connection. Any data received on the connection is sent out the XBee
Smart Modem's serial port. Any data sent to the XBee Smart Modem's serial port is sent over the
connection. If the connection is disconnected, it discards pending data.
Transparent mode behavior for incoming UDP connections
When the
setting is UDP any data sent from a remote host to the XBee Smart
Modem's network port specified by
is sent out the XBee Smart Modem's serial port.
Any data sent to the XBee Smart Modem's serial port is sent to the network destination specified by
the
and
settings. If the
DL
and
DE
settings are
unspecified or invalid, the XBee Smart Modem discards data sent to the serial port.