Hi Team,
I am posting an UART data to http server & getting a response from the server, which I want to parse.
To achieve this, I have made a task which receives data on UART. Upon receiving the data on UART, I call http_post function (event-driven), which posts the data to server. To parse the data, I have written a function using cJSON parser api, which is called when there is an event on http.
Problem I am facing here is: response from http post comes in two parts which makes the json data corrupted and hence not parsing it.
How to handle such situation where response comes with a delay??
Thanks
R.
How to handle delay in response from POST call in HTTP ?
Re: How to handle delay in response from POST call in HTTP ?
Wait for the HTTP_EVENT_ON_FINISH callback.
Who is online
Users browsing this forum: No registered users and 101 guests