PLS8 CDC-ACM driver & Connection Manager. | Thales IoT Developer Community
April 27, 2016 - 9:42am, 7292 views
Hello.
I'm currently analyzing and understand how to use the CDC-ACM USB interface in a Linux embedded system.
I know there is standard drivers for handling ethernet-over-USB low layer, but we have to know how to control the modem through this interface, like your ConnectionManager does in Windows...
Is it possible to get a CDC-ECM control protocol specification ?
Apart of that, could you tell me what are the parameters, and their values, sent through control CDC-ECM interface when selecting network adapter in Connection Manager for the PLS8(-X) ?
Thank you.
Vincent.
Hello,
ConnectionManager is using QMI from Qualcomm and we don't provide additional support for that.
But PLS8 should enumerate as CDC-ACM and you only may need to configure the context with AT+CGDCONT and activate it with AT^SWWAN command. For Linux you may also need to issue sudo dhcp usb0 or sudo dhcp usb1.
Regards,
Bartłomiej
Brilliant ! It's working so easily in Windows, shoule be no issue for Linux ! Thank you !
Vincent.
Hello,
About PHS8-P modems : I would like to do the same think than with the PLS8 and SWWAN command to configure and control the ECM/WWAN interface. Is it possible ?
I saw 17 is the cid reserved for WWAN interface.
Instead of PLS8 SWWAN command, that does not exists for PHS8, I saw CGACT command. But it does not work with AT+CGACT=1,17 (I get +CME ERROR: 21). And the AT+CGDCONT=17,"IP","apn" for configuring cid 17 and APN didn't work too (returns me ERROR).
Can you help me ?
Hello,
Please also check AT^SCFG="Serial/USB/DeviceClass/RmNet" and AT^SDPORT setting. There are different versions of PHS8. Please make sure that your device does not have AT^SWWAN command.
Please send the ATI1 reply if there still is a problem.
Regards,
Bartłomiej
Hello,
So my modem is a PHS8-P, I confirm there is no SWWAN command (returns me an error if I try), SDPORT is 3 (tried with 4 and 5 with no more success ; and then with 6 : but it does not enumerate the WWAN interface), and the Serial/USB/DeviceClass/RmNet SCFG parameter is not available...
AT^SCFG="Serial/USB/DeviceClass/RmNet","CDC-ECM" or AT^SCFG="Serial/USB/DeviceClass/RmNet","Vendor" returns me ERROR all the time.
I confirm AT+CGDCONT=17,"IP","apn" and AT+CGACT=1,17 are still not working in any SDPORT *****.
Here is a log, with ATI1 and more :
4/05/2016 13:23:03.54 [RX] - AT^SCFG=?<CR>
<CR><LF>
^SCFG: "Audio/Loop",("0","1")<CR><LF>
^SCFG: "Call/ECC",("0"-"255")<CR><LF>
^SCFG: "Call/Speech/Codec",("0","1")<CR><LF>
^SCFG: "GPRS/Auth",("0","1","2")<CR><LF>
^SCFG: "GPRS/AutoAttach",("disabled","enabled")<CR><LF>
^SCFG: "GPRS/MaxDataRate/HSDPA",("0","1")<CR><LF>
^SCFG: "GPRS/MaxDataRate/HSUPA",("0","1")<CR><LF>
^SCFG: "Ident/Manufacturer",(25)<CR><LF>
^SCFG: "Ident/Product",(25)<CR><LF>
^SCFG: "MEopMode/Airplane",("off","on")<CR><LF>
^SCFG: "MEopMode/CregRoam",("0","1")<CR><LF>
^SCFG: "MEopMode/CFUN",("0","1")<CR><LF>
^SCFG: "MEopMode/PowerMgmt/LCI",("disabled","enabled")<CR><LF>
^SCFG: "MEopMode/PowerMgmt/VExt",("high","low")<CR><LF>
^SCFG: "MEopMode/PwrSave",("disabled","enabled"),("0-600"),("1-36000")<CR><LF>
^SCFG: "MEopMode/RingOnData",("on","off")<CR><LF>
^SCFG: "MEopMode/RingUrcOnCall",("on","off")<CR><LF>
^SCFG: "MEShutdown/OnIgnition",("on","off")<CR><LF>
^SCFG: "Radio/Band",("1-511","0-1")<CR><LF>
^SCFG: "Radio/NWSM",("0","1","2")<CR><LF>
^SCFG: "Radio/OutputPowerReduction",("4"-"8")<CR><LF>
^SCFG: "Serial/USB/DDD",("0","1"),("0"),(4),(4),(4),(63),(63),(4)<CR><LF>
^SCFG: "URC/DstIfc",("mdm","app")<CR><LF>
^SCFG: "URC/Datamode/Ringline",("off","on")<CR><LF>
^SCFG: "URC/Ringline",("off","local","asc0","wakeup")<CR><LF>
^SCFG: "URC/Ringline/ActiveTime",("0","1","2","keep")<CR><LF>
<CR><LF>
OK<CR><LF>
4/05/2016 13:23:28.38 [TX] - ATI1<CR>
4/05/2016 13:23:28.47 [RX] - ATI1<CR>
<CR><LF>
Cinterion<CR><LF>
PHS8-P<CR><LF>
REVISION 03.001<CR><LF>
A-REVISION 01.000.01<CR><LF>
<CR><LF>
OK<CR><LF>
4/05/2016 13:25:31.03 [RX] - AT^SDPORT?<CR>
<CR><LF>
^SDPORT: 3<CR><LF>
<CR><LF>
OK<CR><LF>
(AT^SCFG=? does not show me the Serial/USB/DeviceClass/RmNet options/possibilities).
Thank you.
Vincent.
Hello Vincent,
I've done some research on that. It seems that you have quite an old firmware and the document for the newer version. In your version there's no CID 17 at all and the WWAN connection is only possible with ConnectionManager. In the newer firmware the CID 17 has been added and it should be possible to set and activate the context with CID 17. And it seems that you have the document for this version.
In the latest release 3.3 there is SWWAN command also added.
So you could update the firmware to some newer version of release 3 or maybe even to release 3.3 to get it working.
Regards,
Bartłomiej
Hello Bartłomiej,
I am about to order a PHS8-P terminal from MC Technologies. I would like to configure it under Linux as you have described using AT^SWWAN. From what I understand from this thread, I need to update the firmware to version 3.3. Where can I get the firmware from?
Thank you,
Ricardo
Hello Ricardo,
Normally you should be able to get the necessary documentation and software from the modules supplier or your local technical sales person. You are buying terminal from the third party - I think that you should ask them first.
Best regards,
Bartłomiej