NZSmartie / CoAP.Net

Constrained Applciaiton Protocol (CoAP) [RFC7252] for .Net Standard
https://nzsmartie.co.nz/CoAP.Net/
Apache License 2.0
34 stars 11 forks source link
coap net netstandard rfc7252

CoAP.Net Build status Tests Status Coverage Status NuGet MyGet Pre Release license

About

This library is a transport agnostic implementation of the Constraint Application Protocol (CoAP - RFC 7252) for .Net Standard.

Since CoAP is designed for unreliable transport layers. (6LoWPAN, UDP, etc...) it made sense to not worry about the transport implementaions and allow the applicatrion to provide their own.

If you're after a UDP transport example, see CoAPNet.Udp

Changelog

All relevant changes are logged in Changelog.md

Status

Todo

Stats

Build History

Examples

SimpleServer

Starts a CoAP server listening on all network interfaces and listens for multicast requests.

SimpleClient

Sends a GET /hello request to localhost and prints the response resource.

Note: Run SimpleServer and then run SimpleClient to see both in action

Multicast Discovery

Will send a multicast GET /.well-known/core request every minute and prints responses received.