Sample app, Ping_GPRS; problems


#1

Hello everyone,

I am trying out some of the sample projects in the OpenAT SDK. I have a working SIM card witch is internet enabled (checked by browsing the internet on my phone).

Testing with the Ping_GPRS sample app. I cannot seem to get any replies when I try pining google. Here is my hyperterm window:

at+cgreg?
+CGREG: 0,1

OK
at+ping=1,“72.14.205.104”,400,100,10
OK

IPCP Information :
Local IP 172.28.21.253
DNS1 207.181.101.4
DNS2 207.181.101.5
Gateway 209.153.204.130

Ping Sent [1/4]

Ping Sent [2/4]

Ping Sent [3/4]

Ping Sent [4/4]

Result : Ping Sent 4 , Resp Received 0
at+ping=2,“72.14.205.104”,400,100,100
OK

Ping Sent [1/4]

Ping Sent [2/4]

Ping Sent [3/4]

Ping Sent [4/4]

Result : Ping Sent 4 , Resp Received 0

I have the GPRS PDP context setup correctly, but I am wondering if I have use the last optional parameter in the AT+GSET command?

What is the fixed IP, and how would I get it? Is it the AT+CGPADDR reply for the PDP context in question?

If anyone knows of common issues, or oversights that cause this problem please tell me.

Any information will be much appreciated!

MK

PS I have read all the posts regarding this particular topic, but I cannot find the relevance of the AT+GSET last parameter.


#2

If you are using a public APN, it won’t necessarily let PING repsonses through.

eg, when I tried this (in the UK), I think it worked iwth Orange but not Vodafone…