Go to file
Jon Shallow c4d0a42f97 doc: Refer to DTLS1.3 and request non-standard TLS library configurations 2024-05-18 13:39:48 +01:00
.github doc: Refer to DTLS1.3 and request non-standard TLS library configurations 2024-05-18 13:39:48 +01:00
build-env Dockerfile.develop: Add package adduser 2023-10-10 17:19:39 +01:00
cmake pre-commit: Add more trailing spaces and empty line at end of file checks 2024-05-15 16:04:08 +01:00
doc doc: Refer to DTLS1.3 and request non-standard TLS library configurations 2024-05-18 13:39:48 +01:00
examples pre-commit: Add more trailing spaces and empty line at end of file checks 2024-05-15 16:04:08 +01:00
ext tinydtls: Update to latest version 2024-05-14 09:40:07 +01:00
include nits: Tidy up documentation 2024-05-18 10:54:13 +01:00
m4 wolfSSL: Set up initial port 2024-04-16 11:03:24 +01:00
man nits: Tidy up documentation 2024-05-18 10:54:13 +01:00
scripts checks: Check for missing file updates 2024-05-17 15:33:44 +01:00
src locking: After coap_free_context(), handle API calls from call-backs 2024-05-18 13:28:25 +01:00
tests pre-commit: Add more trailing spaces and empty line at end of file checks 2024-05-15 16:04:08 +01:00
win32 pre-commit: Add more trailing spaces and empty line at end of file checks 2024-05-15 16:04:08 +01:00
zephyr Zephyr: Initial Zephyr integration setup 2024-02-12 13:42:04 +00:00
.gitignore coap_block.c: Support 16 bit size_t in coap_context_set_max_block_size() 2024-05-09 21:02:54 +01:00
.gitmodules [tinydtls] Updated submodule URI to new development HEAD 2019-04-08 14:28:52 +02:00
.pre-commit-config.yaml pre-commit: Add more trailing spaces and empty line at end of file checks 2024-05-15 16:04:08 +01:00
.travis.yml [CI] rename stable branch to main 2021-04-21 17:54:37 +02:00
AUTHORS pre-commit: Add more trailing spaces and empty line at end of file checks 2024-05-15 16:04:08 +01:00
BUILDING wolfSSL: Set up initial port 2024-04-16 11:03:24 +01:00
CMakeLists.txt Fix to cmake build for wolfssl dtls backend 2024-05-17 10:08:09 +01:00
CMakeLists.txt.in Fix to cmake build for wolfssl dtls backend 2024-05-17 10:08:09 +01:00
CONTRIBUTE pre-commit: Add more trailing spaces and empty line at end of file checks 2024-05-15 16:04:08 +01:00
COPYING COPYING: updated text 2017-07-11 12:59:09 +02:00
ChangeLog Update version to release 4.3.4 2023-10-04 22:04:05 +01:00
Dockerfile Dockerfile: use pre-built image and cleanup unused packets 2017-10-16 18:02:01 +02:00
HOWTO.dual.gnutls pre-commit: Add more trailing spaces and empty line at end of file checks 2024-05-15 16:04:08 +01:00
HOWTO.dual.openssl pre-commit: Add more trailing spaces and empty line at end of file checks 2024-05-15 16:04:08 +01:00
HOWTO.dual.softhsm2 pre-commit: Add more trailing spaces and empty line at end of file checks 2024-05-15 16:04:08 +01:00
HOWTO.pkcs11 PKCS11: Fix -C ca option 2021-05-12 18:07:03 +01:00
LICENSE wolfSSL: Set up initial port 2024-04-16 11:03:24 +01:00
Makefile.am pre-commit: Add more trailing spaces and empty line at end of file checks 2024-05-15 16:04:08 +01:00
Makefile.libcoap Updates Contiki-specific code to Contiki-NG 2023-02-08 16:05:09 +00:00
NEWS adding basic files for build environment creation 2015-03-03 19:21:43 +01:00
README adding basic files for build environment creation 2015-03-03 19:21:43 +01:00
README.md doc: Refer to DTLS1.3 and request non-standard TLS library configurations 2024-05-18 13:39:48 +01:00
SECURITY.md SECURITY.md: Add in a security policy 2023-08-14 15:30:21 +01:00
TODO pre-commit: Add more trailing spaces and empty line at end of file checks 2024-05-15 16:04:08 +01:00
autogen.sh autogen.sh: Fix missing file ar-lib 2022-02-21 13:04:49 +01:00
cmake-format.yaml include: Move header files into libcoap namespace 2021-03-08 16:45:02 +00:00
cmake_coap_config.h.in Fix to cmake build for wolfssl dtls backend 2024-05-17 10:08:09 +01:00
coap_config.h.contiki coap_config.h*: Make the various OS coap_config.h more consistent 2024-03-14 16:30:26 +00:00
coap_config.h.contiki.in coap_config.h*: Make the various OS coap_config.h more consistent 2024-03-14 16:30:26 +00:00
coap_config.h.riot coap_config.h*: Make the various OS coap_config.h more consistent 2024-03-14 16:30:26 +00:00
coap_config.h.riot.in coap_config.h*: Make the various OS coap_config.h more consistent 2024-03-14 16:30:26 +00:00
coap_config.h.windows coap_config.h*: Make the various OS coap_config.h more consistent 2024-03-14 16:30:26 +00:00
coap_config.h.windows.in coap_config.h*: Make the various OS coap_config.h more consistent 2024-03-14 16:30:26 +00:00
configure.ac OpenSSL: Add in support for configuring an alternative TLS ENGINE 2024-05-06 09:09:58 +01:00
get_config.sh Use `grep -E` instead of deprecated `egrep` 2024-01-06 13:23:08 +00:00
libcoap-3.map coap_net: add coap_context_set/get_app_data and deprecate coap_set/get_app_data 2024-05-15 15:42:45 +01:00
libcoap-3.pc.in Bump API version to 3, release candidate 2 2021-04-21 14:38:54 +02:00
libcoap-3.sym coap_net: add coap_context_set/get_app_data and deprecate coap_set/get_app_data 2024-05-15 15:42:45 +01:00

