Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

A minimal client and server example for libcoap

License

Notifications You must be signed in to change notification settings

jaythin/libcoap-minimal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

15 Commits

Repository files navigation

Minimal CoAP Client and Server Examples for libcoap

These examples require libcoap-3 to work.

client.cc shows a minimal libcoap client that sends a confirmable UDP GET /hello request to a pre-defined CoAP server (coap.me in this example) and outputs a received response.

server.cc is a minimal CoAP UDP server that binds on localhost:5683. It has a single resource /hello.

Copyright (C) 2018-2021 Olaf Bergmann bergmann@tzi.org

License

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

About

A minimal client and server example for libcoap

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 92.1%
  • Makefile 7.9%

AltStyle によって変換されたページ (->オリジナル) /