Cgatt error


i´m experiencing a problem with at+cgatt=1 command. sometimes it doesnt return any value for about 2 minutes, during this time any AT command(exept at+cfun=1) returns error. After 2 minutes the responce is “+CME ERROR: 148”.

could anyone tell me where the problem is? i´ve checked the gprs parameters(CID, APN, user name, password) and they are correct.



Hi Sérgio,
+CME ERROR: 148 refers to unspecified GPRS error (as stated in AT command interface Guide appendixes). If you give AT+CGATT=1 command and are receiving this error then the following causes can be attributed to the problem:

  1. Your SIM does not have GPRS functionality enabled. In such a case, contact your service provider.
  2. The received signal strength by the module is very weak. Hence, the module is not able to attach to the network. In such a case, you can execute AT+CSQ command to check the received signal strength.
  3. Check to see, if the SIM you are using is in roaming. In such a case, the PLMN on whose cell it is camping might not be providing it with GPRS services.

The problem that the module gives you ERROR when you try to execute some other command when AT+CGATT=1 was previously issued is because, the module is busy performing the attach operation. Hence, it is not allowing you to enter another command.

Best Regards.



If you have entered a command and it hasn’t finished executing you will receive an error on every new command you try to execute (as OpenAt_Fan wrote).

When modem/module is in this state, you can always abort the current executing command with the AT+WAC command ([color=blue]Wavecom [color=blue]Abort [color=blue]Command)

This command is useful in situations like you (Sérgio) described but also in other commands like AT+COPS=? or similar commands that takes long time to execute and you want to interrupt the execution.



I entered AT+CMEE=1 command as I was told to.

This way I started the Sample With “AT+SOCKETSTART=1”

Then I set the AT+IPGPRS=3,",“oi”,“oi”

So I entered the command “AT+CGATT=1”

The Returned ERROR was: +CME ERROR: 11

I Couldn´t find the reason for ERROR 11.

I can´t go forward because of this error.

Thanks for your patience!




That means PIN required.

You can find this info here:

AT commands interface guide --> Technical Appendixes --> Codes and Values --> ME error result code

You can also find info how to proceed further by the examples.

Best Regars,