Lines Matching refs:gap_handle
988 static void bta_jv_l2cap_client_cback(UINT16 gap_handle, UINT16 event) in bta_jv_l2cap_client_cback() argument
990 tBTA_JV_L2C_CB *p_cb = &bta_jv_cb.l2c_cb[gap_handle]; in bta_jv_l2cap_client_cback()
993 if (gap_handle >= BTA_JV_MAX_L2C_CONN && !p_cb->p_cback) in bta_jv_l2cap_client_cback()
996 APPL_TRACE_DEBUG( "%s: %d evt:x%x",__func__, gap_handle, event); in bta_jv_l2cap_client_cback()
998 evt_data.l2c_open.handle = gap_handle; in bta_jv_l2cap_client_cback()
1003 bdcpy(evt_data.l2c_open.rem_bda, GAP_ConnGetRemoteAddr(gap_handle)); in bta_jv_l2cap_client_cback()
1004 evt_data.l2c_open.tx_mtu = GAP_ConnGetRemMtuSize(gap_handle); in bta_jv_l2cap_client_cback()
1018 evt_data.data_ind.handle = gap_handle; in bta_jv_l2cap_client_cback()
1155 static void bta_jv_l2cap_server_cback(UINT16 gap_handle, UINT16 event) in bta_jv_l2cap_server_cback() argument
1157 tBTA_JV_L2C_CB *p_cb = &bta_jv_cb.l2c_cb[gap_handle]; in bta_jv_l2cap_server_cback()
1162 if (gap_handle >= BTA_JV_MAX_L2C_CONN && !p_cb->p_cback) in bta_jv_l2cap_server_cback()
1165 APPL_TRACE_DEBUG( "%s: %d evt:x%x", __func__, gap_handle, event); in bta_jv_l2cap_server_cback()
1167 evt_data.l2c_open.handle = gap_handle; in bta_jv_l2cap_server_cback()
1172 bdcpy(evt_data.l2c_open.rem_bda, GAP_ConnGetRemoteAddr(gap_handle)); in bta_jv_l2cap_server_cback()
1173 evt_data.l2c_open.tx_mtu = GAP_ConnGetRemMtuSize(gap_handle); in bta_jv_l2cap_server_cback()
1188 evt_data.data_ind.handle = gap_handle; in bta_jv_l2cap_server_cback()