Home | History | Annotate | Download | only in gatt

Lines Matching refs:p_srcb

237             if ((p_clcb->p_srcb = bta_gattc_find_srcb(remote_bda)) == NULL)
238 p_clcb->p_srcb = bta_gattc_srcb_alloc(remote_bda);
240 if (p_clcb->p_rcb != NULL && p_clcb->p_srcb != NULL)
242 p_clcb->p_srcb->num_clcb ++;
288 tBTA_GATTC_SERV *p_srcb = NULL;
292 p_srcb = p_clcb->p_srcb;
293 if (p_srcb->num_clcb)
294 p_srcb->num_clcb --;
300 if ( p_srcb->num_clcb == 0)
302 p_srcb->connected = FALSE;
303 p_srcb->state = BTA_GATTC_SERV_IDLE;
304 p_srcb->mtu = 0;
325 tBTA_GATTC_SERV *p_srcb = &bta_gattc_cb.known_server[0];
328 for (i = 0; i < BTA_GATTC_KNOWN_SR_MAX; i ++, p_srcb ++)
330 if (p_srcb->in_use && bdcmp(p_srcb->server_bda, bda) == 0)
331 return p_srcb;
347 tBTA_GATTC_SERV *p_srcb = &bta_gattc_cb.known_server[0];
350 for (i = 0; i < BTA_GATTC_KNOWN_SR_MAX; i ++, p_srcb ++)
352 if (bdcmp(p_srcb->server_bda, bda) == 0)
353 return p_srcb;
371 return p_clcb->p_srcb;
455 BOOLEAN bta_gattc_check_notif_registry(tBTA_GATTC_RCB *p_clreg, tBTA_GATTC_SERV *p_srcb,
463 bdcmp(p_clreg->notif_reg[i].remote_bda, p_srcb->server_bda) == 0 &&
485 void bta_gattc_clear_notif_registration(tBTA_GATTC_SERV *p_srcb, UINT16 conn_id,