HCI Transport EM9304 SPI API
#include "src/hci_transport_em9304_spi.h"
The EM9304 uses an extended SPI interface and this HCI Transport is based on the the btstack_em9304.h interface.
hci_transport_em9304_spi_instance
const hci_transport_t * hci_transport_em9304_spi_instance(const btstack_em9304_spi_t * em9304_spi_driver);
@title: HCI Transport EM9304 SPI
The EM9304 uses an extended SPI interface and this HCI Transport is based on the the btstack_em9304.h interface.
/
ifndef BTSTACK_HCI_TRANSPORT_EM9304_SPI_H
define BTSTACK_HCI_TRANSPORT_EM9304_SPI_H
include "hci_transport.h"
include "btstack_em9304_spi.h"
if defined __cplusplus
extern "C" {
endif
/* API_START */
/*
Setup H4 over SPI instance for EM9304 with em9304_spi_driver
Parameters
- em9304_spi_driver: to use
Returns
- const hci_transport_t *