ELS61T-E2 Developing of midlet | Thales IoT Developer Community
January 24, 2019 - 4:04pm, 1052 views
Hi,
I've got an ELS61T-E2 and stuck with uploading of java MIDlet.
This terminal has no USB port available, only LAN / RS-232.
What is the correct scenario to upload java MIDlets for it?
Can MIDlet be debugged? How to read the java console running on the device?
Currently, I'm able to connect via telnet and 1234 port. As I found out that MIDlets can be uploaded with AT commands. Is there any alternative, more convenient method available?
I need also to connect a power meter from Schneider which works via Modbus (RS-485). Is there any existing code available to work with Modbus? Seems to be a pretty common task.
really appreciate your help
Max
Hello,
LAN terminal includes a Gemalto module and an additional processor which runs OpenWrt Linux system. OpenWrt is responsible for LAN functionality and is using Gemalto module as a modem to access the network. ELS61 module is connected to OpenWrt system via USB.
You can upload the MIDlet over RS232 interface. If you don't have RS232 in your PC you can also use some RS232-USB converter. On Windows PC you can use MES (provided on the installation CD) to access the module's flash drive with GUI or command line.
On one physical USB there are a few ports which enumerate in the system (in this case OpenWrt). One of the USB interfaces is available via LAN (telnen on 1234 port). You can also connect via ssh to OpenWrt console and access the other USB interfaces (seen as /dev/tty/ttyACMx). So you are able to configure System.out via LAN on some USB interface and then read the output.
LAN terminal does not have RS485 so you'd need an additional hardware (there is EHS5T RS485 version, but there is no LAN). We don't have any Modbus examples or libraries unfortunately.
Best regards,
Bartłomiej