This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

vehicle tracking

I've written a code ,shown below

SETUP THE MODULE
AT+CPIN="xxxx" ; Unlock the pin number on the simcard
AT+CMGF=1 ; sets text mode (0 sets Packet Data Mode)
AT+CSCS="GSM" ; sets GSM-character text mode
AT+CGATT? ; Must return "+CGATT:1" indicates DATA is active

TCP GPRS CONNECTION
AT+CIPSRIP=1 ; shows you the received information and IP address and port number of the sender.
AT+CGDCONT=1,"IP","airtelgprs.com" ; Define PDP Context
AT+CDNSCFG="000.000.000.000","000.000.000.000" ; Insert Primary and Secondary DNS
AT+CSTT="airtelgprs.com","","" ; Insert APN user name and password
AT+CIICR ; Make the connection
AT+CIFSR ; Gets the IP address of local module
AT+CIPSTATUS ; Must be "STATE: IP STATUS" for connection
AT+CDNSORIP=1 ; Indicates whether connection request will be IP address (0), or domain name (1)
AT+CIPSTART="TCP",""80"">http://www.google.com","80" ; Used for connection testing will return "CONNECT OK"
AT+CIPSEND ; Data to be sent, use "Control Z" to send data

TEST DATA TO SEND
> GET / HTTP/1.1
Host: http://www.google.com
Accept: */*
Accept-Language: en-us ; cONTROL z "SEND OK"

i got gprs connection and send ok but i got only down load bad request page plz help me