Skip to content

Idaax/coapsharp

Repository files navigation

CoAPSharp

CoAPSharp was the world's first Constraind Application Protocol (CoAP) library that was built for Microsoft's .NET Micro Framework, popularly known as NETMF. As work on NETMF halted, CoAPSharp's future too was impacted. Thankfully, the folks at the nanoFramework team recreated possibilities of writing embedded code on microcontrollers using C#.

This release of CoAPSharp is now qualified for the nanoFramework runtime. It contains the following:

  • The core CoAPSharp library
  • Samples that outline how to use the library

Do follow us on Twitter @CoAPSharp for latest news, updates, samples and announcements related to this library.

Free e-book on CoAP with examples in CoAPSharp

Our developers have created an e-book for you to get started on CoAP and CoAPSharp. All examples in the book are also provided in this repository.

Examples (For .NET Standard)

  1. Block transfer in CoAP - Client
  2. Block transfer in CoAP - Server
  3. CON client in CoAP
  4. CON server in CoAP
  5. NON client in CoAP
  6. NON server in CoAP
  7. Observable server in CoAP
  8. Observable client in CoAP
  9. Separate response client in CoAP
  10. Separate response server in CoAP
  11. Well-known NON client in CoAP
  12. Well-known NON server in CoAP

Examples (For nanoFramework on ESP32)

A basic CoAP NON Server is implemented here You follow the same process as .NET , however, you need to ensure that you are connected to the network before you begin. If you have only one ESP32, you can flash the code in ESP32 (the sample shows how to get the assigned IP address). Then, you can create the corresponding client or server on another machine and see the magic!

About

Constained Application Protocol library for @nanoframework and other supported microcontrollers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages