![]() |
Contiki-NG
|
EDHOC client functionality [RFC9528]. More...
Go to the source code of this file.
Data Structures | |
| struct | edhoc_client |
| EDHOC client struct. More... | |
| struct | edhoc_client_ad |
| EDHOC client Application data struct. More... | |
| struct | edhoc_data_event |
| EDHOC data event struct. More... | |
Macros | |
| #define | SERVER_EP "coap://[fd00::1]" |
| The CoAP Server IP where run the EDHOC Responder. | |
| #define | CL_TIMEOUT_VAL 10000 |
| Time limit value to EDHOC protocol finished. | |
Typedefs | |
| typedef struct edhoc_client | edhoc_client_t |
| EDHOC client struct. | |
| typedef struct edhoc_client_ad | edhoc_client_ad_t |
| EDHOC client Application data struct. | |
| typedef struct edhoc_data_event | edhoc_data_event_t |
| EDHOC data event struct. | |
Functions | |
| void | edhoc_client_run (void) |
| Run the EDHOC Initiator role. | |
| int8_t | edhoc_client_callback (process_event_t ev, void *data) |
| Check if the EDHOC client have finished. | |
| void | edhoc_client_close (void) |
| Close the EDHOC context. | |
| 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_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. | |
EDHOC client functionality [RFC9528].
Definition in file edhoc-client.h.