#include <hci_transport.h>
Data Fields | |
int(* | can_send_packet_now )(uint8_t packet_type) |
support async transport layers, e.g. More... | |
int(* | close )(void) |
close transport connection More... | |
void(* | init )(const void *transport_config) |
init transport More... | |
const char * | name |
transport name More... | |
int(* | open )(void) |
open transport connection More... | |
void(* | register_packet_handler )(void(*handler)(uint8_t packet_type, uint8_t *packet, uint16_t size)) |
register packet handler for HCI packets: ACL, SCO, and Events More... | |
void(* | reset_link )(void) |
extension for UART H5 on CSR: reset BCSP/H5 Link More... | |
int(* | send_packet )(uint8_t packet_type, uint8_t *packet, int size) |
send packet More... | |
int(* | set_baudrate )(uint32_t baudrate) |
extension for UART transport implementations More... | |
void(* | set_sco_config )(uint16_t voice_setting, int num_connections) |
extension for USB transport implementations: config SCO connections More... | |
int(* hci_transport_t::can_send_packet_now)(uint8_t packet_type) |
support async transport layers, e.g.
IRQ driven without buffers
Referenced by hci_can_send_comand_packet_transport(), hci_transport_can_send_prepared_packet_now(), and hci_transport_synchronous().
int(* hci_transport_t::close)(void) |
close transport connection
Referenced by hci_power_control_off(), and hci_power_control_sleep().
void(* hci_transport_t::init)(const void *transport_config) |
const char* hci_transport_t::name |
transport name
int(* hci_transport_t::open)(void) |
open transport connection
Referenced by hci_power_control_on(), and hci_power_control_wake().
void(* hci_transport_t::register_packet_handler)(void(*handler)(uint8_t packet_type, uint8_t *packet, uint16_t size)) |
register packet handler for HCI packets: ACL, SCO, and Events
Referenced by hci_init().
void(* hci_transport_t::reset_link)(void) |
extension for UART H5 on CSR: reset BCSP/H5 Link
Referenced by hci_initialization_timeout_handler().
int(* hci_transport_t::send_packet)(uint8_t packet_type, uint8_t *packet, int size) |
send packet
Referenced by hci_initializing_run(), hci_send_acl_packet_fragments(), and hci_send_cmd_packet().
int(* hci_transport_t::set_baudrate)(uint32_t baudrate) |
extension for UART transport implementations
Referenced by hci_initialization_timeout_handler(), hci_initializing_event_handler(), and hci_initializing_run().
void(* hci_transport_t::set_sco_config)(uint16_t voice_setting, int num_connections) |
extension for USB transport implementations: config SCO connections
Referenced by event_handler(), and hci_shutdown_connection().