|
Name |
|
Date |
Size |
#Lines |
LOC |
| .. | | - | - |
| build-env/ | | 07-Sep-2024 | - | 71 | 49 |
| cmake/ | | 07-Sep-2024 | - | 130 | 113 |
| doc/ | | 07-Sep-2024 | - | 3,518 | 2,687 |
| examples/ | | 07-Sep-2024 | - | 12,828 | 9,401 |
| include/ | | 07-Sep-2024 | - | 15,423 | 5,960 |
| m4/ | | 07-Sep-2024 | - | 293 | 278 |
| man/ | | 07-Sep-2024 | - | 12,704 | 10,030 |
| scripts/ | | 07-Sep-2024 | - | 335 | 221 |
| src/ | | 07-Sep-2024 | - | 41,125 | 32,821 |
| tests/ | | 07-Sep-2024 | - | 6,382 | 4,704 |
| win32/ | | 07-Sep-2024 | - | 3,207 | 3,195 |
| AUTHORS | D | 07-Sep-2024 | 166 | 8 | 7 |
| BUILD.gn | D | 07-Sep-2024 | 1.9 KiB | 82 | 73 |
| BUILDING | D | 07-Sep-2024 | 6.2 KiB | 211 | 149 |
| CMakeLists.txt | D | 07-Sep-2024 | 30.9 KiB | 924 | 820 |
| CONTRIBUTE | D | 07-Sep-2024 | 10.8 KiB | 264 | 203 |
| COPYING | D | 07-Sep-2024 | 328 | 7 | 5 |
| ChangeLog | D | 07-Sep-2024 | 13.7 KiB | 384 | 278 |
| Dockerfile | D | 07-Sep-2024 | 136 | 8 | 5 |
| HOWTO.dual.gnutls | D | 07-Sep-2024 | 2.5 KiB | 99 | 90 |
| HOWTO.dual.openssl | D | 07-Sep-2024 | 1.6 KiB | 51 | 44 |
| HOWTO.dual.softhsm2 | D | 07-Sep-2024 | 2.9 KiB | 91 | 78 |
| HOWTO.pkcs11 | D | 07-Sep-2024 | 4.8 KiB | 130 | 113 |
| LICENSE | D | 07-Sep-2024 | 5.3 KiB | 125 | 101 |
| Makefile.am | D | 07-Sep-2024 | 14.6 KiB | 368 | 275 |
| Makefile.libcoap | D | 07-Sep-2024 | 189 | 6 | 5 |
| NEWS | D | 07-Sep-2024 | 0 | | |
| OAT.xml | D | 07-Sep-2024 | 7.8 KiB | 106 | 51 |
| README | D | 07-Sep-2024 | 4.6 KiB | 98 | 63 |
| README.OpenSource | D | 07-Sep-2024 | 483 | 12 | 11 |
| README.md | D | 07-Sep-2024 | 4.6 KiB | 98 | 63 |
| SECURITY.md | D | 07-Sep-2024 | 1.4 KiB | 34 | 24 |
| TODO | D | 07-Sep-2024 | 817 | 28 | 22 |
| autogen.sh | D | 07-Sep-2024 | 3.5 KiB | 143 | 104 |
| bundle.json | D | 07-Sep-2024 | 859 | 33 | 32 |
| cmake-format.yaml | D | 07-Sep-2024 | 586 | 26 | 8 |
| cmake_coap_config.h.in | D | 07-Sep-2024 | 6.9 KiB | 211 | 144 |
| coap_config.h.contiki | D | 07-Sep-2024 | 2.9 KiB | 106 | 70 |
| coap_config.h.riot | D | 07-Sep-2024 | 10.2 KiB | 346 | 273 |
| coap_config.h.riot.in | D | 07-Sep-2024 | 10.2 KiB | 346 | 273 |
| coap_config.h.windows | D | 07-Sep-2024 | 4.7 KiB | 186 | 137 |
| coap_config.h.windows.in | D | 07-Sep-2024 | 4.7 KiB | 186 | 137 |
| configure.ac | D | 07-Sep-2024 | 55.6 KiB | 1,331 | 1,186 |
| libcoap-3.map | D | 07-Sep-2024 | 7.3 KiB | 296 | 295 |
| libcoap-3.pc.in | D | 07-Sep-2024 | 286 | 13 | 11 |
| libcoap-3.sym | D | 07-Sep-2024 | 6.4 KiB | 290 | 289 |
README
1# libcoap: A C implementation of the Constrained Application Protocol (RFC 7252)
2
3[![Build Status: main](https://github.com/obgm/libcoap/actions/workflows/main.yml/badge.svg?branch=main)](https://github.com/obgm/libcoap/actions?query=branch:main)
4[![Build Status: develop](https://github.com/obgm/libcoap/actions/workflows/main.yml/badge.svg?branch=develop)](https://github.com/obgm/libcoap/actions?query=branch:develop)
5[![Static Analysis](https://scan.coverity.com/projects/10970/badge.svg?flat=1)](https://scan.coverity.com/projects/obgm-libcoap)
6[![Fuzzing Status](https://oss-fuzz-build-logs.storage.googleapis.com/badges/libcoap.svg)](https://bugs.chromium.org/p/oss-fuzz/issues/list?sort=-opened&can=1&q=proj:libcoap)
7[![CIFuzz Status](https://github.com/obgm/libcoap/actions/workflows/cifuzz.yml/badge.svg?branch=develop)](https://github.com/obgm/libcoap/actions/workflows/cifuzz.yml)
8[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit)](https://github.com/pre-commit/pre-commit)
9
10Copyright (C) 2010—2023 by Olaf Bergmann <bergmann@tzi.org> and others
11
12ABOUT LIBCOAP
13=============
14
15libcoap is a C implementation of a lightweight application-protocol
16for devices that are constrained their resources such as computing
17power, RF range, memory, bandwidth, or network packet sizes. This
18protocol, CoAP, is standardized by the IETF as RFC 7252. For further
19information related to CoAP, see <https://coap.space> or
20[CoAP Wiki](https://en.wikipedia.org/wiki/Constrained_Application_Protocol).
21
22You might want to check out
23[libcoap-minimal](https://github.com/obgm/libcoap-minimal) for usage
24examples.
25
26DOCUMENTATION
27=============
28
29Documentation and further information can be found at
30<https://libcoap.net>.
31
32PACKAGE CONTENTS
33================
34
35This package contains a protocol parser and basic networking
36functions for platforms with support for malloc() and BSD-style
37sockets. In addition, there is support for Contiki-NG,
38Espressif/ESP-IDF, LwIP and RIOT-OS hosted environments.
39
40The following RFCs are supported
41
42* [RFC7252: The Constrained Application Protocol (CoAP)](https://rfc-editor.org/rfc/rfc7252)
43
44* [RFC7390: Group Communication for the Constrained Application Protocol (CoAP)](https://rfc-editor.org/rfc/rfc7390)
45
46* [RFC7641: Observing Resources in the Constrained Application Protocol (CoAP)](https://rfc-editor.org/rfc/rfc7641)
47
48* [RFC7959: Block-Wise Transfers in the Constrained Application Protocol (CoAP)](https://rfc-editor.org/rfc/rfc7959)
49
50* [RFC7967: Constrained Application Protocol (CoAP) Option for No Server Response](https://rfc-editor.org/rfc/rfc7967)
51
52* [RFC8132: PATCH and FETCH Methods for the Constrained Application Protocol (CoAP)](https://rfc-editor.org/rfc/rfc8132)
53
54* [RFC8323: CoAP (Constrained Application Protocol) over TCP, TLS, and WebSockets](https://rfc-editor.org/rfc/rfc8323)
55
56* [RFC8516: "Too Many Requests" Response Code for the Constrained Application Protocol](https://rfc-editor.org/rfc/rfc8516)
57
58* [RFC8613: Object Security for Constrained RESTful Environments (OSCORE)](https://rfc-editor.org/rfc/rfc8613)
59
60* [RFC8768: Constrained Application Protocol (CoAP) Hop-Limit Option](https://rfc-editor.org/rfc/rfc8768)
61
62* [RFC8974: Extended Tokens and Stateless Clients in the Constrained Application Protocol (CoAP)](https://rfc-editor.org/rfc/rfc8974)
63
64* [RFC9175: CoAP: Echo, Request-Tag, and Token Processing](https://rfc-editor.org/rfc/rfc9175)
65
66* [RFC9177: Constrained Application Protocol (CoAP) Block-Wise Transfer Options Supporting Robust Transmission](https://rfc-editor.org/rfc/rfc9177)
67
68There is (D)TLS support for the following libraries
69
70* [OpenSSL](https://www.openssl.org) (Minimum version 1.1.0) [PKI, PSK and PKCS11]
71
72* [GnuTLS](https://www.gnutls.org) (Minimum version 3.3.0) [PKI, PSK, RPK(3.6.6+) and PKCS11]
73
74* [Mbed TLS](https://www.trustedfirmware.org/projects/mbed-tls/) (Minimum version 2.7.10) [PKI and PSK]
75
76* [TinyDTLS](https://github.com/eclipse/tinydtls) [PSK and RPK] [DTLS Only]
77
78The examples directory contain a CoAP client, CoAP Resource Directory server
79and a CoAP server to demonstrate the use of this library.
80
81BUILDING
82========
83
84Further information can be found at <https://libcoap.net/install.html>
85and [BUILDING](https://raw.githubusercontent.com/obgm/libcoap/develop/BUILDING).
86
87LICENSE INFORMATION
88===================
89
90This library is published as open-source software without any warranty
91of any kind. Use is permitted under the terms of the simplified BSD
92license. It includes public domain software. libcoap binaries may also
93include open-source software with their respective licensing terms.
94Please refer to
95[LICENSE](https://raw.githubusercontent.com/obgm/libcoap/develop/LICENSE)
96for further details.
97
98
README.OpenSource
1[
2 {
3 "Name": "libcoap: C-Implementation of CoAP",
4 "License": "BSD 2-Clause License",
5 "License File": "LICENSE",
6 "Version Number": "4.3.4",
7 "Owner": "",
8 "Upstream URL": "https://github.com/obgm/libcoap",
9 "Description": "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."
10 }
11]
12
README.md
1# libcoap: A C implementation of the Constrained Application Protocol (RFC 7252)
2
3[![Build Status: main](https://github.com/obgm/libcoap/actions/workflows/main.yml/badge.svg?branch=main)](https://github.com/obgm/libcoap/actions?query=branch:main)
4[![Build Status: develop](https://github.com/obgm/libcoap/actions/workflows/main.yml/badge.svg?branch=develop)](https://github.com/obgm/libcoap/actions?query=branch:develop)
5[![Static Analysis](https://scan.coverity.com/projects/10970/badge.svg?flat=1)](https://scan.coverity.com/projects/obgm-libcoap)
6[![Fuzzing Status](https://oss-fuzz-build-logs.storage.googleapis.com/badges/libcoap.svg)](https://bugs.chromium.org/p/oss-fuzz/issues/list?sort=-opened&can=1&q=proj:libcoap)
7[![CIFuzz Status](https://github.com/obgm/libcoap/actions/workflows/cifuzz.yml/badge.svg?branch=develop)](https://github.com/obgm/libcoap/actions/workflows/cifuzz.yml)
8[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit)](https://github.com/pre-commit/pre-commit)
9
10Copyright (C) 2010—2023 by Olaf Bergmann <bergmann@tzi.org> and others
11
12ABOUT LIBCOAP
13=============
14
15libcoap is a C implementation of a lightweight application-protocol
16for devices that are constrained their resources such as computing
17power, RF range, memory, bandwidth, or network packet sizes. This
18protocol, CoAP, is standardized by the IETF as RFC 7252. For further
19information related to CoAP, see <https://coap.space> or
20[CoAP Wiki](https://en.wikipedia.org/wiki/Constrained_Application_Protocol).
21
22You might want to check out
23[libcoap-minimal](https://github.com/obgm/libcoap-minimal) for usage
24examples.
25
26DOCUMENTATION
27=============
28
29Documentation and further information can be found at
30<https://libcoap.net>.
31
32PACKAGE CONTENTS
33================
34
35This package contains a protocol parser and basic networking
36functions for platforms with support for malloc() and BSD-style
37sockets. In addition, there is support for Contiki-NG,
38Espressif/ESP-IDF, LwIP and RIOT-OS hosted environments.
39
40The following RFCs are supported
41
42* [RFC7252: The Constrained Application Protocol (CoAP)](https://rfc-editor.org/rfc/rfc7252)
43
44* [RFC7390: Group Communication for the Constrained Application Protocol (CoAP)](https://rfc-editor.org/rfc/rfc7390)
45
46* [RFC7641: Observing Resources in the Constrained Application Protocol (CoAP)](https://rfc-editor.org/rfc/rfc7641)
47
48* [RFC7959: Block-Wise Transfers in the Constrained Application Protocol (CoAP)](https://rfc-editor.org/rfc/rfc7959)
49
50* [RFC7967: Constrained Application Protocol (CoAP) Option for No Server Response](https://rfc-editor.org/rfc/rfc7967)
51
52* [RFC8132: PATCH and FETCH Methods for the Constrained Application Protocol (CoAP)](https://rfc-editor.org/rfc/rfc8132)
53
54* [RFC8323: CoAP (Constrained Application Protocol) over TCP, TLS, and WebSockets](https://rfc-editor.org/rfc/rfc8323)
55
56* [RFC8516: "Too Many Requests" Response Code for the Constrained Application Protocol](https://rfc-editor.org/rfc/rfc8516)
57
58* [RFC8613: Object Security for Constrained RESTful Environments (OSCORE)](https://rfc-editor.org/rfc/rfc8613)
59
60* [RFC8768: Constrained Application Protocol (CoAP) Hop-Limit Option](https://rfc-editor.org/rfc/rfc8768)
61
62* [RFC8974: Extended Tokens and Stateless Clients in the Constrained Application Protocol (CoAP)](https://rfc-editor.org/rfc/rfc8974)
63
64* [RFC9175: CoAP: Echo, Request-Tag, and Token Processing](https://rfc-editor.org/rfc/rfc9175)
65
66* [RFC9177: Constrained Application Protocol (CoAP) Block-Wise Transfer Options Supporting Robust Transmission](https://rfc-editor.org/rfc/rfc9177)
67
68There is (D)TLS support for the following libraries
69
70* [OpenSSL](https://www.openssl.org) (Minimum version 1.1.0) [PKI, PSK and PKCS11]
71
72* [GnuTLS](https://www.gnutls.org) (Minimum version 3.3.0) [PKI, PSK, RPK(3.6.6+) and PKCS11]
73
74* [Mbed TLS](https://www.trustedfirmware.org/projects/mbed-tls/) (Minimum version 2.7.10) [PKI and PSK]
75
76* [TinyDTLS](https://github.com/eclipse/tinydtls) [PSK and RPK] [DTLS Only]
77
78The examples directory contain a CoAP client, CoAP Resource Directory server
79and a CoAP server to demonstrate the use of this library.
80
81BUILDING
82========
83
84Further information can be found at <https://libcoap.net/install.html>
85and [BUILDING](https://raw.githubusercontent.com/obgm/libcoap/develop/BUILDING).
86
87LICENSE INFORMATION
88===================
89
90This library is published as open-source software without any warranty
91of any kind. Use is permitted under the terms of the simplified BSD
92license. It includes public domain software. libcoap binaries may also
93include open-source software with their respective licensing terms.
94Please refer to
95[LICENSE](https://raw.githubusercontent.com/obgm/libcoap/develop/LICENSE)
96for further details.
97
98