73BUILD_ASSERT(offsetof(
struct hdlc_api, iface_api) == 0);
void(* hdlc_rx_callback_t)(uint8_t *data, uint16_t len, void *param)
OT RCP HDLC RX callback function.
Definition hdlc_rcp_if.h:26
Public API for network interface.
__UINT8_TYPE__ uint8_t
Definition stdint.h:88
__UINT16_TYPE__ uint16_t
Definition stdint.h:89
HDLC interface configuration data.
Definition hdlc_rcp_if.h:29
int(* register_rx_cb)(hdlc_rx_callback_t hdlc_rx_callback, void *param)
Register the Spinel HDLC RX callback.
Definition hdlc_rcp_if.h:44
int(* deinit)(void)
Deinitialize the device.
Definition hdlc_rcp_if.h:67
int(* send)(const uint8_t *frame, uint16_t length)
Transmit a HDLC frame.
Definition hdlc_rcp_if.h:57
struct net_if_api iface_api
HDLC interface API.
Definition hdlc_rcp_if.h:33