https://github.com/Lobaro/lobaro-coap
CoAP Implementation in C
https://github.com/Lobaro/lobaro-coap
c99 coap coap-client coap-server embedded iot network
Last synced: 4 months ago
JSON representation
CoAP Implementation in C
- Host: GitHub
- URL: https://github.com/Lobaro/lobaro-coap
- Owner: lobaro
- License: mit
- Created: 2015-11-11T20:24:10.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2023-12-05T09:33:58.000Z (over 2 years ago)
- Last Synced: 2025-08-19T00:32:17.485Z (7 months ago)
- Topics: c99, coap, coap-client, coap-server, embedded, iot, network
- Language: C
- Homepage:
- Size: 386 KB
- Stars: 129
- Watchers: 16
- Forks: 48
- Open Issues: 22
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-iot - lobaro-coap ★ 74 ⧗ 4 - Complete CoAP Implementation in C. (Protocol Library / CoAP)
- awesome_iot - lobaro-coap ★ 74 ⧗ 4 - Complete CoAP Implementation in C. (Protocol Library / CoAP)
README
# Lobaro-CoAP
[](https://travis-ci.org/Lobaro/lobaro-coap)
[](https://gitter.im/lobaro-iot/Lobby)
Complete CoAP Implementation in C.
Despite designed for embedded systems (e.g. ARM Cortex-M0/M3, AVR, ESP8266) it can be used on nearly every system that has c-lang support.
* Royalty-free CoAP stack
* complete request/response logic
* unified Client & Server
* easy to use
* small memory footprint
* using C99 stdlib, suitable for embedded projects
* detached packet receive/send logic
* Arduino support (experimental)
There is also a working OpenSource **client lib available in GoLang** @ https://github.com/lobaro/coap-go
Follow [Lobaro on Twitter](https://twitter.com/LobaroHH) to get latest news about iot projects using our CoAP implementation!
# Getting started
Read the [Porting Guide](./PortingGuide.md) for information on how to port the library to your framework.
# Demo/Example
ESP8266, cheap WIFI Soc:
- [Example Eclipse Project on GitHub](https://github.com/lobaro/lobaro-coap-on-esp8266)
- [Step by Step Tutorial](http://www.lobaro.com/lobaro-coap-on-esp8266/)
# Related
* GoLang CoAP Client implementation & CGO wrapper for this C lib: [Lobaro CoAP-go](https://github.com/lobaro/coap-go)
# Future development
We use the stack internally at lobaro to build universal gateway / sensor systems for our customers. Additions will be constantly merged into this repository.
# Contribute
We appreciate any feedback, do not hesitate to create issues or pull requests.