shirazi2589
02-27-2011, 02:40 AM
Hey all,
Im doing a final year project on Vehicle Tracking System using GPS/GPRS. The Gps sends me the GPRMC data which through my SIM300 GSM Modem would transfer over TCP/IP using GPRS to my server.
My doubt is while i try to establish a GPRS connection i get an error message ERROR: 6 STATUS: IP STATUS with my AIRTEL card
and CONNECT FAIL STATUS: IP CLOSE with my vodafone card.
The entire code is ;
AT+CGATT=1
OK
AT+CSTT="airtelfun.com","","" //with airtel and AT+CSTT="www","","" with vodafone card username and pwd not required.
OK
AT+CIICR
OK
AT+CIFSR
10.XX.XX.XX // IP ADDRESS
AT+CDNSORIP=1
OK
AT+CIPSTART="TCP","www.google.com",80
OK
ERROR: 6 /* WITH AIRTEL CARD*/
STATUS: IP STATUS
STATE: IP CLOSE // MY VODAFONE CARD
CONNECT FAIL
what might be the problem.
Im doing a final year project on Vehicle Tracking System using GPS/GPRS. The Gps sends me the GPRMC data which through my SIM300 GSM Modem would transfer over TCP/IP using GPRS to my server.
My doubt is while i try to establish a GPRS connection i get an error message ERROR: 6 STATUS: IP STATUS with my AIRTEL card
and CONNECT FAIL STATUS: IP CLOSE with my vodafone card.
The entire code is ;
AT+CGATT=1
OK
AT+CSTT="airtelfun.com","","" //with airtel and AT+CSTT="www","","" with vodafone card username and pwd not required.
OK
AT+CIICR
OK
AT+CIFSR
10.XX.XX.XX // IP ADDRESS
AT+CDNSORIP=1
OK
AT+CIPSTART="TCP","www.google.com",80
OK
ERROR: 6 /* WITH AIRTEL CARD*/
STATUS: IP STATUS
STATE: IP CLOSE // MY VODAFONE CARD
CONNECT FAIL
what might be the problem.