Description:
Lightweight application-protocol for resource-constrained devices
|
|
Type: Formula
|
Latest Version: 4.3.5b@0
|
Tracked Since: Nov 27, 2025
|
|
Links:
Homepage |
formulae.brew.sh
|
|
Category: Networking
|
|
Tags:
coap
iot
rfc-7252
m2m
embedded
networking
|
|
Install:
brew install libcoap
|
About:
libcoap is a high-performance C implementation of the Constrained Application Protocol (RFC 7252). It enables reliable and UDP-based communication for IoT devices, acting as both client and server. The library is highly configurable to fit into resource-constrained environments like microcontrollers.
|
Key Features:
- Full RFC 7252 implementation (CoAP over UDP)
- Support for CoAP over TCP (RFC 8323)
- Resource directory and block-wise transfer support
- DTLS security layer integration (via TinyDTLS or OpenSSL)
- Asynchronous I/O for high concurrency
|
Use Cases:
- Building lightweight servers for embedded sensors and actuators
- Developing IoT clients for device management and data telemetry
- Implementing M2M (Machine-to-Machine) communication in constrained networks
|
Alternatives:
-
californium
– Java-based CoAP implementation; heavier resource footprint but easier integration in Java ecosystems.
-
aiocoap
– Python-based asynchronous implementation; ideal for rapid prototyping but lacks C's raw performance for embedded use.
|
| Detected |
Version |
Rev |
Change |
Commit |
| Apr 14, 2026 2:50pm |
4.3.5b |
0 |
VERSION_BUMP |
53fcb919 |
| Nov 27, 2025 11:04am |
4.3.5a |
0 |
VERSION_BUMP |
bb98efe5 |
| Sep 13, 2025 10:51am |
|
0 |
VERSION_BUMP |
8141c410 |
| Nov 25, 2024 11:55pm |
|
0 |
VERSION_BUMP |
1468a05b |
| Sep 13, 2024 5:48pm |
|
0 |
VERSION_BUMP |
967cef74 |
| Sep 13, 2024 2:26pm |
|
0 |
VERSION_BUMP |
efbf183a |
| Oct 6, 2023 7:07pm |
|
0 |
VERSION_BUMP |
9809793e |
| Sep 12, 2023 11:28am |
|
0 |
VERSION_BUMP |
2597ad52 |
| Sep 7, 2023 11:39pm |
|
0 |
VERSION_BUMP |
9d20553b |
| Nov 22, 2022 6:44pm |
|
0 |
VERSION_BUMP |
0cb82b50 |
| Nov 22, 2022 4:05pm |
|
0 |
VERSION_BUMP |
bb88601b |
| Nov 22, 2022 4:05pm |
|
0 |
VERSION_BUMP |
1b3b3ff6 |
| Nov 20, 2022 4:14pm |
|
0 |
VERSION_BUMP |
6b0f71b3 |
| Nov 19, 2022 11:05am |
|
0 |
VERSION_BUMP |
37e8cb0e |
| Nov 19, 2022 11:05am |
|
0 |
VERSION_BUMP |
c54d36d6 |
|