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]
posted on 2014/01/03 02:18:10 PM CET
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
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 ;-)
Do you want to report abuse comment ID: 978 in "GSM2 Click : HTTP POST ?" request.