3 Replies Latest reply on Dec 18, 2017 1:11 AM by grsr

    Websocket will hang when the wifi reconnection happened in wiced sdk 5.2.0

    genecheng_1843576

      Hi, all.

       

      I found the websocket(wss connection) will make the platform freeze when I tried to close and open ap router(It will trigger wifi reconnect) in the wiced sdk 5.2.0.

      I also tried to trace the code, and I found it was stuck in websocket_tls_connect() when it tried to call  "result = wiced_tcp_connect( tcp_socket, address, 443, 10000 );".

      I am not sure if it's a general issue for the current websocket implementation, but this doesn't happen in the wiced sdk 4.1.1 when I use the same application.

      By the way, I use ThreadX and NetX as my platform's RTOS and network stack.