Lines Matching defs:client_if
107 if ((p_app_uuid == NULL) || (p_cb->cl_rcb[i].client_if = GATT_Register(p_app_uuid, &bta_gattc_cl_cback)) == 0)
120 cb_data.reg_oper.client_if = p_cb->cl_rcb[i].client_if;
130 p_buf->client_if = p_cb->cl_rcb[i].client_if;
160 if (bta_gattc_cl_get_regcb(p_msg->int_start_if.client_if) !=NULL )
162 GATT_StartIf(p_msg->int_start_if.client_if);
166 APPL_TRACE_ERROR1("Unable to start app.: Unknown interface =%d",p_msg->int_start_if.client_if );
178 void bta_gattc_int_deregister_cmpl(tBTA_GATTC_RCB *p_clreg, tBTA_GATTC_IF client_if)
184 APPL_TRACE_DEBUG1("bta_gattc_int_deregister_cmpl client_if=%d", client_if );
186 GATT_Deregister(p_clreg->client_if);
189 cb_data.reg_oper.client_if = client_if;
207 void bta_gattc_deregister_cmpl(tBTA_GATTC_RCB *p_clreg, tBTA_GATTC_IF client_if)
211 APPL_TRACE_DEBUG1("bta_gattc_deregister_cmpl client_if=%d", client_if );
216 p_buf->client_if = client_if;
221 APPL_TRACE_ERROR1("bta_gattc_deregister_cmpl unable to allocate buffer to complete dereg=%d", client_if);
237 tBTA_GATTC_IF client_if = p_data->int_dereg.client_if;
243 APPL_TRACE_DEBUG1("bta_gattc_int_deregister_cmpl client_if=%d", client_if );
245 if ((p_clreg = bta_gattc_cl_get_regcb(client_if)) != NULL)
248 GATT_Deregister(client_if);
250 cb_data.reg_oper.client_if = client_if;
259 APPL_TRACE_ERROR1("bta_gattc_int_deregister Deregister Failed, unknown client_if: %d", p_data->int_dereg.client_if);
277 if ((p_clreg = bta_gattc_cl_get_regcb(p_data->api_dereg.client_if)) != NULL)
295 bta_gattc_deregister_cmpl(p_clreg, p_clreg->client_if);
299 APPL_TRACE_ERROR1("bta_gattc_deregister Deregister Failed, unknown client_if: %d", p_data->api_dereg.client_if);
315 tBTA_GATTC_RCB *p_clreg = bta_gattc_cl_get_regcb(p_msg->api_conn.client_if);
321 if ((p_clcb = bta_gattc_find_alloc_clcb(p_msg->api_conn.client_if,
343 APPL_TRACE_ERROR1("bta_gattc_process_api_open Failed, unknown client_if: %d",
344 p_msg->api_conn.client_if);
365 if ((p_clcb = bta_gattc_find_clcb_by_cif(p_msg->api_cancel_conn.client_if,
374 p_clreg = bta_gattc_cl_get_regcb(p_msg->api_cancel_conn.client_if);
455 if (!GATT_Connect(p_clcb->p_rcb->client_if, p_data->api_conn.remote_bda, TRUE))
464 if (GATT_GetConnIdIfConnected(p_clcb->p_rcb->client_if,
491 if (bta_gattc_mark_bg_conn(p_data->client_if, p_data->remote_bda, TRUE, FALSE))
494 if (!GATT_Connect(p_data->client_if, p_data->remote_bda, FALSE))
504 if (GATT_GetConnIdIfConnected(p_data->client_if,
508 if ((p_clcb = bta_gattc_clcb_alloc(p_data->client_if, p_data->remote_bda)) != NULL)
542 if (bta_gattc_mark_bg_conn(p_data->client_if, p_data->remote_bda, FALSE, FALSE))
544 if (GATT_CancelConnect(p_data->client_if, p_data->remote_bda, FALSE))
553 p_clreg = bta_gattc_cl_get_regcb(p_data->client_if);
595 if (GATT_CancelConnect(p_clcb->p_rcb->client_if, p_data->api_cancel_conn.remote_bda, TRUE))
679 cb_data.close.client_if = p_clcb->p_rcb->client_if;
709 cb_data.close.client_if = p_clcb->p_rcb->client_if;
721 bta_gattc_deregister_cmpl(p_clreg, p_clreg->client_if);
1935 gattc_data.api_conn.client_if = cif;