Communicating with Web service over GPRS using GORS Shield

Hi There

I have been successfully using the GPRS shiled, I can recieve calls, send texts etc. However after following the example on Itronixstuff and tinkering with it, I am in aposition where I do not know if things are working or not.

The question is how do I know if the APN has been set up properly? If we take the line that sets up the APN of the SIM card:

mySerial.println(“AT+CGDCONT=1,“IP”,“”,“”,0,0”); //Defining the Packet Data

Recieved Text:
Received:6584436773807779686961481310131079751310AT+CGDCONT=1,“IP”,“”,“”,0,0 Sent!

Does this mean it is successful or not?
If I make a mistake in the APN name then it seems to give me the same text.

Following on from this, if I then send something to a webservice, how do I know it got there? Again the web service repsonds with a success and code but the only response I am getting is:
Received:80858432348410111511632841011201163413107211111511658321011201121011101151011161149799107105110103971121121081059997116105111110469911110947114102105100471191019811510111411810599101115471159997110115461121041121310131083737757484832824949464813101310698282798213108845809799104117981016511210575101121583297989910010110210310410510610710810911011111211311411511611711811912012112248495051525354555657979899100101102103104105106107108109110111112113114115116117118119120121122484913106711111011610111011645761011101031161045832495013101310677978786967843279751310671111101101019911610511111058329910811111510113101310847780494850448697108AT+CIPSHUT Sent!

Any help would be greatly appreciated!

hi davek17, firstly, you can add
GPRS_Serial.println(“AT+CIFSR”);//get local ip address
mySerial.println(“AT+CGDCONT=1,“IP”,“”,“”,0,0”); //Defining the Packet Data

those two line code can getting the local ip, if your setting is correct, it will rturn the ip, else error.

besides, you also can try the codes follows:



AT+SAPBR=3,1,“CONTYPE”,“GPRS”//setting the connect type is gprs

AT+SAPBR=3,1,“APN”,“CMNET”//setting the APN and using CMNET


AT+HTTPINIT//init the http

AT+HTTPPARA=“URL”,“”//request to google’s website, you can change to your website

AT+HTTPACTION=0//post the request

AT+HTTPREAD//get the datas

i hope these can help you,thanks!