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

Typedefs

typedef void(* wiced_transport_status_handler_t )(wiced_transport_type_t type)
 AIROC Transport Status Handler. More...
 
typedef uint32_t(* wiced_tranport_data_handler_t )(uint8_t *p_data, uint32_t data_len)
 AIROC Transport Data Handler. More...
 
typedef void(* wiced_transport_tx_complete_t )(wiced_transport_buffer_pool_t *p_pool)
 AIROC Transport Transmit complete indication. More...
 

Detailed Description

Typedef Documentation

typedef uint32_t(* wiced_tranport_data_handler_t)(uint8_t *p_data, uint32_t data_len)

AIROC Transport Data Handler.

The callback function registered by the application to receive data. The application has to free the buffer in which data is received. Use the API wiced_transport_free_buffer to free the RX buffer.

Parameters
p_data- The pointer to the received data buffer.
data_len- The length of the data pointed to by p_data in bytes.
typedef void(* wiced_transport_status_handler_t)(wiced_transport_type_t type)

AIROC Transport Status Handler.

The callback function registered by the application. This callback will be called by the Transport driver once the transport interface has completed initialization.

Parameters
type- AIROC Transport type
typedef void(* wiced_transport_tx_complete_t)(wiced_transport_buffer_pool_t *p_pool)

AIROC Transport Transmit complete indication.

The callback function registered by the application that indicates to the application that a packet is has been sent using a buffer in the indicated pool.

Parameters
p_pool- The pool pointer. The buffer from this pool is used to send a packet.