Nordic stack and drivers for the mbed BLE API

Dependents:   idd_hw5_bleFanProto

Fork of nRF51822 by Nordic Semiconductor

Embed: (wiki syntax)

« Back to documentation index

hci_slip_evt_t Struct Reference

hci_slip_evt_t Struct Reference
[SLIP module]

Structure containing an event from the SLIP layer. More...

#include <hci_slip.h>

Data Fields

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.
uint32_t packet_length
 Packet length, i.e.

Detailed Description

Structure containing an event from the SLIP layer.

Definition at line 48 of file hci_slip.h.


Field Documentation

Type of event.

Definition at line 50 of file hci_slip.h.

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.

Definition at line 51 of file hci_slip.h.

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.

Definition at line 52 of file hci_slip.h.