Libelium is offering new technical support channels, to contact with de Technical Support team to solve any issue our doubt please contact with your sales agent or visit our contact site



Post a new topicPost a reply Page 1 of 1   [ 2 posts ]
Author Message
 Post subject: HTTP GET OPERATION in SIM5218
PostPosted: Mon Dec 02, 2013 1:13 pm 

Joined: Fri Nov 29, 2013 10:03 am
Posts: 3
Hi,
I am trying to make an HTTP GET operation over a GPRS network but I am getting network error (227) all the time. Those are the AT commands I am sending, following the sample HTTP code in http://www.cooking-hacks.com/documentat ... gps#step15

AT+CPIN=1120

OK

+CPIN: READY

SMS DONE

+VOICEMAIL: INIT_STATE, 0, 0

PB DONE
AT+CGPSURL="supl.google.com:7276"

OK
AT+CGSOCKCONT=1,"IP","movistar.es"

OK
AT+CSOCKAUTH=1,1,"movistar","movistar"

OK
AT+CGPS=1,2

OK
AT+CHTTPACT="www.google.es",80

+CHTTPACT: REQUEST
GET http://www.google.es/index.html HTTP/1.1
Host: www.google.es
User-Agent: MY WEB AGENT
Content-Length: 0

OK

+CHTTPACT: 227


Is it the sample code wrong?. Which others AT commands do I have to send?

Thanks in advance.


Top
 Profile  
 
 Post subject: Re: HTTP GET OPERATION in SIM5218
PostPosted: Tue Dec 03, 2013 1:52 pm 

Joined: Mon Sep 28, 2009 12:06 pm
Posts: 11366
Hi mboygag,

SIM5218 doesn't allow to use together GPS and HTTP, you have to use first one, and then the other.


Regards


Top
 Profile  
 
Display posts from previous:  Sort by  
Post a new topicPost a reply Page 1 of 1   [ 2 posts ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
cron


Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Libelium theme based on 610nm Style by Daniel St. Jules of http://www.gamexe.net


© Libelium Comunicaciones Distribuidas S.L. | Terms of use.