Suchen Sie etwas anderes?
Scenario details:
- We need to monitor 100 devices with the RS232 port (115200.8.N.1 and HW flow control) from a central control station using a 3G link. This will be done with the MTX-Tunnel to act as a transparent 4G-RS232 tunnel
- Access to the RS232 remote devices at any time is mandatory. So the modem connected to the serial port device (which needs to be controlled) must remain permanently connected to the 4G, waiting for a connection. Access to the modems must only be allowed for the IP coming from the PC Control (200.200.200.200) and also for a backup IP coming from the central office ADSL line, which is: 200.200.200.201
- In order to reduce costs, SIM cards use dynamic IP addressing. As we have a large number of modems, we will not use DynDNS. Instead, every time the MTX Tunnel sends the IP that it has been assigned (by the GSM operator) to a control centre. Every time a modem changes its IP address, the new IP must be sent to the control centre in order to report the change (IP 200.201.202.203 and port TCP 20000). This way, the PC control centre always knows the current IP of each modem
MTX-Tunnel firmware + MTX-Java-IoT/MTX-Java-T/MTX-Java-T2
Config.txt configuration file:
Configuration | Observations |
COMM_baudrate: 115200 |
Serial port baud rate 8 bit data CTS hardware control enabled RTS hardware control enabled 1 stop bit No parity GPRS APN from your network operator GPRS Login GPRS Password Google DNS. Must be used if TCP_IP is set to DNS Value 0 means MTX-Tunnel is GPRS always connected If SIM card has no PIN security, use 0000 MTX terminal modem model used TCP server mode URC messages will not be sent TCP port used Accepts connections from authorized IPs This IP address can only connect to remote modem This IP address can only connect to remote modem DNS service enabled DNS server information sent via socket type Password string sent in DNS communication DNS server IP address DNS server TCP port open GPIO and ADC values extra information is not sent |