Copyright (C) 2010—2021 by Olaf Bergmann bergmann@tzi.org and others
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.
You might want to check out libcoap-minimal for usage examples.
Documentation and further information can be found at https://libcoap.net.
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, LwIP and Espressif/ESP-IDF hosted environments.
The following RFCs are supported
RFC7252: The Constrained Application Protocol (CoAP)
RFC7641: Observing Resources in the Constrained Application Protocol (CoAP)
RFC7959: Block-Wise Transfers in the Constrained Application Protocol (CoAP)
RFC7967: Constrained Application Protocol (CoAP) Option for No Server Response
RFC8132: PATCH and FETCH Methods for the Constrained Application Protocol (CoAP)
RFC8323: CoAP (Constrained Application Protocol) over TCP, TLS, and WebSockets [No WebSockets support]
RFC8768: Constrained Application Protocol (CoAP) Hop-Limit Option
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]
MbedTLS (Minimum version 2.7.10) [PKI and PSK] [Currently only DTLS]
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.
Further information can be found at https://libcoap.net/install.html and BUILDING.
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.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。