I can not connect to the network | Telit Cinterion IoT Developer Community
June 15, 2019 - 12:09pm, 2708 views
I have an M2M telephone line from the Movistar company. They have provided me with the apn and the appropriate dns to connect to the internet. Before trying it, try to test if it has a signal.
at + cgreg?
+ CGREG: 0.1
okay
at + csq
+ CSQ: 25.99
Then i try to configure it.
AT + CGDCONT = 1, "IP", "m2m.movistar.es"
okay
AT + CGATT = 1
okay
AT ^ SICS = 1, conType, GPRS0
okay
AT ^ SICS = 1, inact, "0"
okay
AT ^ SICS = 1, dns1, "193.254.160.1"
okay
AT ^ SICS = 1, authMode, "PAP"
okay
AT ^ SICS = 1, apn, "movistar.es"
okay
AT ^ SICS = 1, "user", "MOVISTAR"
okay
AT ^ SICS = 1, "passwd", "MOVISTAR"
okay
AT ^ SICS: 1, "alphabet", "0"
okay
AT ^ SICO = 1
+ CME ERROR: Unknown
AT ^ SICO =?
+ CME ERROR: Unknown
The latter gives an error. Some idea of what I should do?. Thank you
AT ^ SRPN = 1, "21407", "M2M", "Movistar"
+ CME ERROR: Unknown
I also get this error
Hi,
Remove
AT + CGDCONT = 1, "IP", "m2m.movistar.es"
AT + CGATT = 1
and set up the corect APN in the at^sics declaration
AT ^ SICS = 1, apn, "m2m.movistar.es"
also check that the authtentification you are using is the rigth one
AT ^ SICS = 1, authMode, "PAP" ? or CHAP?
Regards
ALopez
Somewhere over the rainbow!!! Looking for the Oz Land!!!
Thank you. I tried that and it did not work.
I managed to solve it by placing the apn in white, as follows:
AT + CGDCONT = 1, "IP", ""
AT + CGATT = 1
AT + CGACT = 1,1
and it's connected.