Suchen Sie etwas anderes?
Scenario details:
- We have 100 devices with an RS232 port (115200,8,N,1 and flow control HW), which need to be monitored from a Central Control Post via GPRS. For this MTX-Tunnel will be used, which will act as a 2G/3G/4G-Serial transparent tunnel
- The modems will be periodically connected, for 5 minutes every 20 minutes, to a central server via a TCP client socket
- Once connected to the central server, the modems must identify themselves by sending an identifier string+IMEI. After sending the identifier string, the modem must set a 2G/3G/4GRS232 transparent gateway for those 5 minutes
- To be able to access the remote maintenance of the modem, the Telnet service and SMS settings must be enabled
Solution: MTX-Tunnel firmware + MTX-Java-IoT/MTX-Java-T/MTX-Java-T2
EXAMPLE of settings (file config.txt) for this scenario:
Configuration | Observations |
COMM_baudrate: 115200 COMM_bitsperchar: 8 COMM_autocts: on COMM_autorts: on COMM_stopbits: 1 COMM_parity: none GPRS_apn: movistar.es GPRS_login: MOVISTAR GPRS_password: MOVISTAR GPRS_timeout: 5 GPRS_autoTimeout: off MTX_PIN: 0000 MTX_model: MTX-4G-JAVA-IOT-STD-N MTX_mode: client MTX_urc: off MTX_IDClient: ID0001 MTX_IDClientExtended: imei MTX_TPServer: null MTX_alwaysConnectedClient: off WAKEUP_timeEnabled: on WAKEUP_time1: XXXX00 WAKEUP_time2: XXXX20 WAKEUP_time3: XXXX40 TCP_IP: ipServidor.midominio.com TCP_port: 20010 FIREWALL_enabled: off TELNET_enabled: on TELNET_login: user TELNET_password: 1234 TELNET_firewall: off SMS_allPhones: on SMS_ATEnabled: on SMS_ATResponse: on |
Serial port baud rate 8 bit data CTS hardware control enabled RTS hardware control enabled 1 stop bit No parity GPRS APN by GSM operator GPRS Login GPRS Password The gateway will last 5 minutes Duration doesn’t restart when data is received If the SIM card does not have a PIN, 0000 MTX chosen The modem is set up as TCP server We do not need URC information messages Modem identifier Besides the identifier, we want the IMEI to be sent We don’t want a real time server We don’t want the socket to reconnect We want a time delay per hour The socket will be set at 00 minutes of every hour The socket will be set at 20 minutes of every hour The socket will be set at 40 minutes of every hour DNS (o IP) where the modem will be connected Where the modem will be connected Firewall is disabled We enable Telnet to send remote commands… Telnet login Telnet password The MTX accepts telnet connections from any IP All phones are authorized We enable AT command via SMS We enable replies via SMS to the AT commands |