Asking for help!!! "OTA using web server"
Posted: Fri Mar 15, 2019 9:15 am
Dear,
I use web server to send "*.bin" file, and use "post handler" to receive data.
The app runs well when the size of bin file lower 200kb. But when i upload a larger file (700kb), "post handler" receives about 134 kb and stop, display "httpd_sock_err: error in send : 104"
Could someone help me please! Thanks so much!
I use web server to send "*.bin" file, and use "post handler" to receive data.
Code: Select all
...
$.ajax({\
url: '/echo',
type: 'POST',
data: data
...
Code: Select all
httpd_uri_t echo = {
.uri = "/echo",
.method = HTTP_POST,
.handler = echo_post_handler,
.user_ctx = NULL
};
Could someone help me please! Thanks so much!