1 Reply Latest reply on Mar 18, 2019 12:09 AM by GauravS_31

    CYW43012 keepalive packets and TCP keepalive




      I used 'mkeep_alive' option to force WiFi send keepalives packets while sleeping (I provide TCP packet which I build manually). I also found tcp keepalive option for WiFi chip (using 'tcpka_conn_add' and 'tcpka_conn_enable' options), but I got 'UNSUPPORTED' error.

      The problem with 'mkeep_alive' is that it just sends data without handling connection breaks. In my case I want WiFi chip behave like usual TCP connection, i.e. send keep alive probes periodically, and if chip does not receive N answers in a row - report error. Is there any mechanism to achieve such behavior?