Coap Client and Server

Dependencies:   DebugLib EthernetInterface cantcoap mbed-rtos

Dependents:   COAP coap

Fork of yeswecancoap by Sille Van Landschoot

YesWeCanCoap

Is a small coap client and server library for mbed based on the cantcoap library.

Import librarycantcoap

This is CoAP library with a focus on simplicity. It offers minimal CoAP PDU construction and decoding to and from byte buffers.

yeswecancoap server enables easy implementation of coap resources, each with a dedicated function. When the function is registered by the server, it will do the rest.

Coap server example

Repository: YesWeCanCoap-example

Coap client example

under construction

Revision:
25:7adc1d174b74
Parent:
24:8319d71d6749
Child:
29:62113a57353b
--- a/server.h	Wed Oct 21 15:41:11 2015 +0000
+++ b/server.h	Wed Oct 21 16:43:59 2015 +0000
@@ -25,7 +25,7 @@
  * int main() {
  *     Server server;
  *     
- *     server.add("/led", &get_led, GET);
+ *     server.add("/demo", &get_led, GET);
  * 
  *     while(1)
  *     {