NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
bt_hc_interface_t Struct Reference

Description

Definition at line 159 of file bt_hci_lib.h.

Public Attributes

size_t size
 
int(* init )(const bt_hc_callbacks_t *p_cb, unsigned char *local_bdaddr)
 
void(* set_power )(bt_hc_chip_power_state_t state)
 
int(* lpm )(bt_hc_low_power_event_t event)
 
void(* preload )(TRANSAC transac)
 
void(* postload )(TRANSAC transac)
 
int(* transmit_buf )(TRANSAC transac, char *p_buf, int len)
 
int(* set_rxflow )(bt_rx_flow_state_t state)
 
int(* logging )(bt_hc_logging_state_t state, char *p_path)
 
void(* cleanup )(void)
 

Member Data Documentation

◆ size

size_t bt_hc_interface_t::size

Set to sizeof(bt_hc_interface_t)

Definition at line 161 of file bt_hci_lib.h.

◆ init

int(* bt_hc_interface_t::init) (const bt_hc_callbacks_t *p_cb, unsigned char *local_bdaddr)

Opens the interface and provides the callback routines to the implemenation of this interface.

Definition at line 167 of file bt_hci_lib.h.

◆ set_power

void(* bt_hc_interface_t::set_power) (bt_hc_chip_power_state_t state)

Chip power control

Definition at line 170 of file bt_hci_lib.h.

◆ lpm

int(* bt_hc_interface_t::lpm) (bt_hc_low_power_event_t event)

Set low power mode wake

Definition at line 173 of file bt_hci_lib.h.

◆ preload

void(* bt_hc_interface_t::preload) (TRANSAC transac)

Called prior to stack initialization

Definition at line 176 of file bt_hci_lib.h.

◆ postload

void(* bt_hc_interface_t::postload) (TRANSAC transac)

Called post stack initialization

Definition at line 179 of file bt_hci_lib.h.

◆ transmit_buf

int(* bt_hc_interface_t::transmit_buf) (TRANSAC transac, char *p_buf, int len)

Transmit buffer

Definition at line 182 of file bt_hci_lib.h.

◆ set_rxflow

int(* bt_hc_interface_t::set_rxflow) (bt_rx_flow_state_t state)

Controls receive flow

Definition at line 185 of file bt_hci_lib.h.

◆ logging

int(* bt_hc_interface_t::logging) (bt_hc_logging_state_t state, char *p_path)

Controls HCI logging on/off

Definition at line 188 of file bt_hci_lib.h.

◆ cleanup

void(* bt_hc_interface_t::cleanup) (void)

Closes the interface

Definition at line 191 of file bt_hci_lib.h.