Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of BLE_WallbotBLE_Challenge by
hci_slip.h File Reference
Go to the source code of this file.
Data Structures | |
struct | hci_slip_evt_t |
Structure containing an event from the SLIP layer. More... | |
Typedefs | |
typedef void(* | hci_slip_event_handler_t )(hci_slip_evt_t event) |
Function for the SLIP layer event callback. | |
Enumerations | |
enum | hci_slip_evt_type_t { HCI_SLIP_RX_RDY, HCI_SLIP_TX_DONE, HCI_SLIP_RX_OVERFLOW, HCI_SLIP_ERROR, HCI_SLIP_EVT_TYPE_MAX } |
Event types from the SLIP Layer. More... | |
Functions | |
uint32_t | hci_slip_evt_handler_register (hci_slip_event_handler_t event_handler) |
Function for registering the event handler provided as parameter and this event handler will be used by SLIP layer to send events described in hci_slip_evt_type_t. | |
uint32_t | hci_slip_open (void) |
Function for opening the SLIP layer. | |
uint32_t | hci_slip_close (void) |
Function for closing the SLIP layer. | |
uint32_t | hci_slip_write (const uint8_t *p_buffer, uint32_t length) |
Function for writing a packet with SLIP encoding. | |
uint32_t | hci_slip_rx_buffer_register (uint8_t *p_buffer, uint32_t length) |
Function for registering a receive buffer. |
Detailed Description
Definition in file hci_slip.h.
Generated on Tue Jul 12 2022 13:52:31 by
