0 Replies Latest reply: Apr 23, 2013 8:45 AM by Mike P. O'Keeffe RSS

Help with HTTP GET on GC864-QUAD

Newbie

Hi,

I'm pulling out my hair on this one.

I had it working correctly at one point and now I've lost exactly how I did it. I'm sure I'm just missing one command.

I'm using the EVK2 with the GC864-QUAD-V2, communicating over serial.

 

What I'm looking to do is just use the following commands to get back the google home page.

 

AT+CPIN=0000

ATE1

AT+IPR=115200

AT+ICF=3

AT&K0

AT+CGDCONT=1,"IP","pp.internet" // This is the correct APN for O2 Ireland

AT#SGACT=1,1

AT#SD=1,0,80,"www.google.com",0,0

GET / HTTP/1.1

Host: www.google.com

Connection: keep-alive

 

I can ping no problem using AT#PING="173.194.44.127" but not AT#PING="www.google.com" (same address, but not resolving the nameserver)

 

I keep getting:

HTTP/1.0 408 Request Timeout