Home | History | Annotate | Download | only in gatt

Lines Matching full:clcb

294             /* close all CLCB related to this app */
297 if (p_cb->clcb[i].in_use && (p_cb->clcb[i].p_rcb == p_clreg))
302 buf.layer_specific = p_cb->clcb[i].bta_conn_id;
303 bta_gattc_close(&p_cb->clcb[i], (tBTA_GATTC_DATA *)&buf) ;
454 /* open failure, remove clcb */
751 ** Description when a SRCB finished discovery, tell all related clcb.
763 if (p_cb->clcb[i].p_srcb == p_srcb)
765 p_cb->clcb[i].status = status;
766 bta_gattc_sm_execute(&p_cb->clcb[i], BTA_GATTC_DISCOVER_CMPL_EVT, NULL);
790 ** Description when a SRCB start discovery, tell all related clcb and set
806 if (p_cb->clcb[i].p_srcb == p_srcb)
808 p_cb->clcb[i].status = BTA_GATT_OK;
809 p_cb->clcb[i].state = BTA_GATTC_DISCOVER_ST;
858 /* set all srcb related clcb into discovery ST */
882 p_clcb->state = BTA_GATTC_CONN_ST; /* set clcb state */
1649 tBTA_GATTC_CLCB *p_clcb = &bta_gattc_cb.clcb[0];
1655 /* try to find a CLCB */
1723 /* search for first available clcb and start discovery */
1728 if (bta_gattc_cb.clcb[i].in_use &&
1729 bta_gattc_cb.clcb[i].p_srcb == p_srcb &&
1730 bta_gattc_cb.clcb[i].p_q_cmd == NULL)
1732 p_clcb = &bta_gattc_cb.clcb[i];
1928 ** Description Initaite a BTA CLCB connection