Enable incoming TCP connections
TCP establishes virtual connections between the XBee Cellular Modem and other devices. You can enable the XBee Cellular Modem to listen for incoming TCP connections. Listen means waiting for a connection request from any remote TCP and port.
The XBee Cellular 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.