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