AIROC™ BTSDK v4.4 - Documentation | ||||
Data Structures | |
struct | wiced_uart_transport_cfg_s |
UART transport config. More... | |
struct | wiced_spi_transport_cfg_s |
SPI transport config. More... | |
union | wiced_transport_interface_cfg_t |
Wiced transport interface config. More... | |
struct | wiced_transport_rx_buff_pool_cfg_s |
AIROC receive buffer pool configuration. More... | |
struct | wiced_transport_cfg_s |
AIROC transport config. More... | |
Macros | |
#define | wiced_transport_set_detect_on(a) WICED_TRUE |
Typedefs | |
typedef struct _wiced_trans_buffer_pool_t | wiced_transport_buffer_pool_t |
AIROC transport buffer pool. | |
typedef void(* | wiced_transport_status_handler_t )(wiced_transport_type_t type) |
AIROC transport status handler. | |
typedef uint32_t(* | wiced_tranport_data_handler_t )(uint8_t *p_data, uint32_t data_len) |
AIROC transport data handler Call back registered by the application to receive data. More... | |
typedef void(* | wiced_transport_tx_complete_t )(wiced_transport_buffer_pool_t *p_pool) |
AIROC transport tx complete indication. More... | |
typedef struct wiced_uart_transport_cfg_s | wiced_uart_transport_cfg_t |
UART transport config. | |
typedef struct wiced_spi_transport_cfg_s | wiced_spi_transport_cfg_t |
SPI transport config. More... | |
typedef struct wiced_transport_rx_buff_pool_cfg_s | wiced_transport_rx_buff_pool_cfg_t |
AIROC receive buffer pool configuration. More... | |
typedef struct wiced_transport_cfg_s | wiced_transport_cfg_t |
AIROC transport config. | |
Enumerations | |
enum | wiced_transport_type_t { WICED_TRANSPORT_UART, WICED_TRANSPORT_SPI, WICED_TRANSPORT_UNDEFINED } |
AIROC transport types. | |
enum | wiced_transport_uart_mode_t { WICED_TRANSPORT_UART_HCI_MODE, WICED_TRANSPORT_UART_RAW_MODE } |
AIROC uart transport mode. | |
Functions | |
wiced_result_t | wiced_transport_init (const wiced_transport_cfg_t *p_cfg) |
Function wiced_transport_init. More... | |
wiced_transport_buffer_pool_t * | wiced_transport_create_buffer_pool (uint32_t buffer_size, uint32_t buffer_count) |
Function wiced_transport_create_buffer_pool. More... | |
void * | wiced_transport_allocate_buffer (wiced_transport_buffer_pool_t *p_pool) |
Function wiced_transport_allocate_buffer. More... | |
uint32_t | wiced_transport_get_buffer_size (wiced_transport_buffer_pool_t *p_pool) |
Function wiced_transport_get_buffer_size. More... | |
uint32_t | wiced_transport_get_buffer_count (wiced_transport_buffer_pool_t *p_pool) |
Function wiced_transport_get_buffer_count. More... | |
wiced_result_t | wiced_transport_send_buffer (uint16_t code, uint8_t *p_buf, uint16_t length) |
Function wiced_transport_send_buffer. More... | |
void | wiced_transport_free_buffer (void *p_buf) |
Function wiced_transport_free_buffer. More... | |
void | wiced_transport_uart_pause (void) |
Function wiced_transport_uart_pause. More... | |
void | wiced_transport_uart_resume (void) |
Function wiced_transport_uart_resume. More... | |
wiced_result_t | wiced_transport_send_data (uint16_t code, uint8_t *p_data, uint16_t length) |
Function wiced_transport_send_data. More... | |
wiced_result_t | wiced_transport_send_hci_trace (wiced_transport_buffer_pool_t *hci_trans_pool, wiced_bt_hci_trace_type_t type, uint16_t length, uint8_t *p_data) |
Function wiced_transport_send_hci_trace. More... | |