Lines Matching defs:client_if
134 uint8_t client_if;
153 uint8_t client_if;
191 uint8_t client_if;
242 static bt_status_t btif_gattc_multi_adv_disable(int client_if);
245 int client_if = PTR_TO_INT(data);
246 btif_gattc_multi_adv_disable(client_if); // Does context switch
458 , p_data->reg_oper.client_if
542 , p_data->open.status, p_data->open.client_if, &bda);
560 , p_data->status, p_data->close.client_if, &bda);
613 HAL_CBACK(bt_gatt_callbacks, client->read_remote_rssi_cb, p_btif_cb->client_if,
622 , p_data->reg_oper.client_if
638 btif_multi_adv_add_instid_map(p_btif_cb->client_if, p_btif_cb->inst_id, false);
640 , p_btif_cb->client_if
643 btif_multi_adv_timer_ctrl(p_btif_cb->client_if,
653 , p_btif_cb->client_if
656 btif_multi_adv_timer_ctrl(p_btif_cb->client_if,
665 btif_gattc_clear_clientif(p_btif_cb->client_if, FALSE);
667 , p_btif_cb->client_if
676 btif_gattc_clear_clientif(p_btif_cb->client_if, TRUE);
678 , p_btif_cb->client_if
702 , p_data->client_if
713 , p_data->client_if
723 , p_data->client_if
732 , p_data->client_if);
748 , p_data->client_if, p_data->status, p_data->read_reports.report_format
758 p_btif_cb->client_if, p_btif_cb->status, p_btif_cb->cond_op,
766 BTIF_TRACE_DEBUG("BTA_GATTC_SCAN_FLT_PARAM_EVT: %d, %d, %d, %d",p_data->client_if,
769 , p_data->action, p_data->client_if, p_data->status
777 BTIF_TRACE_DEBUG("BTA_GATTC_SCAN_FLT_STATUS_EVT: %d, %d, %d",p_data->client_if,
780 , p_data->action, p_data->client_if, p_data->status);
800 p_btif_cb->client_if, btif_gattc_translate_btm_status(p_btif_cb->status));
824 uint8_t client_if = 0;
832 client_if = *(UINT8 *) p_ref;
835 BTIF_TRACE_DEBUG("%s -Inst ID %d, Status:%x, client_if:%d",__FUNCTION__,inst_id, call_status,
836 client_if);
838 btif_cb.client_if = client_if;
885 btif_scan_track_cb.client_if = ref_value;
886 BTIF_TRACE_DEBUG("bta_batch_scan_setup_cb-Status:%x, client_if:%d, evt=%d",
934 btif_scan_track_cb.client_if = ref_value;
936 BTIF_TRACE_DEBUG("%s - client_if:%d",__FUNCTION__, ref_value);
948 BTIF_TRACE_DEBUG("%s - client_if:%d, %d, %d, %d",__FUNCTION__, ref_value, status, num_records,
953 btif_scan_track_cb.client_if = ref_value;
1031 btif_cb.client_if = rssi_request_client_if;
1036 static void bta_scan_param_setup_cb(tGATT_IF client_if, tBTM_STATUS status)
1041 btif_cb.client_if = client_if;
1055 btif_cb.client_if = ref_value;
1068 btif_cb.client_if = ref_value;
1081 btif_cb.client_if = ref_value;
1123 btif_gattc_clear_clientif(p_cb->client_if, TRUE);
1125 BTA_GATTC_AppDeregister(p_cb->client_if);
1166 p_cb->client_if, &p_cb->bd_addr);
1200 BTA_GATTC_Open(p_cb->client_if, p_cb->bd_addr.address, p_cb->is_direct, transport);
1209 BTA_GATTC_CancelOpen(p_cb->client_if, p_cb->bd_addr.address, TRUE);
1212 BTA_GATTC_CancelOpen(p_cb->client_if, p_cb->bd_addr.address, FALSE);
1266 status = BTA_GATTC_RegisterForNotifications(p_cb->client_if,
1274 status = BTA_GATTC_DeregisterForNotifications(p_cb->client_if,
1286 rssi_request_client_if = p_cb->client_if;
1294 BTA_DmBleTrackAdvertiser(p_adv_filt_cb->client_if, bta_track_adv_event_cb);
1297 p_adv_filt_cb->client_if);
1315 p_adv_filt_cb->client_if);
1321 NULL, bta_scan_filt_cfg_cb, p_adv_filt_cb->client_if);
1341 p_adv_filt_cb->client_if);
1353 p_adv_filt_cb->client_if);
1364 p_adv_filt_cb->client_if);
1378 p_adv_filt_cb->client_if);
1390 p_adv_filt_cb->client_if);
1406 p_adv_filt_cb->client_if);
1414 p_adv_filt_cb->client_if);
1420 BTA_GATTC_Listen(p_cb->client_if, p_cb->start, NULL);
1422 BTA_GATTC_Broadcast(p_cb->client_if, p_cb->start);
1458 arrindex = btif_multi_adv_add_instid_map(p_inst_cb->client_if,INVALID_ADV_INST, true);
1460 cbindex = btif_gattc_obtain_idx_for_datacb(p_inst_cb->client_if, CLNT_IF_IDX);
1468 BTIF_TRACE_DEBUG("%s, client_if value: %d", __FUNCTION__,
1486 int inst_id = btif_multi_adv_instid_for_clientif(p_inst_cb->client_if);
1487 int cbindex = btif_gattc_obtain_idx_for_datacb(p_inst_cb->client_if, CLNT_IF_IDX);
1504 int cbindex = btif_gattc_obtain_idx_for_datacb(p_adv_data->client_if, CLNT_IF_IDX);
1505 int inst_id = btif_multi_adv_instid_for_clientif(p_adv_data->client_if);
1529 int inst_id = btif_multi_adv_instid_for_clientif(p_inst_cb->client_if);
1559 BTA_DmSetBleScanParams(p_cb->client_if, p_cb->scan_interval, p_cb->scan_window,
1570 (tBTA_DM_BLE_REF_VALUE) p_scan_track_cb->client_if);
1579 p_scan_track_cb->addr_type, p_scan_track_cb->client_if);
1586 BTA_DmBleDisableBatchScan(p_scan_track_cb->client_if);
1593 BTA_DmBleReadScanReports(p_scan_track_cb->scan_mode, p_scan_track_cb->client_if);
1618 static bt_status_t btif_gattc_unregister_app(int client_if )
1622 btif_cb.client_if = (uint8_t) client_if;
1635 static bt_status_t btif_gattc_open(int client_if, const bt_bdaddr_t *bd_addr,
1640 btif_cb.client_if = (uint8_t) client_if;
1648 static bt_status_t btif_gattc_close( int client_if, const bt_bdaddr_t *bd_addr, int conn_id)
1652 btif_cb.client_if = (uint8_t) client_if;
1659 static bt_status_t btif_gattc_listen(int client_if, bool start)
1663 btif_cb.client_if = (uint8_t) client_if;
1707 static bt_status_t btif_gattc_set_adv_data(int client_if, bool set_scan_rsp, bool include_name,
1716 btif_gattc_adv_data_packager(client_if, set_scan_rsp, include_name,
1727 static bt_status_t btif_gattc_refresh( int client_if, const bt_bdaddr_t *bd_addr )
1731 btif_cb.client_if = (uint8_t) client_if;
1823 static bt_status_t btif_gattc_reg_for_notification(int client_if, const bt_bdaddr_t *bd_addr,
1828 btif_cb.client_if = (uint8_t) client_if;
1835 static bt_status_t btif_gattc_dereg_for_notification(int client_if, const bt_bdaddr_t *bd_addr,
1840 btif_cb.client_if = (uint8_t) client_if;
1847 static bt_status_t btif_gattc_read_remote_rssi(int client_if, const bt_bdaddr_t *bd_addr)
1851 btif_cb.client_if = (uint8_t) client_if;
1888 btif_filt_cb.client_if = filt_param.client_if;
1905 static bt_status_t btif_gattc_scan_filter_add_remove(int client_if, int action,
1921 btif_filt_cb.client_if = client_if;
1948 static bt_status_t btif_gattc_scan_filter_clear(int client_if, int filt_index)
1955 btif_filt_cb.client_if = client_if;
1962 static bt_status_t btif_gattc_scan_filter_enable(int client_if, bool enable)
1970 btif_filt_cb.client_if = client_if;
1978 static bt_status_t btif_gattc_set_scan_parameters(int client_if, int scan_interval,
1983 btif_cb.client_if = client_if;
2001 static bt_status_t btif_gattc_multi_adv_enable(int client_if, int min_interval, int max_interval,
2007 adv_cb.client_if = (uint8_t) client_if;
2020 static bt_status_t btif_gattc_multi_adv_update(int client_if, int min_interval, int max_interval,
2026 adv_cb.client_if = (uint8_t) client_if;
2039 static bt_status_t btif_gattc_multi_adv_setdata(int client_if, bool set_scan_rsp,
2053 btif_gattc_adv_data_packager(client_if, set_scan_rsp, include_name, incl_txpower,
2065 static bt_status_t btif_gattc_multi_adv_disable(int client_if)
2070 adv_cb.client_if = (uint8_t) client_if;
2076 static bt_status_t btif_gattc_cfg_storage(int client_if,int batch_scan_full_max,
2082 bt_scan_cb.client_if = (uint8_t) client_if;
2090 static bt_status_t btif_gattc_enb_batch_scan(int client_if,int scan_mode, int scan_interval,
2096 bt_scan_cb.client_if = (uint8_t) client_if;
2106 static bt_status_t btif_gattc_dis_batch_scan(int client_if)
2111 bt_scan_cb.client_if = (uint8_t) client_if;
2116 static bt_status_t btif_gattc_read_batch_scan_reports(int client_if, int scan_mode)
2121 bt_scan_cb.client_if = (uint8_t) client_if;