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

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

#include "contiki.h"
#include "coap-callback-api.h"
#include "coap-timer.h"
#include "edhoc-client.h"
#include "edhoc-msg-generators.h"
#include "edhoc-msg-handlers.h"
#include "edhoc-trace.h"
#include "lib/memb.h"
#include <assert.h>
#include "sys/log.h"

Go to the source code of this file.

Functions

int8_t edhoc_client_callback (process_event_t ev, void *data)
 Check if the EDHOC client have finished.
void edhoc_client_run (void)
 Run the EDHOC Initiator role.
void edhoc_client_set_ad_1 (const void *data_buffer, uint8_t buffer_size)
 Set the Application Data to be carried in EDHOC message 1.
void edhoc_client_set_ad_3 (const void *data_buffer, uint8_t buffer_size)
 Set the Application Data to be carried in EDHOC message 3.
uint8_t edhoc_client_get_ad_2 (char *buf, size_t buf_sz)
 Get the Application Data received in EDHOC message 2.
void edhoc_client_close (void)
 Close the EDHOC context.

Detailed Description

EDHOC client 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, and Nicolas Tsiftes

Definition in file edhoc-client.c.