Thales IoT Developer Community
How to Guide: ELS61/PLS62 and Linux Startup
Tutorial, September 14, 2017 - 4:10pm, 13469 views
Attached is the startup guide for communicating to the ELS61 from Linux and activating and running a basic internet connection from the module. Related documents available on request.
**EDIT** These instructions apply to the PLS62 as well
Hi,
wonderfull!!
Regards
ALopez
Somewhere over the rainbow!!! Looking for the Oz Land!!!
Here is a bash script to automate the process:
(remove backslash before square brackets)
When I try these instructions on vodafone NL the AT+SWWAN=1,3 is followed by an ERROR.
The registration status seems all Ok.
AT+CFUN?
+CFUN: 1,0
OK
AT+CREG?
+CREG: 0,1
OK
AT+CEREG?
+CEREG: 0,1
OK
AT+CPIN?
+CPIN: READY
OK
AT+CIMI
204045100590580
OK
AT+COPS?
+COPS: 0,0,"vodafone NL",7
AT+CGDCONT=3,"IP","office.vodafone.nl"
OK
AT^SWWAN=1,3
ERROR
For instance sending SMS etc is working fine.
Do you have any idea why this would fail for me?
The only strange thing I can see is:
AT^SIND="ratmode",2
^SIND: ratmode,0,99
Which seems wrong to me?
With the same SIM card in a PLS-8 device it works fine.
Best regards,
Rudger
Hi Rudger,
1. Which module are you using? Send the command "ATI1" to find out.
2. Turn on extended errors with AT+CMEE=2 and try the AT^SWWAN again.
Best regards
Simon
Hi Simon,
I've rerun the script and added ATI1 en CMEE errors:
ATI1
Cinterion
PLS62-W
REVISION 02.000
A-REVISION 01.000.02
OK
And the CMEE error of AT^SWWAN is not very helpful
AT^SWWAN?
OK
AT^SWWAN=1,3
+CME ERROR: Unknown
cmd:AT+CEER
+CEER: "No report available"
OK
I added log output of my script, still I think the ratmode is strange?
Thanks,
Rudger
pls62_log.txt
Since it was kind of wierd the CID1 can't be removed, I tried to use CID1 instead of CID3 and this gives me some aditional errors.
AT cmd:AT^SWWAN=1,1
: +CME ERROR: Unknown
AT cmd:AT+CEER
: +CEER: "SM deactivation",187,"Last PDN disconnection not allowed"
: OK
Also the APN before connection was:
AT cmd:AT+CGDCONT?
: +CGDCONT: 1,"IP","office.vodafone.nl","",0,0
: OK
And after activation:
AT cmd:AT+CGDCONT?
: +CGDCONT: 1,"IP","office.vodafone.nl.mnc004.mcc204.gprs","",0,0
: OK
Why it this changed after trying to connect? And what does the nc004.mcc204.gprs which was added mean?
Thanks,
Rudger
pls62_log_cid1.txt
I'm experiencing the same issues. Is there a solution to this problem yet?
Best,
Sven
I have the same problem. Is there a solution yet?
As far as I know, mnc refers to your country and mcc refers to your cellular network. I'm not sure why it changes automatically though...
The likely reason you are getting the "187" CEER is because CID 1 is already activated by the ME and can be seen as such using the CGACT? command. I have tried several ways to inhibit the ME from automatically activating CID 1 but all have failed. I document some things I tried in the attached log file.
To answer your second question, the ME is appending the MNC, MCC and technology type, I believe, from the tower registration. In the attached I renamed my apn to "MY.APN" for privacy after gathering the log but you can see that as soon as the ME attaches to the network, the CID 1 apn is appended with "mnc410.mcc310.gprs".
JEFF BARNES
PRINCIPAL SYSTEMS ENGINEER
Digi International, Wireless Design Services
www.digi.com/wireless-design-services