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

    Support for HTTP fragmented packet

    clement.marrast_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