![]() |
AIROC™ BTSDK v4.9 - Documentation | |||
Typedefs | |
| struct { | |
| wiced_transport_uart_mode_t mode | |
| UART mode, HCI or Raw. More... | |
| uint32_t baud_rate | |
| UART baud rate. More... | |
| } | wiced_uart_transport_cfg_t |
| UART Transport Configuration. | |
| struct { | |
| uint8_t dev_role | |
| The SPI HW to play either master (1) or slave (2). More... | |
| uint32_t spi_gpio_cfg | |
| The pins to use for the data and clk lines. More... | |
| uint16_t spi_pin_pull_config | |
| The pin pull-up or pull-down. More... | |
| uint32_t clock_speed | |
| The clock speed (non-zero for master, zero for slave). More... | |
| SPI_ENDIAN endian | |
| The direction of the bit data flow (MSB or LSB first). More... | |
| SPI_SS_POLARITY polarity | |
| Active high or active low for the chip select line. More... | |
| SPI_MODE mode | |
| SPI mode (0-3). More... | |
| uint8_t cs_pin | |
| The GPIO pin of chip select line. More... | |
| uint8_t slave_ready_pin | |
| The GPIO pin to be used as the slave is ready. More... | |
| } | wiced_spi_transport_cfg_t |
| AIROC SPI Transport Configuration. | |
| union { | |
| wiced_uart_transport_cfg_t uart_cfg | |
| wiced_spi_transport_cfg_t spi_cfg | |
| } | wiced_transport_interface_cfg_t |
| AIROC Transport Interface Configuration. | |
| struct { | |
| uint32_t buffer_size | |
| uint32_t buffer_count | |
| } | wiced_transport_rx_buff_pool_cfg_t |
| AIROC Transport receive buffer pool configuration. More... | |
| struct { | |
| wiced_transport_type_t type | |
| AIROC transport type. More... | |
| wiced_transport_interface_cfg_t cfg | |
| AIROC transport interface config. More... | |
| wiced_transport_rx_buff_pool_cfg_t rx_buff_pool_cfg | |
| AIROC RX buffer pool config. More... | |
| wiced_transport_status_handler_t p_status_handler | |
| AIROC transport status handler. More... | |
| wiced_tranport_data_handler_t p_data_handler | |
| AIROC transport receive data handler. More... | |
| wiced_transport_tx_complete_t p_tx_complete_cback | |
| AIROC transport TX complete callback. More... | |
| } | wiced_transport_cfg_t |
| AIROC Transport Configuration. | |
| typedef { ... } wiced_transport_rx_buff_pool_cfg_t |
AIROC Transport receive buffer pool configuration.
The application uses this to receive a packet of the size( i.e if payload size > 252 ) > 268 bytes.