Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

SIM900 GSM/GPRS : AT+CGATT returns ERROR +CREG: 3

Status
Not open for further replies.

vvv1234

Newbie level 3
Newbie level 3
Joined
Aug 18, 2014
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
28
Hi,

SIM900 GPRS device attach to the network fails when there is the weak signal.It happens some times only, Once it happens then device need to reboot to make it work again. I my case i can not reboot the device because device is inside the vending machine, so power is on for all the times.
AT+CGATT=1 returns an error +CREG: 3( registration denied).
But AT+CREG? returns 1,2

power supply specification : 12V/1A

Here is my AT comands
ATE0:
OK

AT+CSQ
+CSQ: 8,0
OK

AT+IPR=9600
OK

AT+CSCLK=0
OK


AT+CIPSTATUS
OK
STATE: IP INITIAL

AT+CSTT=m2minternet
ERROR



AT+CIPSHUT
SHUT OK



AT+CFUN=0
+CPIN: NOT READY
+CREG: 0


AT+CFUN=1
OK


AT+CREG?
+CREG: 2
+CREG: 1,2
OK

AT+CREG=1:
OK

AT+CGATT?:
Call Ready
+CGATT: 0
OK

AT+CGATT=1:
ERROR
+CREG: 3



Regards,
Venkat
 

- String parameters should be included in quotations marks
- What's the colon after CGATT=1?

Generally, turn on extended error messages to understand what's going on.
 

- String parameters should be included in quotations marks
- What's the colon after CGATT=1?

Generally, turn on extended error messages to understand what's going on.

Hi,

Colon at the At command is my type error. It happens only when there is a weak signal,
Even some times with weak signal activation will be OK and some times not OK.
May i know, how to enable extended error messages?

AT+CREG=1
OK

AT+CGATT?
Call Ready
+CGATT: 0
OK

AT+CGATT=1
ERROR
+CREG: 3

Regards,
Venkat
 

Hi FvM,

Here is the logs for your reference :


AT+CMEE=1
OK

AT+IPR=9600
OK

AT+CSCLK=0
OK


AT+CIPSTATUS
OK
STATE: IP INITIAL

AT+CSTT=m2minternet
+CME ERROR:107
Call Ready


AT+CIPSHUT
SHUT OK



AT+CFUN=0
+CPIN: NOT READY
+CREG: 0


AT+CFUN=1
OK


AT+CREG?
+CREG: 2
+CREG: 1,2
OK

AT+CREG=1
OK

AT+CGATT?
Call Ready
+CGATT: 0
OK

AT+CGATT=1
ERROR
+CREG: 0

AT+CSTT=m2minternet
+CME ERROR:107


Since AT+CGATT is not successful, i have tried firing the commands again from the start then at the end i get registration denied for AT+CGATT command.
AT+CGATT=1
ERROR
+CREG: 3


Thanks,
Venkat
 

Did you review the meaning of CME error 107?

Apparently you are experiencing a network/subspription problem, not particularly related to SIM900 or AT commands.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top