6 Replies Latest reply on Sep 27, 2015 11:32 PM by rajvirzala

    WICED Wi-Fi NetX/NetX-duo keep-alive support

    rajvirzala

      Hi,

       

      I wanted to know whether wiced wifi sdk 3.3.1 NetX/NetX-duo tcp/ip stack supports keep alive functionality, because in source code I can see following:

       

      wiced_result_t wiced_tcp_enable_keepalive( wiced_tcp_socket_t* socket, uint16_t interval, uint16_t probes, uint16_t time )

      {

          UNUSED_PARAMETER( socket );

          UNUSED_PARAMETER( interval );

          UNUSED_PARAMETER( probes );

          UNUSED_PARAMETER( time );

          

           socket->socket.nx_tcp_socket_keepalive_enabled = WICED_TRUE;

          socket->socket.nx_tcp_socket_keepalive_retries = probes;

          socket->socket.nx_tcp_socket_keepalive_timeout = time;

       

           return WICED_TCPIP_UNSUPPORTED;

      }

       

      mifoseyhanjone_yi_1844281