README.md

libcoap: A C implementation of the Constrained Application Protocol (RFC 7252)

Build Status: main Build Status: develop Static Analysis Fuzzing Status CIFuzz Status pre-commit

Copyright (C) 2010—2024 by Olaf Bergmann bergmann@tzi.org and others

ABOUT LIBCOAP

libcoap is a C implementation of a lightweight application-protocol for devices that are constrained 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 https://coap.space or CoAP Wiki.

You might want to check out libcoap-minimal for usage examples.

DOCUMENTATION

Documentation and further information can be found at https://libcoap.net.

PACKAGE CONTENTS

This package contains a protocol parser and basic networking functions for platforms with support for malloc() and BSD-style sockets. In addition, there is support for Contiki-NG, Espressif/ESP-IDF, LwIP and RIOT-OS hosted environments.

The following RFCs are supported

There is (D)TLS support for the following libraries

  • OpenSSL (Minimum version 1.1.0) [PKI, PSK and PKCS11]

  • GnuTLS (Minimum version 3.3.0) [PKI, PSK, RPK(3.6.6+) and PKCS11]

  • Mbed TLS (Minimum version 2.7.10) [PKI and PSK]

  • wolfSSL (Minimum version 5.2.0) [PKI, PSK, RPK(5.6.4+) and DTLS1.3(5.4.0+)]

  • TinyDTLS [PSK and RPK] [DTLS Only]

The examples directory contain a CoAP client, CoAP Resource Directory server and a CoAP server to demonstrate the use of this library.

BUILDING

Further information can be found at https://libcoap.net/install.html and BUILDING.

LICENSE INFORMATION

This library is published as open-source software without any warranty of any kind. Use is permitted under the terms of the simplified BSD license. It includes public domain software. libcoap binaries may also include open-source software with their respective licensing terms. Please refer to LICENSE for further details.