- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I need some help. I've connect my device to a website successfully using HTTP.
I start receiving the first data in my callback successfully but quickly I've stop receiving data.
After some debug, I figure out the issue was over these lines:
http_client.c::client_receive_handler()
wiced_packet_get_data( packet, 0, &data, &fragment_available_data_length, &total_available_data_length );
if ( fragment_available_data_length < total_available_data_length )
{
WPRINT_LIB_ERROR( ("Unable to handle fragmented packets\n") );
wiced_packet_delete( packet );
return WICED_ERROR;
}
Is there a way to manage fragmented packets ?
Thanks for your help
Clément
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The http client library has been updated since 6.1. I tried to check the issue with WICED Studio 6.2.1 but could not reproduce the same. Please check with the updated library and try putting debug prints for fragment_available_data_length and total_available_data_length for further debug.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The http client library has been updated since 6.1. I tried to check the issue with WICED Studio 6.2.1 but could not reproduce the same. Please check with the updated library and try putting debug prints for fragment_available_data_length and total_available_data_length for further debug.