SUIT secure firmware updates over CoAP. More...

Detailed Description

SUIT secure firmware updates over CoAP.

SUIT CoAP helper API

Author
Kaspar Schleiser kaspa.nosp@m.r@sc.nosp@m.hleis.nosp@m.er.d.nosp@m.e
Francisco Molina franc.nosp@m.ois-.nosp@m.xavie.nosp@m.r.mo.nosp@m.lina@.nosp@m.inri.nosp@m.a.fr
Alexandre Abadie alexa.nosp@m.ndre.nosp@m..abad.nosp@m.ie@i.nosp@m.nria..nosp@m.fr

Macros

#define SUIT_COAP_SUBTREE
 SUIT CoAP endpoint entry. More...
 

Functions

void suit_coap_run (void)
 Start SUIT CoAP thread.
 

Macro Definition Documentation

◆ SUIT_COAP_SUBTREE

#define SUIT_COAP_SUBTREE
Value:
{ \
.path="/suit/", \
.methods=COAP_MATCH_SUBTREE | COAP_METHOD_GET | COAP_METHOD_POST | COAP_METHOD_PUT, \
.handler=coap_subtree_handler, \
.context=(void*)&coap_resource_subtree_suit \
}

SUIT CoAP endpoint entry.

In order to use, include this header, then add SUIT_COAP_SUBTREE to the nanocoap endpoint array. Mind the alphanumerical sorting!

See examples/suit_update for an example.

Definition at line 47 of file coap.h.

COAP_MATCH_SUBTREE
#define COAP_MATCH_SUBTREE
Path is considered as a prefix when matching.
Definition: nanocoap.h:112