- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Im implementing OTA update on my device and I have big problems with uploading file through www page.
My device is working on ThreadX and NetX_Duo. Im using http server from waf/ota_upgrade application
with small modification. During one read form socket I can receive 1460 bytes maximum. For such amount of data
I need about 60ms to process it. I have big problems with receiving complete file. In most of tries I receive only part of file,
timeout occurs while reading from socket. I increased timeout value and thread priority to 4 but problem still exists. I dont know if the problem is network stack or
web browser that stops sending file in the middle. The biggest problems are with Mozilla browser. Maybe the problem is 60ms timeout.
File is uploaded using POST method exactly the same as it is done in example app.
Did anyone encounter such problems?
- Labels:
-
Over The Air Updates (OTA)
-
SPI
- Tags:
- 1460
- 60ms
- amount
- application
- biggest
- browser
- bytes
- complete
- data
- device
- encounter
- exists
- file
- form
- http
- implementing
- increased
- issue
- maximum
- method
- middle
- modification
- mozilla
- network
- netx_duo
- occurs
- ota
- page
- part
- post
- priority
- problem
- problems
- read
- reading
- receive
- receiving
- sending
- small
- socket
- stack
- stops
- thread
- timeout
- update
- upload
- uploaded
- uploading
- wafota_upgrade
- www
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is this still an issue for you?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Discussion is being locked. If you have any follow-up, please start a new discussion.