![]() |
AIROC™ BTSDK v4.9 - Documentation | |||
Define the structure that applications use to register with L2CAP. More...
Data Fields | |
| wiced_bt_l2cap_connected_cback_t * | connected_cback |
| BR/EDR connected event. | |
| wiced_bt_l2cap_disconnect_indication_cback_t * | disconnect_indication_cback |
| BR/EDR disconnect indication event. | |
| wiced_bt_l2cap_disconnect_confirm_cback_t * | disconnect_confirm_cback |
| BR/EDR disconnect confirmation event. | |
| wiced_bt_l2cap_data_indication_cback_t * | data_indication_cback |
| BR/EDR data received indication. | |
| wiced_bt_l2cap_tx_complete_cback_t * | tx_complete_cback |
| BR/EDR transmit complete event. | |
| uint16_t | mtu |
| Maximum transmission unit size. | |
| uint8_t | security_required |
| Security requirement. | |
| uint8_t | qos_present |
| QoS configuration present. | |
| uint8_t | flush_timeout_present |
| TRUE if flush option present. | |
| uint8_t | fcs_present |
| TRUE if Frame check sequence option present. | |
| uint8_t | is_ob_only |
| Set to TRUE if registration is for outbound only to a dynamic PSM. | |
| wiced_bt_flow_spec_t | qos |
| QoS configuration. | |
| uint16_t | flush_timeout |
| Flush timeout value (1 msec increments) | |
| uint8_t | fcr_allowed_modes |
| Set to 0 or L2CAP_FCR_CHAN_OPT_BASIC for no FCR. | |
| wiced_bt_l2cap_fcr_options_t | fcr |
| Enhanced flow control and retransmission parameters. | |
| uint8_t | fcs |
| '0' if desire is to bypass FCS, otherwise '1' | |
Define the structure that applications use to register with L2CAP.
This structure includes callback functions. All functions MUST be provided. Additionally, if registering client for dynamic PSM, connect_ind_cb() must be NULL since dynamic PSMs use this as a flag for "virtual PSM".