Enable incoming TCP connections
TCP establishes virtual connections between the XBee Smart Modem and other devices. You can enable the XBee Smart Modem to listen for incoming TCP connections. Listen means waiting for a connection request from any remote TCP and port.
The following device supports incoming TCP connections:
- Digi XBee 3 Cellular AT&T LTE Cat 1
- Part number: XB3-C-A1-UT-xxx (Digi XBee 3 Cellular AT&T LTE Cat 1)
The XBee Smart Modem only supports incoming TCP and UDP connections as configured in IP (IP Protocol), TLS is not supported.
Enable incoming connections in XCTU
- Set AP (API Enable) to Transparent Mode [0] or API Mode. You can use either API mode with escapes or without escapes.
- Set IP to TCP [1] or UDP [0].
- Set C0 (Source Port) to the value of the TCP port that the device listens on.
- Click the Write button
.
Enable incoming connections in MicroPython
When you enable incoming connections in MicroPython (set AP (API Enable) to MicroPython REPL [4]), note that the port and protocol are specified in the MicroPython code. No extra steps are needed.