3 Replies Latest reply on Apr 3, 2019 11:57 PM by PriyaM_16

    wiced_tcp_send_buffer issue with TLS

    NiMc_1688136

      SDK 6.2.0

      CYW43907

      FreeRTOS + lwIP

       

      I have been using wiced_tcp_send_packet without any issues until i tried to send larger packets. I then switched to wiced_tcp_send_buffer and it works great in an example application with no TLS but once TLS is added and the packet is large enough to be fragmented, I run into a data_abort exception. The best that I can tell, the problem occurs in wiced_tcpip_common.c, at line 213, during the free call.

       

              if (enc_buf_allocated == WICED_TRUE)
              {
                  free(enc_output_buf);
                  enc_output_buf = NULL;
              }
      

       

      Has anyone seen this?

       

      The packet i was attempting to send was between 1800 and 1900 bytes.