EHS6T-USB: What is the function of every /dev/ttyACMx? | Telit Cinterion IoT Developer Community
March 9, 2017 - 10:16am, 4943 views
I have tried to find a thread about this question, but I have not got nothing. I have also checked the documents:
- BGS5 AT command Set.pdf
I have worked with Quectel´s UC20, it has 4 usb ports:
* ttyUSB0 --> DM (Diagnose port, used for FWupgrade and catching log)
* ttyUSB1 --> GPS NMEA out
* ttyUSB2 --> AT commands
* ttyUSB3 --> PPP or AT commands
The EHS6T-USB offers 6 /dev/ttyACMx, but it looks like the 6 ports had the same function.
Every ttyACMx has a functionality or the 6 ports has the same function?
Thanks in advice.
Please check the AT^SCFG command with "Serial/Interface/Allocation" parameter which configures which interfaces are available for AT commands.
USB0 should be the modem interface.
Thanks for your reply!
Yes, with this command I select what ASCx and USBx interfaces are enabled for debug or AT commands. But I want to use the modem from a SBC, the modem isn´t controlled for a Java application.
When I apply the AT^SCFG? command, I get:
The interface USB0 is ready to be used from my SBC, and my OS detects 6 USB devices (for Linux and Windows). The questions is:
Why do I get 6 USB devices with only one modem?
I have to make one information more precise because I might have mislead you - the USB0 is dedicated for modem only for Windows. For Linux all the interfaces are equal.
There is more than one AT commands interpreter and you can use more than one USB interfaces. Usually you need one modem but you might want to execute some at commands while the modem is used.
Or you might have some MIDlet application on the module that exchanges some data over one USB interface with your device.
In case of EHS8 you would have one of the USB interfaces dedicated for outputting NMEA data for example.
Thanks a lot for your response. If I said consufed words, sorry.
Well, you have replied to my question:
>>For Linux all the interfaces are equal.
It´s no problem. Therefore, several AT commands interfaces may be a good feature for my applicantion. I want to create a PPP client and to check the RSSI with "AT+CSQ" simultanously.
Late, just in case it helps, with the modem default config I use ttyACM0 for PDP context activation and PPP operation and use ttyACM3 for commands.
for EHSx, ACM0 is modem port and all other ACM configured as normal ACM, simple undertand as a UART is OK.
^SCFG allow you output data on each ACM, normally:
ACM0: Modem port, dail up, firmware update
ACM3/4/5: Application channel
ACM1/2/6: DIAG port
Be the best or become to rest