|
Name |
|
Date |
Size |
#Lines |
LOC |
| .. | | - | - |
| build-env/ | | 12-May-2024 | - | 71 | 49 |
| cmake/ | | 12-May-2024 | - | 130 | 113 |
| doc/ | | 12-May-2024 | - | 3,316 | 2,580 |
| examples/ | | 12-May-2024 | - | 8,899 | 6,410 |
| include/coap3/ | | 12-May-2024 | - | 11,222 | 4,546 |
| m4/ | | 12-May-2024 | - | 280 | 265 |
| man/ | | 12-May-2024 | - | 8,541 | 6,880 |
| scripts/ | | 12-May-2024 | - | 295 | 187 |
| src/ | | 12-May-2024 | - | 25,913 | 20,613 |
| tests/ | | 12-May-2024 | - | 5,040 | 3,597 |
| win32/ | | 12-May-2024 | - | 3,106 | 3,095 |
| .travis.yml | D | 12-May-2024 | 2.1 KiB | 71 | 56 |
| AUTHORS | D | 12-May-2024 | 166 | 8 | 7 |
| BUILD.gn | D | 12-May-2024 | 3.6 KiB | 150 | 142 |
| BUILDING | D | 12-May-2024 | 4.8 KiB | 158 | 111 |
| CMakeLists.txt | D | 12-May-2024 | 22.6 KiB | 674 | 593 |
| CONTRIBUTE | D | 12-May-2024 | 9.1 KiB | 219 | 173 |
| COPYING | D | 12-May-2024 | 328 | 7 | 5 |
| ChangeLog | D | 12-May-2024 | 10.6 KiB | 308 | 214 |
| Dockerfile | D | 12-May-2024 | 136 | 8 | 5 |
| HOWTO.dual.gnutls | D | 12-May-2024 | 2.5 KiB | 99 | 90 |
| HOWTO.dual.openssl | D | 12-May-2024 | 1.6 KiB | 51 | 44 |
| HOWTO.dual.softhsm2 | D | 12-May-2024 | 2.9 KiB | 91 | 78 |
| HOWTO.pkcs11 | D | 12-May-2024 | 4.8 KiB | 130 | 113 |
| LICENSE | D | 12-May-2024 | 3.4 KiB | 86 | 67 |
| Makefile.am | D | 12-May-2024 | 11.1 KiB | 278 | 194 |
| Makefile.libcoap | D | 12-May-2024 | 345 | 8 | 4 |
| NEWS | D | 12-May-2024 | 0 | | |
| OAT.xml | D | 12-May-2024 | 8.6 KiB | 119 | 64 |
| README | D | 12-May-2024 | 3.2 KiB | 84 | 55 |
| README.OpenSource | D | 12-May-2024 | 600 | 12 | 11 |
| README.md | D | 12-May-2024 | 3.2 KiB | 84 | 55 |
| TODO | D | 12-May-2024 | 817 | 28 | 22 |
| autogen.sh | D | 12-May-2024 | 3.3 KiB | 138 | 103 |
| bundle.json | D | 12-May-2024 | 845 | 28 | 28 |
| cmake-format.yaml | D | 12-May-2024 | 586 | 26 | 8 |
| cmake_coap_config.h.in | D | 12-May-2024 | 5.3 KiB | 164 | 112 |
| coap_config.h.contiki | D | 12-May-2024 | 5 KiB | 210 | 169 |
| coap_config.h.linux | D | 12-May-2024 | 5.2 KiB | 186 | 127 |
| coap_config.h.lwip | D | 12-May-2024 | 963 | 43 | 32 |
| coap_config.h.lwip.in | D | 12-May-2024 | 985 | 43 | 32 |
| coap_config.h.riot | D | 12-May-2024 | 3.8 KiB | 144 | 102 |
| coap_config.h.riot.in | D | 12-May-2024 | 3.8 KiB | 144 | 102 |
| coap_config.h.windows | D | 12-May-2024 | 3.1 KiB | 119 | 82 |
| coap_config.h.windows.in | D | 12-May-2024 | 3.1 KiB | 119 | 82 |
| configure.ac | D | 12-May-2024 | 40.8 KiB | 1,001 | 892 |
| libcoap-3.map | D | 12-May-2024 | 5.5 KiB | 233 | 232 |
| libcoap-3.pc.in | D | 12-May-2024 | 286 | 13 | 11 |
| libcoap-3.sym | D | 12-May-2024 | 4.8 KiB | 228 | 227 |
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
8Copyright (C) 2010—2021 by Olaf Bergmann <bergmann@tzi.org> and others
9
10ABOUT LIBCOAP
11=============
12
13libcoap is a C implementation of a lightweight application-protocol
14for devices that are constrained their resources such as computing
15power, RF range, memory, bandwidth, or network packet sizes. This
16protocol, CoAP, is standardized by the IETF as RFC 7252. For further
17information related to CoAP, see <http://coap.technology>.
18
19You might want to check out
20[libcoap-minimal](https://github.com/obgm/libcoap-minimal) for usage
21examples.
22
23DOCUMENTATION
24=============
25
26Documentation and further information can be found at
27<https://libcoap.net>.
28
29PACKAGE CONTENTS
30================
31
32This package contains a protocol parser and basic networking
33functions for platforms with support for malloc() and BSD-style
34sockets. In addition, there is support for Contiki, LwIP and
35Espressif/ESP-IDF hosted environments.
36
37The following RFCs are supported
38
39* RFC7252: The Constrained Application Protocol (CoAP)
40
41* RFC7641: Observing Resources in the Constrained Application Protocol (CoAP)
42
43* RFC7959: Block-Wise Transfers in the Constrained Application Protocol (CoAP)
44
45* RFC7967: Constrained Application Protocol (CoAP) Option for No Server Response
46
47* RFC8132: PATCH and FETCH Methods for the Constrained Application Protocol (CoAP)
48
49* RFC8323: CoAP (Constrained Application Protocol) over TCP, TLS, and WebSockets
50 [No WebSockets support]
51
52* RFC8768: Constrained Application Protocol (CoAP) Hop-Limit Option
53
54There is (D)TLS support for the following libraries
55
56* OpenSSL (Minimum version 1.1.0) [PKI, PSK and PKCS11]
57
58* GnuTLS (Minimum version 3.3.0) [PKI, PSK, RPK(3.6.6+) and PKCS11]
59
60* Mbed TLS (Minimum version 2.7.10) [PKI and PSK] [Currently only DTLS]
61
62* TinyDTLS [PSK and RPK] [DTLS Only]
63
64The examples directory contain a CoAP client, CoAP Resource Directory server
65and a CoAP server to demonstrate the use of this library.
66
67BUILDING
68========
69
70Further information can be found at <https://libcoap.net/install.html>
71and [BUILDING](https://raw.githubusercontent.com/obgm/libcoap/develop/BUILDING).
72
73LICENSE INFORMATION
74===================
75
76This library is published as open-source software without any warranty
77of any kind. Use is permitted under the terms of the simplified BSD
78license. It includes public domain software. libcoap binaries may also
79include open-source software with their respective licensing terms.
80Please refer to
81[LICENSE](https://raw.githubusercontent.com/obgm/libcoap/develop/LICENSE)
82for further details.
83
84
README.OpenSource
1[
2 {
3 "Name": "libcoap: C-Implementation of CoAP",
4 "License": "BSD 3-Clause License",
5 "License File": "LICENSE",
6 "Version Number": "4.3.0",
7 "Owner": "huyitan@huawei.com",
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. This protocol, CoAP, is standardized by the IETF as RFC 7252. For further information related to CoAP, see http://coap.technology."
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
8Copyright (C) 2010—2021 by Olaf Bergmann <bergmann@tzi.org> and others
9
10ABOUT LIBCOAP
11=============
12
13libcoap is a C implementation of a lightweight application-protocol
14for devices that are constrained their resources such as computing
15power, RF range, memory, bandwidth, or network packet sizes. This
16protocol, CoAP, is standardized by the IETF as RFC 7252. For further
17information related to CoAP, see <http://coap.technology>.
18
19You might want to check out
20[libcoap-minimal](https://github.com/obgm/libcoap-minimal) for usage
21examples.
22
23DOCUMENTATION
24=============
25
26Documentation and further information can be found at
27<https://libcoap.net>.
28
29PACKAGE CONTENTS
30================
31
32This package contains a protocol parser and basic networking
33functions for platforms with support for malloc() and BSD-style
34sockets. In addition, there is support for Contiki, LwIP and
35Espressif/ESP-IDF hosted environments.
36
37The following RFCs are supported
38
39* RFC7252: The Constrained Application Protocol (CoAP)
40
41* RFC7641: Observing Resources in the Constrained Application Protocol (CoAP)
42
43* RFC7959: Block-Wise Transfers in the Constrained Application Protocol (CoAP)
44
45* RFC7967: Constrained Application Protocol (CoAP) Option for No Server Response
46
47* RFC8132: PATCH and FETCH Methods for the Constrained Application Protocol (CoAP)
48
49* RFC8323: CoAP (Constrained Application Protocol) over TCP, TLS, and WebSockets
50 [No WebSockets support]
51
52* RFC8768: Constrained Application Protocol (CoAP) Hop-Limit Option
53
54There is (D)TLS support for the following libraries
55
56* OpenSSL (Minimum version 1.1.0) [PKI, PSK and PKCS11]
57
58* GnuTLS (Minimum version 3.3.0) [PKI, PSK, RPK(3.6.6+) and PKCS11]
59
60* Mbed TLS (Minimum version 2.7.10) [PKI and PSK] [Currently only DTLS]
61
62* TinyDTLS [PSK and RPK] [DTLS Only]
63
64The examples directory contain a CoAP client, CoAP Resource Directory server
65and a CoAP server to demonstrate the use of this library.
66
67BUILDING
68========
69
70Further information can be found at <https://libcoap.net/install.html>
71and [BUILDING](https://raw.githubusercontent.com/obgm/libcoap/develop/BUILDING).
72
73LICENSE INFORMATION
74===================
75
76This library is published as open-source software without any warranty
77of any kind. Use is permitted under the terms of the simplified BSD
78license. It includes public domain software. libcoap binaries may also
79include open-source software with their respective licensing terms.
80Please refer to
81[LICENSE](https://raw.githubusercontent.com/obgm/libcoap/develop/LICENSE)
82for further details.
83
84