HDLC interface configuration data.
More...
#include <hdlc_rcp_if.h>
HDLC interface configuration data.
◆ deinit
int(* hdlc_api::deinit) (void) |
Deinitialize the device.
- Parameters
-
- Return values
-
0 | The interface was successfully stopped. |
-EIO | The interface could not be stopped. |
◆ iface_api
struct net_if_api hdlc_api::iface_api |
◆ register_rx_cb
Register the Spinel HDLC RX callback.
- Parameters
-
hdlc_rx_callback | pointer to the spinel HDLC RX callback |
param | pointer to the spinel HDLC interface |
- Return values
-
0 | The callback was successfully registered. |
-EIO | The callback could not be registered. |
◆ send
Transmit a HDLC frame.
- Parameters
-
frame | pointer to the HDLC frame to be transmitted. |
length | length of the HDLC frame to be transmitted. |
- Return values
-
0 | The frame was successfully sent. |
-EIO | The frame could not be sent due to some unspecified interface error (e.g. the interface being busy). |
The documentation for this struct was generated from the following file: