1c87c5fbaSopenharmony_cilibcoap                         {#mainpage}
2c87c5fbaSopenharmony_ci=======
3c87c5fbaSopenharmony_ci
4c87c5fbaSopenharmony_ciA C implementation of the Constrained Application Protocol (RFC 7252)
5c87c5fbaSopenharmony_ci=====================================================================
6c87c5fbaSopenharmony_ci
7c87c5fbaSopenharmony_ciCopyright (C) 2010--2023 by Olaf Bergmann <bergmann@tzi.org> and others
8c87c5fbaSopenharmony_ci
9c87c5fbaSopenharmony_ciAbout libcoap
10c87c5fbaSopenharmony_ci=============
11c87c5fbaSopenharmony_ci
12c87c5fbaSopenharmony_cilibcoap is a C implementation of a lightweight application-protocol
13c87c5fbaSopenharmony_cifor devices that are constrained their resources such as computing
14c87c5fbaSopenharmony_cipower, RF range, memory, bandwidth, or network packet sizes. This
15c87c5fbaSopenharmony_ciprotocol, CoAP, is standardized by the IETF as RFC 7252. For further
16c87c5fbaSopenharmony_ciinformation related to CoAP, see <https://coap.space> or
17c87c5fbaSopenharmony_ci[CoAP Wiki](https://en.wikipedia.org/wiki/Constrained_Application_Protocol).
18c87c5fbaSopenharmony_ci
19c87c5fbaSopenharmony_ciYou might want to check out
20c87c5fbaSopenharmony_ci[libcoap-minimal](https://github.com/obgm/libcoap-minimal) for usage
21c87c5fbaSopenharmony_ciexamples.
22c87c5fbaSopenharmony_ci
23c87c5fbaSopenharmony_ciThe following RFCs are supported
24c87c5fbaSopenharmony_ci
25c87c5fbaSopenharmony_ci* [RFC7252: The Constrained Application Protocol (CoAP)](https://rfc-editor.org/rfc/rfc7252)
26c87c5fbaSopenharmony_ci
27c87c5fbaSopenharmony_ci* [RFC7390: Group Communication for the Constrained Application Protocol (CoAP)](https://rfc-editor.org/rfc/rfc7390)
28c87c5fbaSopenharmony_ci
29c87c5fbaSopenharmony_ci* [RFC7641: Observing Resources in the Constrained Application Protocol (CoAP)](https://rfc-editor.org/rfc/rfc7641)
30c87c5fbaSopenharmony_ci
31c87c5fbaSopenharmony_ci* [RFC7959: Block-Wise Transfers in the Constrained Application Protocol (CoAP)](https://rfc-editor.org/rfc/rfc7959)
32c87c5fbaSopenharmony_ci
33c87c5fbaSopenharmony_ci* [RFC7967: Constrained Application Protocol (CoAP) Option for No Server Response](https://rfc-editor.org/rfc/rfc7967)
34c87c5fbaSopenharmony_ci
35c87c5fbaSopenharmony_ci* [RFC8132: PATCH and FETCH Methods for the Constrained Application Protocol (CoAP)](https://rfc-editor.org/rfc/rfc8132)
36c87c5fbaSopenharmony_ci
37c87c5fbaSopenharmony_ci* [RFC8323: CoAP (Constrained Application Protocol) over TCP, TLS, and WebSockets](https://rfc-editor.org/rfc/rfc8323)
38c87c5fbaSopenharmony_ci
39c87c5fbaSopenharmony_ci* [RFC8516: "Too Many Requests" Response Code for the Constrained Application Protocol](https://rfc-editor.org/rfc/rfc8516)
40c87c5fbaSopenharmony_ci
41c87c5fbaSopenharmony_ci* [RFC8613: Object Security for Constrained RESTful Environments (OSCORE)](https://rfc-editor.org/rfc/rfc8613)
42c87c5fbaSopenharmony_ci
43c87c5fbaSopenharmony_ci* [RFC8768: Constrained Application Protocol (CoAP) Hop-Limit Option](https://rfc-editor.org/rfc/rfc8768)
44c87c5fbaSopenharmony_ci
45c87c5fbaSopenharmony_ci* [RFC8974: Extended Tokens and Stateless Clients in the Constrained Application Protocol (CoAP)](https://rfc-editor.org/rfc/rfc8974)
46c87c5fbaSopenharmony_ci
47c87c5fbaSopenharmony_ci* [RFC9175: CoAP: Echo, Request-Tag, and Token Processing](https://rfc-editor.org/rfc/rfc9175)
48c87c5fbaSopenharmony_ci
49c87c5fbaSopenharmony_ci* [RFC9177: Constrained Application Protocol (CoAP) Block-Wise Transfer Options Supporting Robust Transmission](https://rfc-editor.org/rfc/rfc9177)
50c87c5fbaSopenharmony_ci
51c87c5fbaSopenharmony_ciThere is (D)TLS support for the following libraries
52c87c5fbaSopenharmony_ci
53c87c5fbaSopenharmony_ci* [OpenSSL](https://www.openssl.org) (Minimum version 1.1.0) [PKI, PSK and PKCS11]
54c87c5fbaSopenharmony_ci
55c87c5fbaSopenharmony_ci* [GnuTLS](https://www.gnutls.org) (Minimum version 3.3.0) [PKI, PSK, RPK(3.6.6+) and PKCS11]
56c87c5fbaSopenharmony_ci
57c87c5fbaSopenharmony_ci* [Mbed TLS](https://www.trustedfirmware.org/projects/mbed-tls/) (Minimum version 2.7.10) [PKI and PSK]
58c87c5fbaSopenharmony_ci
59c87c5fbaSopenharmony_ci* [TinyDTLS](https://github.com/eclipse/tinydtls) [PSK and RPK] [DTLS Only]
60c87c5fbaSopenharmony_ci
61c87c5fbaSopenharmony_ciDocumentation
62c87c5fbaSopenharmony_ci=============
63c87c5fbaSopenharmony_ci
64c87c5fbaSopenharmony_ciThis set of pages contains the current set of documention for the libcoap APIs.
65c87c5fbaSopenharmony_ci
66c87c5fbaSopenharmony_ciLicense Information
67c87c5fbaSopenharmony_ci===================
68c87c5fbaSopenharmony_ci
69c87c5fbaSopenharmony_ciThis library is published as open-source software without any warranty
70c87c5fbaSopenharmony_ciof any kind. Use is permitted under the terms of the simplified BSD
71c87c5fbaSopenharmony_cilicense. It includes public domain software. libcoap binaries may also
72c87c5fbaSopenharmony_ciinclude open-source software with their respective licensing terms.
73c87c5fbaSopenharmony_ciPlease refer to
74c87c5fbaSopenharmony_ci[LICENSE](https://raw.githubusercontent.com/obgm/libcoap/develop/LICENSE)
75c87c5fbaSopenharmony_cifor further details in the source.
76