July 2, 2018 - 1:43pm, 1744 views
I would like to understand a bit more about the EHS6T terminal. I would like to understand if there is a separate hardware that runs the OPENWRT or it is possible to run in the GEMALTO module.
OpenWrt Linux system is runnig on the separate processor and it controls the LAN functionality. EHS6 module is connected over USB and is used as a modem. It is also possible to control EHS6 module (execute AT commands) over LAN.
Understood, thank you very much for the quick response.
Communication between a Java program on the modem and the OpenWRT Linux can be done through an internal USB port.An easy test is to set AT^SCFG="Userware/Stdout","usb1" on the modem side and read it by cat < /dev/ttyACM1 on the OpenWRT side. Loading, installing and starting e.g. HelloWorld will show the output on the /dev/ttyACM1 on the OpenWRT side.Here is some USB port information I found so far, by trial and error:
USB1 - /dev/ttyACM1 can be used both ways to communicate between the modem and OpenWRTUSB2 - /dev/ttyACM2 can be used both ways to communicate between the modem and OpenWRTUSB3 - /dev/ttyACM3 telnet port to modem AT command interface ("telnet localhost 1234")USB4 - /dev/ttyACM4 3G modem communications (gateway usage)USB5 - /dev/ttyACM5 smsd if used (creates a large log, disable: /etc/init.d/smstools3 disableUSB6 - /dev/ttyACM6 can be used both ways to communicate between the modem and OpenWRT
- USB1 and USB2 are reserved for tracing by Gemalto M2M GmbH (on device debugging) so be careful during development phaseThere are many ways to write a script on the OpenWRT side to read a port and store the results. like:while :; do read X < /dev/ttyACM1; echo $X > /tmp/all_information; done &You can also write a script with a while loop and monitor a command like reboot.When thie string comes, the script reboots the OpenWRT side.Best regards,AnteroOne EHS6T LAN hint: if you have set the APN using the graphical user interface at 192.168.1.1, this value will override the settings written on the /etc/apnlist file...
Communication and Mechatronics
Enkom Active Oy – www.enkom-active.fi
Upseerinkatu 3 A, 02600 Espoo, Finland
Mobile: +358 400 411368
Office: +358 10 204 0000
Fax: +358 10 204 0010
© 2013-2022 THALES DIS AIS Deutschland GmbH