Contiki-NG
Loading...
Searching...
No Matches
edhoc-server.c File Reference

EDHOC server API [RFC9528] with CoAP Block-Wise Transfer [RFC7959]. More...

#include "edhoc-server.h"
#include "edhoc-msg-generators.h"
#include "edhoc-msg-handlers.h"
#include "edhoc-trace.h"
#include "sys/log.h"

Go to the source code of this file.

Functions

int8_t edhoc_server_callback (process_event_t ev, void *data)
 Check if an EDHOC server session has finished.
void edhoc_server_set_ad_2 (const void *buf, uint8_t buf_sz)
 Set the Application Data to be carried in EDHOC message 2.
uint8_t edhoc_server_get_ad_1 (char *buf)
 Get the Application Data received in EDHOC message 1.
uint8_t edhoc_server_get_ad_3 (char *buf)
 Get the Application Data received in EDHOC message 3.
uint8_t edhoc_server_reset_handshake (void)
 Reset the EDHOC handshake state for a new client connection.
uint8_t edhoc_server_start (void)
 Create a new EDHOC context for a new EDHOC protocol session.
void edhoc_server_init (void)
 Activate the EDHOC CoAP Resource.
void edhoc_server_close (void)
 Close the EDHOC context.
void edhoc_server_process (coap_message_t *req, coap_message_t *res, edhoc_server_t *ser, uint8_t *msg, size_t len)
 Run the EDHOC Responder role process.

Detailed Description

EDHOC server API [RFC9528] with CoAP Block-Wise Transfer [RFC7959].

Author
Lidia Pocero pocer.nosp@m.o@is.nosp@m.i.gr, Peter A Jonsson, Rikard Höglund, Marco Tiloca, Niclas Finne nicla.nosp@m.s.fi.nosp@m.nne@r.nosp@m.i.se, Nicolas Tsiftes nicol.nosp@m.as.t.nosp@m.sifte.nosp@m.s@ri.nosp@m..se

Definition in file edhoc-server.c.