Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

Wi-Fi Combo Forum Discussions

j369351797
Level 1
Level 1
First reply posted First question asked Welcome!

The TCP client cannot use the Keepalive function. 

Using this function doesn't work:

Wiced_tcp_enable_keepalive (&tcp_client_socket,TCP_KEEP_ALIVE_INTERVAL, TCP_KEEP_ALIVE_PROBES,TCP_KEEP_ALIVE_TIME);

 

The following methods will not work:

Changing the value of NX_TCP_KEEPALIVE_INITIAL, NX_TCP_KEEPALIVE_RETRIES, and NX_TCP_KEEPALIVE_RETRY in nx_tcp. h and nx_user.h does not work. The macro NX_ENABLE_TCP_KEEPALIVE and  NX_ENABLE_TCP_KEEPALIVE are defined.

0 Likes
1 Solution
AditiB_81
Moderator
Moderator
Moderator
5 questions asked 250 replies posted 250 sign-ins

This query is being handled internally via case. The thread will be updated with the solution when the query will be resolved.

Thanks

Aditi

View solution in original post

0 Likes
3 Replies
AditiB_81
Moderator
Moderator
Moderator
5 questions asked 250 replies posted 250 sign-ins

Hi,

Does defining the macro NX_ENABLE_TCP_KEEPALIVE solve the issue in your case?

Thanks

Aditi

0 Likes

Hi,AditiB_81

  • The macro NX_ENABLE_TCP_KEEPALIVE is defined.

  • I also can't use keepalive with the example project snip.tcp_server.

  • Is it because WICED6.6 uses NetX Duo with .a files?

  •  
  • 11.png
0 Likes
AditiB_81
Moderator
Moderator
Moderator
5 questions asked 250 replies posted 250 sign-ins

This query is being handled internally via case. The thread will be updated with the solution when the query will be resolved.

Thanks

Aditi

0 Likes