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

Changes

RevisionDateWhoCommit message
29:62113a57353b 2015-11-17 sillevl added method to get the ip address default tip
28:4f71d9d10011 2015-10-23 sillevl made server non-blocking
27:22436933025a 2015-10-22 sillevl response protected inheritance from CoapPDU
26:22849ab35dc2 2015-10-21 sillevl removed typo
25:7adc1d174b74 2015-10-21 sillevl added some more documentation
24:8319d71d6749 2015-10-21 sillevl updated the documentation
23:019c530468b4 2015-10-21 sillevl added simpler coap codes (without CoapPDU namespacing)
22:cac2ac879a02 2015-10-21 sillevl merge
21:8cf7042bbfb7 2015-10-21 sillevl disabled some debuging information
20:519a5339bfa2 2015-10-21 dwini Merge with error.h fix
19:6414961fb98d 2015-10-21 dwini Add error.h and change Methods to CoapPdu::Methods
18:2aa1df6a2397 2015-10-21 sillevl merge
17:3e1d176e2d4a 2015-10-21 sillevl added documentation and simplefied the resourcefunction adding
16:62a87be3f0b8 2015-10-21 sillevl added function to enable broadcast for the server;
15:3a83785963fa 2015-10-21 dwini merge with fixes
14:ce76110ecf4d 2015-10-21 dwini Fix token not increasing
13:6667e331c719 2015-10-21 sillevl updated libraries and added mbed_error.h file
12:e2b427effaad 2015-10-21 sillevl merge with client
11:642eaabf1c2b 2015-10-21 sillevl different method resources now working
10:77bd145ec06c 2015-10-21 dwini Fix errors in client because of new Request and Response classes.
9:b13b9ec63874 2015-10-21 dwini Merge with first implementation of client
8:0169da22e764 2015-10-21 dwini First working version of client. Currently only support for GET and simple response.
7:1bed29e1b0a4 2015-10-21 sillevl added message type support and added abstraction to request class
6:0c477f5b79ff 2015-10-21 sillevl polymophic request and responses
5:1924c60356d0 2015-10-21 sillevl added request class
4:34a62b7cb2f9 2015-10-21 sillevl added response class and did some small refactoring
3:e03960f91763 2015-10-20 sillevl resource functions working (no method filtering yet)
2:a03dd7e58d8f 2015-10-20 sillevl vector read problem
1:ab04e3d36ade 2015-10-20 sillevl first working coap server
0:9f557e9a792f 2015-10-20 sillevl initial commit