ELS61-E +CME ERROR: 148 after CGATT=1 | Telit Cinterion IoT Developer Community
July 5, 2018 - 11:51am, 8492 views
Hello,
we are experiencing +CME ERROR: 148 after CGATT=1 is executed. What could be the cause of this error and how could we fix it?
Command sequence:
AT^SMSO
^SMSO: MS OFF
OK
^SHUTDOWN
<ON_SEQUENCE>
ATE0
ATE0
ATE0
ATE0
ATE0
AT+CGACT=0,1
AT^SMSO
ATE0
ATE0
ATE0
^SYSLOADING
ATE0
ATE0
OK
AT+CMEE=1
OK
AT+CGMI
Cinterion
OK
AT+CGMM
ELS61-E
OK
AT+CGMR
REVISION 01.000
OK
AT+CCID
^SYSSTART
+CCID: XXX
OK
AT+CIMI
XXX
OK
AT+CPIN?
+CPIN: READY
OK
AT+CEREG?
+CEREG: 0,0
OK
AT+CGREG?
+CGREG: 0,4
OK
AT+CREG?
+CREG: 0,1
OK
AT+CGATT?
+CGATT: 0
OK
AT+CGATT?
+CGATT: 0
OK
AT+CGATT=1
+CME ERROR: 148
AT+CGATT?
+CGATT: 0
OK
AT+CGATT=1
+CME ERROR: 148
AT+CGATT?
+CGATT: 0
OK
AT+CGATT=1
+CME ERROR: 148
AT+CGATT?
+CGATT: 0
OK
AT+CGATT=1
+CME ERROR: 148
AT+CGATT?
+CGATT: 0
OK
AT+CGATT=1
+CME ERROR: 148
AT+CGATT?
+CGATT: 0
OK
AT+CGATT=1
+CME ERROR: 148
AT+CGACT=0,1
OK
AT^SMSO
^SMSO: MS OFF
OK
Best regards,
Sebastian
Hi,
AT+CEREG? +CEREG: 0,0 means that you are not connected to a LTE network.
AT+CGREG? +CGREG: 0,4 means that you may be outside of packet network coverage.
AT+CREG? +CREG: 0,1 means that you are connected to basic network.
If you write AT+CEREG=2, AT+CGREG=2, AT+CREG=2 in the initialisation, you will get more information like: AT+CEREG? +CEREG: 2,1,"0FBE","02307715",7 which shows the base station, cell and radio access technology. 7=LTE, 0=GSM.
What is the signal strength?, try AT+CSQ and AT^SMONI. The latter shows the network, too:
at^smoni ^SMONI: 4G,1300,3,20,20,FDD,244,91,0FBE,2307715,247,--,-87,-12.5,CONN.
If the "CONN" is "LIMSRV", your subscription may not support all services like GPRS.
at+cops? shows the operator and technology like +COPS: 0,0,"FI SONERA",7,*
If you want to see the error messages in text form, use AT+CMEE=2
+CME ERROR 148 will show +CME ERROR: unspecified GPRS error
Best regards,
Antero Markkula
Antero Markkula
Communication and Mechatronics
Enkom Active Oy – www.enkom-active.fi
Upseerinkatu 3 A, 02600 Espoo, Finland
Mobile: +358 400 411368
Office: +358 10 204 0000
Fax: +358 10 204 0010
E-mail: antero.markkula@enkom-active.fi
Hello,
Please send AT+CEER command to check if there are any error report.
148 is described as 'unspecified GPRS error'. Status 4 of CGREG is also not much helpful 'unknown' but there is a suggestion that the module might be out of GERAN / UTRAN coverage. Are you sure that the SIM card subscription supports data transfer? Maybe the network quality is bad, antenna is not connected etc. Please check AT^SCFG?, ATI1, AT+COPS?, AT^SMONI, AT+CSQ commands. According to the documentation you should also not send any AT command before ^SYSSTART URC and should add at least 100ms breaks between each command execution.
Regards,
Bartłomiej
Hello,
thank you for your responses.
The SIM supports data transfers and the cellular connectivity is good at my location. The antenna is connected too.
Probably the hints about the registration states solved my issue. I called CGATT just after a CREG showed a registered state. My guess is that it is required to wait for a CGREG or CEREG registration first. After i changed this the CME Error did not occur anymore.
Dont you think this could be the solution?
Thanks again,
Sebastian
In fact in SCFG command there is a parameter "GPRS/AutoAttach" which is by default set to "enabled". So this attach should be done automatically anyway.
CEREG is for LTE. When CGREG will show registered, CGATT will also show attached.
So if these commands were executed by an automated script that started just after power-up without waiting for SYSSTART and without any breaks in between, maybe it was too fast.
I think it is a good idea to wait and try again, and maybe even with increasing the delay, in case of failure in network registration, GPRS attach etc. and check the network and packet domain registration status before data connections, because if the device is moving it can always get out of coverage.
Regards,
Bartłomiej