Tunnel – MTXTunnel configured as TCP/IP client and connected permanently to LTE/4G. Network operator dynamic IP addresses are used

¿Buscas alguna otra cosa?

Scenario details:

  • There are 3 RS232 remote devices, configured as a 9600, 8, N, 1 and no flow control. We need to control and monitor from a central server –PC with internet connection
  • You need to access them occasionally with a remote control. Therefore the modem connected to remote devices does not need to be permanently connected to the 4G. The modem will only connect to the 4G when it receives a missed call or an SMS with the text string “on” from any phone number. Then, the modem will connect to the 3G waiting for an input connection request in TCP port number 20010
  • We will use dynamic IP address network operator SIM cards

Solution: MTX-Tunnel firmware + MTX-Java-IoT/MTX-Java-T/MTX-Java-T2

Config.txt configuration file:

Configuration Observations

COMM_baudrate: 9600
COMM_bitsperchar: 8
COMM_autocts: off
COMM_autorts: off
COMM_stopbits: 1
COMM_parity: none
GPRS_apn: movistar.es
GPRS_login: MOVISTAR
GPRS_password: MOVISTAR
GPRS_timeout: 10
MTX_PIN: 0000
MTX_model: MTX-IOT-4G
MTX_mode: server
MTX_urc: off
TCP_port: 20010
FIREWALL_enabled: off
SMS_allPhones: on
SMS_sendIP: on

Serial port baud rate
8 bit data
CTS hardware control disabled
RTS hardware control disabled
1 stop bit
No parity
GPRS APN from your network operator
GPRS Login
GPRS Password
Connected 10 min if there’s no serial data traffic
If SIM card doesn’t have PIN security, use 0000
MTX-Terminal modem model used
TCP server mode
URC messages will be not output
TCP port used
Firewall disabled: Any incoming connection is allowed
All phone numbers are authorized
IP sent to phone which made a call or “on” text SMS

Details:

  • GPRS_timeout: 10” makes the 2G/3G/4G connection activate itself after the missed call or incoming SMS with “on” text string but stop after 10 min. without GPRS/3G/4G data traffic
  • As an example, if the data is transferred in 30 minutes, then the connection will be closed after another 10 minutes, giving a total of 40 minutes.