Skip to content
/ libcoap Public

A CoAP (RFC 7252) implementation in C

License

Unknown, Unknown licenses found

Licenses found

Unknown
LICENSE
Unknown
COPYING
Notifications You must be signed in to change notification settings

obgm/libcoap

Folders and files

NameName
Last commit message
Last commit date
Aug 23, 2024
Oct 10, 2023
May 15, 2024
Feb 17, 2025
Feb 20, 2025
May 14, 2024
Feb 21, 2025
Apr 16, 2024
Feb 20, 2025
Feb 17, 2025
Feb 21, 2025
Feb 17, 2025
Aug 23, 2024
Feb 17, 2025
Aug 23, 2024
Apr 8, 2019
May 15, 2024
Apr 21, 2021
May 15, 2024
Oct 10, 2024
Feb 17, 2025
May 15, 2024
Jul 11, 2017
Sep 10, 2024
Oct 16, 2017
May 15, 2024
May 15, 2024
May 15, 2024
May 12, 2021
Feb 17, 2025
Feb 17, 2025
Feb 8, 2023
Mar 3, 2015
Mar 3, 2015
Feb 17, 2025
Aug 14, 2023
May 15, 2024
Aug 23, 2024
Mar 8, 2021
Feb 17, 2025
Feb 17, 2025
Feb 17, 2025
Feb 17, 2025
Feb 17, 2025
Feb 17, 2025
Jan 6, 2024
Dec 18, 2024
Apr 21, 2021
Dec 18, 2024

Repository files navigation

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—2025 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.