libnyoci
FreeA flexible CoAP stack for embedded devices and computers. RFC7252 compatible.
About libnyoci
LibNyoci is a highly-configurable, full-featured CoAP (Constrained Application Protocol) stack designed for a wide range of embedded devices — from bare-metal sensor nodes with kilobytes of RAM to Linux-based systems with megabytes of RAM. It fully supports RFC7252, provides fully asynchronous I/O, and works with both BSD sockets and µIP network stacks. The stack enables sending and receiving asynchronous CoAP responses, observing resources and offering observable resources, and retransmission of confirmable transactions. It also includes experimental DTLS support and comes with nyocictl, a powerful command-line tool for browsing and configuring CoAP nodes. Originally spun off from the SMCP project in March 2017, LibNyoci was actively developed until it was archived in June 2022; the repository is now read-only.
Key Features
Pros & Cons
- Open-source and free (MIT license)
- Highly configurable across a range of embedded platforms
- Supports both BSD sockets and µIP for flexibility
- Asynchronous I/O model for efficient resource usage
- Includes a dedicated command-line tool (nyocictl)
- Experimental DTLS support for secure communications
- Well-documented with examples for quick start
- Repository archived and no longer maintained (read-only as of June 2022)
- API not stable (was working toward v1.0 but never released)
- DTLS support is experimental and may not be production-ready
- Limited to CoAP protocol; no built-in support for other IoT protocols
- Community support is reduced due to archival