7#ifndef ZEPHYR_INCLUDE_NET_HDLC_RCP_IF_HDLC_RCP_IF_H_
8#define ZEPHYR_INCLUDE_NET_HDLC_RCP_IF_HDLC_RCP_IF_H_
87BUILD_ASSERT(offsetof(
struct hdlc_api, iface_api) == 0);
void(* hdlc_rx_callback_t)(const uint8_t *data, uint16_t len, void *param)
OT RCP HDLC RX callback function.
Definition hdlc_rcp_if.h:29
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:32
int(* register_rx_cb)(hdlc_rx_callback_t hdlc_rx_callback, void *param)
Register the Spinel HDLC RX callback.
Definition hdlc_rcp_if.h:47
int(* deinit)(void)
Deinitialize the device.
Definition hdlc_rcp_if.h:70
int(* send)(const uint8_t *frame, uint16_t length)
Transmit a HDLC frame.
Definition hdlc_rcp_if.h:60
struct net_if_api iface_api
HDLC interface API.
Definition hdlc_rcp_if.h:36
int(* deferred_init)(void)
Optional: complete the RCP interface initialization in deferred init mode.
Definition hdlc_rcp_if.h:81