mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-28 09:37:09 +03:00
This updates the initial work done for adding in cache support include/coap2/coap_cache.h: (new) include/coap2/coap_cache_internal.h: (new) src/coap_cache.c: (new) New files to support cache support. CMakeLists.txt: Makefile.amMakefile.am: Makefile.libcoap: configure.ac: examples/lwip/Makefile: include/coap2/coap.h.in: include/coap2/coap.h.windows: win32/libcoap.vcxproj: win32/libcoap.vcxproj.filters: Add in the new files. examples/client.c: Fix valgrind reported memory leak. examples/coap-server.c: Add in new example_data resource that uses the new caching logic. Update hnd_put() to use the new cache logic for BLOCK1 PUTs. include/coap2/coap_forward_decls.h: include/coap2/coap_internal.h: include/coap2/coap_session.h: include/coap2/net.h: Add in new cache support. libcoap-2.map: libcoap-2.sym: Include the new functions. man/Makefile.am: man/coap.txt.in: man/coap_cache.txt.in: (new) Update documentation. src/coap_io.c: Idle timeout cache entries. src/coap_session.c: Delete cache entry when session is deleted. src/net.c: Delete cache entries when context is freed off. src/coap_gnutls.c: src/coap_mbedtls.c: src/coap_notls.c: src/coap_openssl.c: src/coap_tinydtls.c: Add in SHA256 digest support.
77 lines
2.3 KiB
Plaintext
77 lines
2.3 KiB
Plaintext
// -*- mode:doc; -*-
|
|
// vim: set syntax=asciidoc,tw=0:
|
|
|
|
coap(7)
|
|
=======
|
|
:doctype: manpage
|
|
:man source: coap
|
|
:man version: @PACKAGE_VERSION@
|
|
:man manual: libcoap Manual
|
|
|
|
NAME
|
|
----
|
|
coap - Overview of the libcoap library
|
|
|
|
SYNOPSIS
|
|
--------
|
|
Summary of the different libcoap API manual pages.
|
|
|
|
DESCRIPTION
|
|
-----------
|
|
|
|
libcoap is a C implementation of a lightweight application-protocol for
|
|
devices that are constrained by their resources such as computing power, RF
|
|
range, memory, bandwidth, or network packet sizes. This protocol, CoAP, is
|
|
standardized by the IETF as RFC 7252. For further information related to
|
|
CoAP, see http://coap.technology.
|
|
|
|
Documentation for the specific library calls with examples can be found in the
|
|
man pages referred to in SEE ALSO.
|
|
|
|
Further information can be found in the include header files with example
|
|
code provided in the examples directory.
|
|
|
|
*NOTE:* This documentation is a work in progress. Any missing information can
|
|
be found in the include header files along with example code provided in the
|
|
examples directory.
|
|
|
|
|
|
SEE ALSO
|
|
--------
|
|
*coap_attribute*(3), *coap_cache*(3,) *coap_context*(3), *coap_encryption*(3),
|
|
*coap_handler*(3), *coap_io*(3), *coap_keepalive*(3), *coap_logging*(3),
|
|
*coap_observe*(3), *coap_pdu_setup*(3), *coap_recovery*(3), *coap_resource*(3),
|
|
*coap_session*(3), *coap_string*(3) and *coap_tls_library*(3)
|
|
|
|
For example executables, see *coap-client*(5), *coap-rd*(5) and *coap-server*(5)
|
|
|
|
FURTHER INFORMATION
|
|
-------------------
|
|
See
|
|
|
|
"RFC7252: The Constrained Application Protocol (CoAP)"
|
|
|
|
"RFC7641: Observing Resources in the Constrained Application Protocol (CoAP)"
|
|
|
|
"RFC7959: Block-Wise Transfers in the Constrained Application Protocol (CoAP)"
|
|
|
|
"RFC7967: Constrained Application Protocol (CoAP) Option for No Server Response"
|
|
|
|
"RFC8132: PATCH and FETCH Methods for the Constrained Application Protocol (CoAP)"
|
|
|
|
"RFC8323: CoAP (Constrained Application Protocol) over TCP, TLS, and WebSockets"
|
|
|
|
"RFC8768: Constrained Application Protocol (CoAP) Hop-Limit Option"
|
|
|
|
for further information.
|
|
|
|
BUGS
|
|
----
|
|
Please report bugs on the mailing list for libcoap:
|
|
libcoap-developers@lists.sourceforge.net or raise an issue on GitHub at
|
|
https://github.com/obgm/libcoap/issues
|
|
|
|
AUTHORS
|
|
-------
|
|
The libcoap project <libcoap-developers@lists.sourceforge.net>
|