mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-07 18:12:55 +03:00
Add in support for both reliable and unreliable sessions when calling coap_context_set_keepalive(). include/coap2/coap_session.h: Track the last ping mid in coap_session_t. src/coap_io.c: src/coap_session.c: Support both reliable and unreliable sending of pings in coap_write(). src/net.c: Determine whether RST packet response is associated with a CoAP Empty Ping that was sent and handle accordingly. configure.ac: examples/client.c: include/coap2/net.h: man/Makefile.am: man/coap-client.txt.in: man/coap.txt.in: man/coap_handler.txt.in: man/coap_keepalive.txt.in: (New) man/coap_observe.txt.in: Add in a new man page (coap_keepalive). Update documentation to remove references to TCP and reliable only.