This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

SLM HTTP client sends #XHTTPCREQ: 0 before body/payload has been sent

I've recently update to 1.6.1.    

I'm testing with SLM, only modification is using UART2 to support communication with an external mcu on another board.

HTTP client interface code was working with 1.5.1 and is now misbehaving.

After sending command AT#XHTTPCREQ,  I receive OK and then #XHTTPCREQ: 1

My mcu code waits 10 milliseconds before sending the data.  (this seemed to be helpful/necessary on 1.5.1)

Before the 10 milliseconds has elapsed, I receive #XHTTPCREQ: 0

My understanding is that the #XHTTPCREQ: 0 should only be sent after all data was sent.  Since the body has not be send the data is not complete.

Related