Home | History | Annotate | Download | only in gatt

Lines Matching refs:clcb

306             /* close all CLCB related to this app */
309 if (p_cb->clcb[i].in_use && (p_cb->clcb[i].p_rcb == p_clreg))
314 buf.layer_specific = p_cb->clcb[i].bta_conn_id;
315 bta_gattc_close(&p_cb->clcb[i], (tBTA_GATTC_DATA *)&buf) ;
509 /* open failure, remove clcb */
831 ** Description when a SRCB finished discovery, tell all related clcb.
843 if (p_cb->clcb[i].p_srcb == p_srcb)
845 p_cb->clcb[i].status = status;
846 bta_gattc_sm_execute(&p_cb->clcb[i], BTA_GATTC_DISCOVER_CMPL_EVT, NULL);
883 ** Description when a SRCB start discovery, tell all related clcb and set
899 if (p_cb->clcb[i].p_srcb == p_srcb)
901 p_cb->clcb[i].status = BTA_GATT_OK;
902 p_cb->clcb[i].state = BTA_GATTC_DISCOVER_ST;
989 /* set all srcb related clcb into discovery ST */
1016 p_clcb->state = BTA_GATTC_CONN_ST; /* set clcb state */
1901 tBTA_GATTC_CLCB *p_clcb = &bta_gattc_cb.clcb[0];
1908 /* try to find a CLCB */
1976 /* search for first available clcb and start discovery */
1981 if (bta_gattc_cb.clcb[i].in_use &&
1982 bta_gattc_cb.clcb[i].p_srcb == p_srcb &&
1983 bta_gattc_cb.clcb[i].p_q_cmd == NULL)
1985 p_clcb = &bta_gattc_cb.clcb[i];
2218 ** Description Initaite a BTA CLCB connection