Is it possible installa a midlet in a EHS6TLAN? | Telit Cinterion IoT Developer Community
November 3, 2018 - 4:20pm, 2031 views
Hello,
Acoording to this: https://iot-developer.thalesgroup.com/tutorial/hello-world-application i know how install a midlet in Gemalto EHS6TUSB and EHS5T-US RS45, both with a USB-B port, i developed the midlet and conected the Gemalto to the PC by USB and transfered the midlet and finally install it.
But, i can not do the same for the EHS6TLAN because that doesn't have USB-B.
It possible transfer the midlet by telnet, ssh or other way and then install it?
Thanks.
Hello,
LAN terminal has 2 processors - EHS6 module used as a modem and a processor controlled by OpenWrt Linux system used for the LAN functionality. OpenWrt is controlling EHS6 module over USB interface.
LAN terminal has RS232 interfaces which you can use to upload and install/run MIDlet. If your PC does not have RS232 you can use USB-RS232 converter. That would be the best way for development.
It is also possible to access AT interface of EHS6 module over Telnet 1234 port. You can send AT commands, for example to start a MIDlet. But you still need another interface for System.out.
It is possible to upload files to Linux system over FTP but then you'd have to prepare some script to move it to the module's file system. FTP can be used for module's firmware update - there is a ready script that does it (/etc/gmup.sh).
Best regards,
Bartłomiej
Hi,
You can also use OTAP to load and install MIDlets to the EHS6T LAN. If you enter
AT^SJOTAP= ,,,,,,,,,,,"on","off" you can also use text mode OTAP commands from a mobile phone.
I have tested this to run on my SIM subscriptions.
For the standard out, you can configure a USB port of the modem (e.g. usb1) by using:
AT^SCFG="Userware/Stdout","usb1" and read it at the OpenWRT side by cat </dev/ttyACM1,
This I have also tested and it works fine.
- the modem and OpenWRT side has been connected together with a USB link.
- after OTAP, the modem will boot and the telnet localhost 124 connection will be closed.
Best regards,
Antero
Antero Markkula
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
E-mail: antero.markkula@enkom-active.fi