Sponsor:

Your company here ā€” click to reach over 10,000 unique daily visitors

coap - Man Page

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 RFC7252. 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_address(3), coap_async(3), coap_attribute(3), coap_block(3), coap_cache(3), coap_context(3), coap_deprecated(3), coap_encryption(3), coap_endpoint_client(3), coap_endpoint_server(3), coap_handler(3), coap_init(), coap_io(3), coap_keepalive(3), coap_locking(3), coap_logging(3), coap_lwip(3), coap_observe(3), coap_oscore(3), coap_pdu_access(3), coap_pdu_setup(3), coap_persist(3), coap_recovery(3), coap_resource(3), coap_session(3), coap_string(3), coap_tls_library(3), coap_uri(3) and coap_websockets(3)

For example executables, see coap-client(5), coap-rd(5) and coap-server(5)

For OSCORE configuration, see coap-oscore-conf(5)

Further Information

See

"RFC7252: The Constrained Application Protocol (CoAP)"

"RFC7390: Group Communication for 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"

"RFC8516: "Too Many Requests" Response Code for the Constrained Application Protocol"

"RFC8613: Object Security for Constrained RESTful Environments (OSCORE)"

"RFC8768: Constrained Application Protocol (CoAP) Hop-Limit Option"

"RFC8974: Extended Tokens and Stateless Clients in the Constrained Application Protocol (CoAP)"

"RFC9175: CoAP: Echo, Request-Tag, and Token Processing"

"RFC9177: Constrained Application Protocol (CoAP) Block-Wise Transfer Options Supporting Robust Transmission"

for further information.

Bugs

Please raise an issue on GitHub at https://github.com/obgm/libcoap/issues to report any bugs.

Please raise a Pull Request at https://github.com/obgm/libcoap/pulls for any fixes.

Authors

The libcoap project <libcoap-developers@lists.sourceforge.net>

Info

06/07/2024 coap 4.3.5rc1 libcoap Manual