Skip to content

Struct SYN_BLE_HCI_s

ClassList > SYN_BLE_HCI_s

More...

  • #include <syn_ble_hci.h>

Public Attributes

Type Name
SYN_BLE_HCI_Config cfg
bool cmd_pending
uint16_t last_cmd_opcode
uint8_t last_cmd_status
uint8_t rx_buf
uint16_t rx_idx
uint8_t rx_pkt_type
uint8_t rx_state
uint16_t rx_target_len

Detailed Description

HCI Driver Context State

Public Attributes Documentation

variable cfg

SYN_BLE_HCI_Config SYN_BLE_HCI::cfg;

Driver configuration


variable cmd_pending

bool SYN_BLE_HCI::cmd_pending;

True if awaiting command response


variable last_cmd_opcode

uint16_t SYN_BLE_HCI::last_cmd_opcode;

Last completed command opcode


variable last_cmd_status

uint8_t SYN_BLE_HCI::last_cmd_status;

Last completed command status


variable rx_buf

uint8_t SYN_BLE_HCI::rx_buf[SYN_BLE_HCI_RX_BUF_SIZE];

RX framing buffer


variable rx_idx

uint16_t SYN_BLE_HCI::rx_idx;

Accumulated byte count


variable rx_pkt_type

uint8_t SYN_BLE_HCI::rx_pkt_type;

Current packet type (EVT/ACL)


variable rx_state

uint8_t SYN_BLE_HCI::rx_state;

Current state machine phase


variable rx_target_len

uint16_t SYN_BLE_HCI::rx_target_len;

Expected frame target size



The documentation for this class was generated from the following file src/syntropic/ble/syn_ble_hci.h