HCI Transport H4 API
#include "src/hci_transport_h4.h"
hci_transport_h4_instance_for_uart
const hci_transport_t * hci_transport_h4_instance_for_uart(const btstack_uart_t * uart_driver);
@title: HCI Transport H4
/
ifndef HCI_TRANSPORT_H4_H
define HCI_TRANSPORT_H4_H
include "hci_transport.h"
include "btstack_uart.h"
include "btstack_uart_block.h"
if defined __cplusplus
extern "C" {
endif
/* API_START */
/*
Setup H4 instance with btstack_uart implementation
Parameters
- btstack_uart_block_driver: to use
Returns
- const hci_transport_t *
hci_transport_h4_instance
const hci_transport_t * hci_transport_h4_instance(const btstack_uart_block_t * uart_driver);
@title: HCI Transport H4
/
ifndef HCI_TRANSPORT_H4_H
define HCI_TRANSPORT_H4_H
include "hci_transport.h"
include "btstack_uart.h"
include "btstack_uart_block.h"
if defined __cplusplus
extern "C" {
endif
/* API_START */
/*
Setup H4 instance with btstack_uart implementation
Setup H4 instance with btstack_uart_block implementation
@deprecated: use hci_transport_h4_instance_for_uart instead
Parameters
- btstack_uart_block_driver: to use / const hci_transport_t * hci_transport_h4_instance_for_uart(const btstack_uart_t * uart_driver); /*
- btstack_uart_block_driver: to use
Returns
- const hci_transport_t *