- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
The wiced_tcp_receive interface used in wiced_http_get seems to return only 1460 bytes at a time even if the expected size is higher. Is there any efficient way to handle the tcp receive as the current implementation which bails out only on timeout?
Francis
- Labels:
-
SDK 3.x
- Tags:
- http get
- tcp packet
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hey Francis,
Have you tried the demo with the latest sdk?
In my opinion, you will have to implement the functionality to break the packets and then transfer.
Hope I answered your question. Let us know if you need more help.
You can find the SDK here.
WICED Software Development Kit 3.3.1
Thanks,
AB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I think that the 1460 bytes come due to MTU restrictions. In order to "play it safe" across various network topologies, I would suggest you'll break the tcp stream into smaller than 1460 packets.
Tsachi