Infineon Logo AIROC BTSDK v4.8 - Documentation
 
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
AIROC Transport

Defines the transport utilities for configuring the transport, sending data and receiving data. More...

Modules

 Callback Functions
 
 Data Structures
 
 Enumerations
 
 Functions
 

Typedefs

typedef struct
_wiced_trans_buffer_pool_t 
wiced_transport_buffer_pool_t
 AIROC Transport Internal Buffer Pool structure.
 

Detailed Description

Defines the transport utilities for configuring the transport, sending data and receiving data.

This supports the UART transport in HCI Mode

The AIROC Transport uses the generic pool available for receiving and sending packets over the transport. Following are the configurations of the generic pool. 1: The buffer size - 8 bytes, buffer count - 128. 2: The buffer size - 32 bytes, buffer count - 48. 3: The buffer size - 96 bytes, buffer count - 50. 4: The buffer size - 268 bytes, buffer count - 12.

Using the described generic pools, the max payload size supportable is 252.(16 bytes for internal headers). If the application wants to send a packet of a size more than the max size of the buffer available in the generic pool, the application can do so by creating a transport buffer pool of the desired size. (Refer APIs wiced_transport_create_buffer_pool, wiced_transport_allocate_buffer,wiced_transport_send_buffer).

If the application wants to receive a packet of a size more than the max size of the buffer available in the generic pool, the application can do so by configuring a receive buffer pool of the desired size when doing the transport init.