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

response.h

Committer:
sillevl
Date:
2015-10-21
Revision:
5:1924c60356d0
Parent:
4:34a62b7cb2f9
Child:
6:0c477f5b79ff

File content as of revision 5:1924c60356d0:

#pragma once

#include "cantcoap.h"

class Response: public CoapPDU
{
    public:
    
    Response();
    Response(uint8_t *pdu, int pduLength);
    Response(uint8_t *buffer, int bufferLength, int pduLength);
    
    protected:
    
};