Using linux driver on EHS6 Modem | Thales IoT Developer Community
June 15, 2015 - 6:13pm, 6214 views
I need to use linux driver to configure ehs6 modem. I want to be able to open a socket connection and send and receive messages using linux.
Sorry if my question is too dummy, but I am new on this subject.
Do you guys could give me some tips or point me some directions ?
Hi,The way to obtain the drivers and documentation is to contact your local Gemalto M2M representative.
From my experience with BGS5T and I belive that EHS6 is similar, you have two possible ways to achive what you want.
First one is with AT commands and seccond is with java MIDlet. I don't know what type of project you have so I can't tell you which way is better for you. But for seccond you need some Java knowleadge and IDE like Eclipse or Netbeans.
On BGS5T you can send AT commands trough ASC0 or ASC1(RS232 port) even without drivers. You just need some terminal on your computer and usb -> rs232 cabel and some kind of terminal. I use Termite: http://www.compuphase.com/software_termite.htm . So you should probably try to run some AT commands first, which you will later also need to start, install, stop, delte MIDlet's if you will use them.
Here is also Gemalto tutorial which explains internet services: https://iot-developer.thalesgroup.com/tutorial/concept-board-internet-se...
I hope that this helps you stared.
You do not need any special driver to handle your EHSx with Linux.
The USB port is CDC-ACDM and you will show the ports under /dev/ttyACM*
Just use the selected /dev/ACM por to send AT command
Many Terminal application can be suitable to adress the EHSx ( minicom for example)
Somewhere over the rainbow!!! Looking for the Oz Land!!!
Thanks for the feedback.
In fact I am sending the AT commands via /dev/ttyACM* ports. However after I get a 'CONNECT' I also get a 'NO CARRIER'. Do you guys know how to solve that ?
I need to establish a connection to be able to configure the ppp files on linux (peers and chat scripts).
It seems that the problem is not connected with linux.
Could you provide some log from what you're doing on the module?
Follow attached the log from ehs6 modem.
The log seems fine for now. That's what happens when you issue ATD*99***1# command from the terminal and wait. There will be some strange characters (which are the PPP protocol messages) and finally NO CARRIER.
To make the dialup connection you need to use some ppp libraries to implement the ppp protocol handshake and connection establishment on the PC which should start after CONNECT (the PPP protocol is not implemented on the module). If there's no reply from the PC the connection will be disconnected.