No description
  • C 93.6%
  • M4 3%
  • CMake 1.6%
  • Makefile 0.7%
  • Shell 0.6%
  • Other 0.5%
Find a file
Jon Shallow 7cf7465b78
Some checks are pending
CIFuzz / Fuzzing (push) Waiting to run
Build Tests / pre-commit (push) Waiting to run
Build Tests / scan-build (push) Waiting to run
Build Tests / check-missing-updates (push) Waiting to run
Build Tests / build-linux (clang, gnutls) (push) Waiting to run
Build Tests / build-linux (clang, mbedtls) (push) Waiting to run
Build Tests / build-linux (clang, no) (push) Waiting to run
Build Tests / build-linux (clang, openssl) (push) Waiting to run
Build Tests / build-linux (clang, wolfssl) (push) Waiting to run
Build Tests / build-linux (gcc, gnutls) (push) Waiting to run
Build Tests / build-linux (gcc, mbedtls) (push) Waiting to run
Build Tests / build-linux (gcc, no) (push) Waiting to run
Build Tests / build-linux (gcc, openssl) (push) Waiting to run
Build Tests / build-linux (gcc, wolfssl) (push) Waiting to run
Build Tests / tinydtls-build (push) Waiting to run
Build Tests / cmake-build (gnutls) (push) Waiting to run
Build Tests / cmake-build (mbedtls) (push) Waiting to run
Build Tests / cmake-build (no) (push) Waiting to run
Build Tests / cmake-build (openssl) (push) Waiting to run
Build Tests / cmake-build (tinydtls) (push) Waiting to run
Build Tests / cmake-build (wolfssl) (push) Waiting to run
Build Tests / cmake-macos (push) Waiting to run
Build Tests / contiki-build-macos (push) Waiting to run
Build Tests / other-build (contiki) (push) Waiting to run
Build Tests / other-build (lwip) (push) Waiting to run
Build Tests / other-build (riot) (push) Waiting to run
Build Tests / ms-build (push) Waiting to run
Build Tests / ms-cmake (push) Waiting to run
Build Tests / mingw-cmake (push) Waiting to run
Build Tests / additional-tests (push) Waiting to run
Build Tests / documentation (push) Waiting to run
Build Tests / distribution (push) Waiting to run
Release 4.3.5: Fix SO and ABI version for new release
2024-09-06 11:13:56 +01:00
.github coap.h: Remove need for different coap.h files for different OS 2024-08-23 10:39:37 +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 coap_net.h: add ifdef WITH_LWIP around lwip functions 2024-08-27 11:59:23 +01:00
examples Release 4.3.5: Fix SO and ABI version for new release 2024-09-06 11:13:56 +01:00
ext tinydtls: Update to latest version 2024-05-14 09:40:07 +01:00
include Release 4.3.5: Release 4.3.5 2024-09-06 09:47:22 +01:00
m4 wolfSSL: Set up initial port 2024-04-16 11:03:24 +01:00
man coap_net.h: add ifdef WITH_LWIP around lwip functions 2024-08-27 11:59:23 +01:00
scripts coap.h: Remove need for different coap.h files for different OS 2024-08-23 10:39:37 +01:00
src Zephyr: Fix k_realloc build errors for zephyr < 3.7.0 2024-09-04 15:17:06 +01:00
tests path_query parsing: Remove need to define scratch buffer 2024-06-25 08:23:33 +01:00
win32 coap.h: Remove need for different coap.h files for different OS 2024-08-23 10:39:37 +01:00
zephyr Zephyr: Support Mbed TLS 3.6.0 2024-07-02 21:29:40 +01:00
.gitignore coap.h: Remove need for different coap.h files for different OS 2024-08-23 10:39:37 +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
autogen.sh coap.h: Remove need for different coap.h files for different OS 2024-08-23 10:39:37 +01:00
BUILDING coap.h: Remove need for different coap.h files for different OS 2024-08-23 10:39:37 +01:00
ChangeLog release 4.3.5rc3: Release candidate 3 for 4.3.5 2024-08-07 14:14:07 +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 Supported: Break out run-time checks and libcoap build #defines 2024-08-07 10:23:19 +01:00
cmake_coap_defines.h.in Supported: Break out run-time checks and libcoap build #defines 2024-08-07 10:23:19 +01:00
CMakeLists.txt Release 4.3.5: Fix SO and ABI version for new release 2024-09-06 11:13:56 +01:00
coap_config.h.contiki Release 4.3.5: Release 4.3.5 2024-09-06 09:47:22 +01:00
coap_config.h.riot Release 4.3.5: Release 4.3.5 2024-09-06 09:47:22 +01:00
coap_config.h.windows Release 4.3.5: Release 4.3.5 2024-09-06 09:47:22 +01:00
configure.ac Release 4.3.5: Fix SO and ABI version for new release 2024-09-06 11:13:56 +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
Dockerfile Dockerfile: use pre-built image and cleanup unused packets 2017-10-16 18:02:01 +02:00
get_config.sh Use grep -E instead of deprecated egrep 2024-01-06 13:23:08 +00: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
libcoap-3.map reverse-proxy: Provide dedicated reverse-proxy handler setup function 2024-08-16 13:33:31 +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 reverse-proxy: Provide dedicated reverse-proxy handler setup function 2024-08-16 13:33:31 +01:00
LICENSE wolfSSL: Set up initial port 2024-04-16 11:03:24 +01:00
Makefile.am coap.h: Remove need for different coap.h files for different OS 2024-08-23 10:39:37 +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

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.