17 Sep 2010 @ 6:19 PM 

Well, This is the first post here and its kind of off-topic for me too. Anyway, we were doing some random stuffs and a requirement popped to make a internet connection from GSM module and send a GET request to a particular website which hosts the particular page that does the post processing of the information. I am listing the commands that were used to connect to GPRS and send TCP packets to web server. This can be also used for accessing FTP and other services hosted by different providers.

This is the GSM module we used for testing it.

We tested with a Airtel SIM and it works good 🙂
AT+CGATT=1
AT+CGDCONT=1,"IP","airtelgprs.com"
AT+CDNSCFG="202.56.231.117"
AT+CSTT="airtelgprs.com","",""
AT+CIICR
AT+CIFSR
AT+CIPSTATUS
AT+CIPHEAD=1
AT+CDNSORIP=1
AT+CIPSTART="TCP","www.google.com","80"
AT+CIPSEND
>GET / HTTP/1.1
Host: www.google.com
Connection: Keep-Alive
Accept: */*
Accept-Language: en-us

Just use any compatible Terminal software and make sure you end the GET request with 2 CR LF.

Posted By: Dan
Last Edit: 05 Oct 2010 @ 05:26 PM

EmailPermalink
Tags
Categories: Hardware


 

Responses to this post » (None)

 
Post a Comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>


 Last 50 Posts
Change Theme...
  • Users » 1
  • Posts/Pages » 15
  • Comments » 39
Change Theme...
  • VoidVoid « Default
  • LifeLife
  • EarthEarth
  • WindWind
  • WaterWater
  • FireFire
  • LightLight

About



    No Child Pages.