BGS2-E write command unackData | Telit Cinterion IoT Developer Community
May 19, 2020 - 5:35pm, 1129 views
Hello
I am trying to wirte to a web address www.chargevision4.com, by sending the data packet “www.chargevision4.com\r\n\r\n”. The write command appears to work OK but the a AT^SISI=? read gets a response like “0,5,106,381,380” which means there is unackData andthe modem must be closed prior to furthar writes.
I can't find any information to explain how to avoid this issue, cam anyone help?
Regards
Stephen
Hello,
Please paste the log to show what exactly you do and what the result is.
Regards,
Bartłomiej
Hi Bartomiej,
I have uploaded the files as you requested, TX is from Microcontroller to Modem. the entries TS: are time stamps.
The good version is hwne in send the message
"GET /app/smartercharge?P=354705083877049*2429*0*4*16*16*0*0*50126*17 HTTP/1.1HOST:chargevision4.com\r\n\r\n"
Which works fine as you see.
When I send
"https://www.chargevision4.com\r\n\r\n" this does not work although www.chargevision4.com is a valid website.
Any thoughts
Regards
Stephen
Hello,
As I can see from the log that you connect to http server on the default 80 port using a standard socket connection. In one case you send the valit HTTP GET request to the server and you get the valid reply. In the other case you don't send the valid HTTP request and the server replies with 'HTTP/1.1 400 Bad Request'. So I think that you either need to send valid HTTP request each time or use the built-in http client and then send only data - please see the AT commands specification.
Regards,
Bartłomiej