- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This query is being handled internally via case. The thread will be updated with the solution when the query will be resolved.
Thanks
Aditi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Does defining the macro NX_ENABLE_TCP_KEEPALIVE solve the issue in your case?
Thanks
Aditi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This query is being handled internally via case. The thread will be updated with the solution when the query will be resolved.
Thanks
Aditi