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
dear sir thank you for your advice. actually i,m looking to dowload page for testing my gprs modem(sim300).i had use some tutorial pdf and i know its a too odd subject but i,m new in this feild.
New in what field, exactly?
The purpose of this forum is clearly stated here: http://www.keil.com/forum/
In what way did you think that this question relates to that purpose?
sorry