Skip to content
A minimal client and server example for libcoap
Branch: master
Clone or download
obgm fix coap_show_pdu() invocation
coap_show_pdu() now takes the log level as additional argument.
Latest commit 141a505 Jul 31, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE Initial commit Jun 5, 2018
Makefile updated Jun 5, 2018

Minimal CoAP Client and Server Examples for libcoap

These examples require libcoap-2 to work. shows a minimal libcoap client that sends a confirmable UDP GET /hello request to a pre-defined CoAP server ( in this example) and outputs a received response. is a minimal CoAP UDP server that binds on localhost:5683. It has a single resource /hello.

Copyright (C) 2018 Olaf Bergmann


This work has been licensed under MIT. See file LICENSE for details.

You can’t perform that action at this time.