1 Reply Latest reply on Aug 30, 2018 6:51 AM by RaktimR_11

    Support for HTTP fragmented packet

    ClMa_3563786

      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

        • 1. Re: Support for HTTP fragmented packet
          RaktimR_11

          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.

          1 of 1 people found this helpful