Libstock prefers package manager

Package Manager

We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]

Project Request

Return
Christophe Coxs
coxs

posted on 2014/01/03 02:18:10 PM CET

GSM / GPRS

GSM2 Click : HTTP POST ?

Hi guys,

with the GSM2 Click module, I managed to send SMS but unfortunetely I did not find the right way to push "HTTP POST".
I tried the following:

AT+QIFGCNT=0
AT+QICSGP=1,"Orange F"

AT+QIREGAPP // Start TCPIP Task
AT+QIACT // Activate GPRS

AT+QHTTPURL=26,30
http://xxx.xxx.xxx.xxx:1234

AT+QHTTPPOST=7,10,10 //Send HTTP GET Request
gps=x,y
AT+QHTTPREAD=30 //Read the response of HTTP server.
AT+QIDEACT

but it hangs during QHTTPPOST ... any idea ?
THANKS a lot

USER Comments

Christophe Coxs
coxs

posted on 2014/01/05 11:59:07 PM CET

I'm progressing. Now the POST message is sent to the server but my client still hang and I do not see the "OK" ack. So it seems that the message is partially read or sent but good enough to be grabbed by the server. So my last step now is how can I tell the M95 that the "sending" is over. I put the appropriate msg length with no \r or \n or code 26 at the end. I tried different combination at the moment ... but still unsuccessfully.

Thanks for any help or ideas ;-)

  • Rating:
0
No Abuse Reported

Do you want to report abuse comment ID: 978 in "GSM2 Click : HTTP POST ?" request.