nRF51 SDK
|
Data Fields | |
hci_slip_evt_type_t | evt_type |
const uint8_t * | packet |
uint32_t | packet_length |
hci_slip_evt_type_t evt_type |
Type of event.
const uint8_t* packet |
This field contains a pointer to the packet for which the event relates, i.e. SLIP_TX_DONE: the packet transmitted, SLIP_RX_RDY: the packet received, SLIP_RX_OVERFLOW: The packet which overflow/or NULL if no receive buffer is available.
uint32_t packet_length |
Packet length, i.e. SLIP_TX_DONE: Bytes transmitted, SLIP_RX_RDY: Bytes received, SLIP_RX_OVERFLOW: index at which the packet overflowed.