I am trying apply MC7710 to my linux embedded platform.
I can successful dial-up with pppd via ttyUSB2.
But I can’t get information from MC7710 anymore after ppp configured.
It seems such condition is caused by ttyUSB2 opening by pppd.
I tried to send AT commands to remaining ttyUSB(0, 1 and 3) interfaces, there is not response.
It seems this is normal condition,
beause MC7710 only have one port for AT command as below according to 2130634 USB Driver Developers Guide Rev 5.pdf
ttyUSB0 -> DM
ttyUSB1 -> NMEA
ttyUSB2 -> AT
ttyUSB3 -> NET
Could someone provide some suggestion to me for how to query information from MC7710 after ppp configured?
Or where I can find related information?
There is no easy way to do this, is there any reason you are not using DirectIP which initiates the network interface in Linux leaving the AT command port free to perform all of the other functions you want it to do?
Thanks for your reply.
The MC7710 module I have only support QMI mode.
I haven’t chance to try with DirectIP mode.
I trying search some information by google.
It seems I still can use QMI port (ttyUSB3) to connect to service provider.
And keep AT port for AT command.
But, I have not idea for how to do it yet.
To get QMI running you should talk to the tech support of your commercial channel.
One of the points of QMI is that by running it you are replacing AT commands with a software API based interface which is faster and easier to program with i.e. no more blocking of an interface waiting for a response, no more parsing of strings, etc. Plus there is alot of information available faster through QMI over and above AT commands.
Thanks for your reply again.
Is your meaning I should get some patches from commerical channel?
Besides, I found a kernel module qmi_wwan by google.
I had tried to apply them to my kernel 2.6.36 and build a firmware under trying.
But, so far, I can’t get it work.
It seems kernel didn’t detect my module while I plug-in it.
I had confirmed the vender id and device id exist in the patches already.
Could you give me soume suggestion for this module if you have any experience?
No I meant you should be able to get specific tech support from your channel.
Having re read the thread just wanted to re visit one point, all MC7710’s can operate in either QMI or DirectIP mode, to swtich between these modes you just need to change the PID, to do this run the below commands
Unit should now fire up into DirectIP mode and your system has probably already got these drivers installed. Now you can connect to /dev/ttyUSB3 and send at commands. Here you just need to end the below to get an internet connection.
Once the session is setup the scact will return ok and you can continue to send AT commands, you should then see a session come up on your system as the interface is activated.
You may need to direct the packets with some thing like ‘dhclient wwan0’ in a terminal but that’s it.
As I know, my modem didn’t support Direct IP mode.
I will modify the PID to try per your instruction.
Besides, I got SLQS and QMI driver, and applied them to my platform already.
I can connect to my LTE service provider via QMI port now.
I am very appreciate your useful information and sharing.
Thank your very much.