Nordic stack and drivers for the mbed BLE API Modified for HRM1017 for library 0.1.0
Fork of nRF51822 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 14:11:58 by 1.7.2