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 AT+CGATT=1 returns ERROR sometimes and keep giving continiously

Status
Not open for further replies.

jpksampath

Newbie level 2
Joined
Apr 17, 2009
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,295
Hi experts,
I'm using SIM900 with Atmega64 for communication with a server over GPRS.
My code was working fine for some time.
But I changed the SIM card and run the code.

When attaching GPRS, (AT+CGATT=1) some times it returns error. sometimes it works fine. But when the ERROR started it remains giving "ERROR" even if I restart the modem, program or any thing.
After reprogram the micro controller sometimes it works fine.
And when I enter same commands to SIM900 using serial port of computer(from microIDE) it worked fine every time
I can't figure it out.
Pls help.
Thanks in advance
BR
SAM
 

Can you provide the circuit diagram of your SIM900 and ATmega connection...
also the full code that you are using...??
 

HI sa4250mnpo70,
I figured this issue. It was due to the delay after setting apn settings was not enough. Now it is OK.
Any way Thanks for your concern.
BR
SAM
 

HI,
I'm using SIM300 with Arduino uno for data transfer between arduino & remote server using gprs, i tried at commands for gprs on hyperterminal as follows, but enable to establish connction between gpars module & remote server.
<<at+cipshut
SHUT OK

at+cgdcont=1,"IP","airtelgprs"
ERROR

OK
at+cdnscfg="202.56.230.5","202.56.240.5"
OK

at+cstt="airtelgprs"
OK

at+cgatt=1
OK

at+ciicr?
OK

at+cifsr?
OK

at+cipstatus
OK

STATE: IP START

at+ciphead=1
OK

at+cdnsorip=1
OK

at+cipstart="TCP","www.gotcubed.com","2020"
ERROR

at+cgact?
+CGACT: 1,0

OK

at+cgact=1
+CME ERROR: 596

thanks
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top