HCI Transport H5 API
#include "src/hci_transport_h5.h"
hci_transport_h5_instance
const hci_transport_t * hci_transport_h5_instance(const btstack_uart_t * uart_driver);
@title: HCI Transport H5
/
ifndef HCI_TRANSPORT_H5_H
define HCI_TRANSPORT_H5_H
include "hci_transport.h"
include "btstack_uart.h"
if defined __cplusplus
extern "C" {
endif
/* API_START */
/*
Setup H5 instance with btstack_uart implementation that supports SLIP frames
Parameters
- uart_driver: to use
Returns
- const hci_transport_t *
hci_transport_h5_set_auto_sleep
void hci_transport_h5_set_auto_sleep(uint16_t inactivity_timeout_ms);
@title: HCI Transport H5
/
ifndef HCI_TRANSPORT_H5_H
define HCI_TRANSPORT_H5_H
include "hci_transport.h"
include "btstack_uart.h"
if defined __cplusplus
extern "C" {
endif
/* API_START */
/*
Setup H5 instance with btstack_uart implementation that supports SLIP frames
Enable H5 Low Power Mode: enter sleep mode after x ms of inactivity
Parameters
- uart_driver: to use / const hci_transport_t * hci_transport_h5_instance(const btstack_uart_t * uart_driver); /*
- inactivity_timeout_ms: or 0 for off
hci_transport_h5_enable_bcsp_mode
void hci_transport_h5_enable_bcsp_mode(void);
@title: HCI Transport H5
/
ifndef HCI_TRANSPORT_H5_H
define HCI_TRANSPORT_H5_H
include "hci_transport.h"
include "btstack_uart.h"
if defined __cplusplus
extern "C" {
endif
/* API_START */
/*
Setup H5 instance with btstack_uart implementation that supports SLIP frames
Enable H5 Low Power Mode: enter sleep mode after x ms of inactivity
Enable BSCP mode H5, by enabling event parity
@deprecated: Parity can be enabled in UART driver configuration
Parameters
- uart_driver: to use / const hci_transport_t * hci_transport_h5_instance(const btstack_uart_t * uart_driver); /*
- inactivity_timeout_ms: or 0 for off / void hci_transport_h5_set_auto_sleep(uint16_t inactivity_timeout_ms); /*