#include <wiced_bt_l2c.h>
Data Fields | |
| wiced_bt_l2cap_congestion_status_cback_t * | congestion_status_cback |
| wiced_bt_l2cap_connected_cback_t * | connected_cback |
| wiced_bt_l2cap_data_indication_cback_t * | data_indication_cback |
| wiced_bt_l2cap_disconnect_confirm_cback_t * | disconnect_confirm_cback |
| wiced_bt_l2cap_disconnect_indication_cback_t * | disconnect_indication_cback |
| uint8_t | fcs |
| wiced_bool_t | is_ob_only |
| wiced_bt_l2cap_tx_complete_cback_t * | tx_complete_cback |
Define the structure that applications use to register with L2CAP. This structure includes callback functions. All functions MUST be provided, with the exception of the "connect pending" callback and "congestion status" callback. Additionally, if registering client for dynamic PSM, connect_ind_cb() must be NULL since dynamic PSMs use this as a flag for "virtual PSM".
| wiced_bt_l2cap_congestion_status_cback_t* wiced_bt_l2cap_appl_information_t::congestion_status_cback |
Connection (un)congested event
| wiced_bt_l2cap_connected_cback_t* wiced_bt_l2cap_appl_information_t::connected_cback |
BR/EDR connected event
| wiced_bt_l2cap_data_indication_cback_t* wiced_bt_l2cap_appl_information_t::data_indication_cback |
BR/EDR data received indication
| wiced_bt_l2cap_disconnect_confirm_cback_t* wiced_bt_l2cap_appl_information_t::disconnect_confirm_cback |
BR/EDR disconnect confirmation event
| wiced_bt_l2cap_disconnect_indication_cback_t* wiced_bt_l2cap_appl_information_t::disconnect_indication_cback |
BR/EDR disconnect indication event
| uint8_t wiced_bt_l2cap_appl_information_t::fcs |
'0' if desire is to bypass FCS, otherwise '1'
| wiced_bool_t wiced_bt_l2cap_appl_information_t::is_ob_only |
Set to TRUE if registration is for outbound only to a dynamic PSM
| wiced_bt_l2cap_tx_complete_cback_t* wiced_bt_l2cap_appl_information_t::tx_complete_cback |
BR/EDR transmit complete event