1 /* 2 Copyright (c) 2021 Fraunhofer AISEC. See the COPYRIGHT 3 file at the top-level directory of this distribution. 4 5 Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or 6 http://www.apache.org/licenses/LICENSE-2.0> or the MIT license 7 <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your 8 option. This file may not be copied, modified, or distributed 9 except according to those terms. 10 */ 11 12 #ifndef TXRX_WRAPPER_H 13 #define TXRX_WRAPPER_H 14 #include "edhoc.h" 15 16 extern bool rx_initiator_switch; 17 enum err rx(void *sock, uint8_t *data, uint32_t *data_len); 18 enum err tx(void *sock, uint8_t *data, uint32_t data_len); 19 void rx_init(void); 20 #endif