Lines Matching refs:gap_handle
834 static void bta_jv_l2cap_client_cback(uint16_t gap_handle, uint16_t event, in bta_jv_l2cap_client_cback() argument
836 tBTA_JV_L2C_CB* p_cb = &bta_jv_cb.l2c_cb[gap_handle]; in bta_jv_l2cap_client_cback()
839 if (gap_handle >= BTA_JV_MAX_L2C_CONN && !p_cb->p_cback) return; in bta_jv_l2cap_client_cback()
841 VLOG(2) << __func__ << ": gap_handle=" << gap_handle in bta_jv_l2cap_client_cback()
844 evt_data.l2c_open.handle = gap_handle; in bta_jv_l2cap_client_cback()
848 evt_data.l2c_open.rem_bda = *GAP_ConnGetRemoteAddr(gap_handle); in bta_jv_l2cap_client_cback()
849 evt_data.l2c_open.tx_mtu = GAP_ConnGetRemMtuSize(gap_handle); in bta_jv_l2cap_client_cback()
863 evt_data.data_ind.handle = gap_handle; in bta_jv_l2cap_client_cback()
975 static void bta_jv_l2cap_server_cback(uint16_t gap_handle, uint16_t event, in bta_jv_l2cap_server_cback() argument
977 tBTA_JV_L2C_CB* p_cb = &bta_jv_cb.l2c_cb[gap_handle]; in bta_jv_l2cap_server_cback()
982 if (gap_handle >= BTA_JV_MAX_L2C_CONN && !p_cb->p_cback) return; in bta_jv_l2cap_server_cback()
984 VLOG(2) << __func__ << ": gap_handle=" << gap_handle in bta_jv_l2cap_server_cback()
987 evt_data.l2c_open.handle = gap_handle; in bta_jv_l2cap_server_cback()
991 evt_data.l2c_open.rem_bda = *GAP_ConnGetRemoteAddr(gap_handle); in bta_jv_l2cap_server_cback()
992 evt_data.l2c_open.tx_mtu = GAP_ConnGetRemMtuSize(gap_handle); in bta_jv_l2cap_server_cback()
1007 evt_data.data_ind.handle = gap_handle; in bta_jv_l2cap_server_cback()