GithubHelp home page GithubHelp logo

huangweiboy / coap.net-1 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nzsmartie/coap.net

1.0 1.0 0.0 1.01 MB

Constrained Applciaiton Protocol (CoAP) [RFC7252] for .Net Standard

Home Page: https://nzsmartie.co.nz/CoAP.Net/

License: Apache License 2.0

C# 100.00%

coap.net-1's Introduction

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

  • Full support for RFC 7959 - Block-Wise Transfers in the Constrained Application Protocol (CoAP)

  • Support for Sending and Receiving Confirmable (CON) and Non-Confirmable (NON) messagees.

    • Retransmit confirmable messages, throwing an exception on failure
    • Rejects malform messages with appropiate error code.
    • Ignores repeated messages within a set TimeSpan
  • Support for Sending and receiving multicast messages.

  • CoapServer - Simple server for binding to local transports and processing requests

    • CoapHandler - Template request handler to be used by CoapServer
      • CoapResourceHandler - Example handler that specificaly serves CoapResources

Todo

Stats

Build History

Examples

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

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

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

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

coap.net-1's People

Contributors

lybecker avatar malachib avatar nzsmartie avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.