Lines Matching full:clcb
299 /* close all CLCB related to this app */
302 if (p_cb->clcb[i].in_use && (p_cb->clcb[i].p_rcb == p_clreg))
307 buf.layer_specific = p_cb->clcb[i].bta_conn_id;
308 bta_gattc_close(&p_cb->clcb[i], (tBTA_GATTC_DATA *)&buf) ;
502 /* open failure, remove clcb */
829 ** Description when a SRCB finished discovery, tell all related clcb.
841 if (p_cb->clcb[i].p_srcb == p_srcb)
843 p_cb->clcb[i].status = status;
844 bta_gattc_sm_execute(&p_cb->clcb[i], BTA_GATTC_DISCOVER_CMPL_EVT, NULL);
881 ** Description when a SRCB start discovery, tell all related clcb and set
897 if (p_cb->clcb[i].p_srcb == p_srcb)
899 p_cb->clcb[i].status = BTA_GATT_OK;
900 p_cb->clcb[i].state = BTA_GATTC_DISCOVER_ST;
984 /* set all srcb related clcb into discovery ST */
1011 p_clcb->state = BTA_GATTC_CONN_ST; /* set clcb state */
1627 tBTA_GATTC_CLCB *p_clcb = &bta_gattc_cb.clcb[0];
1634 /* try to find a CLCB */
1712 /* search for first available clcb and start discovery */
1717 if (bta_gattc_cb.clcb[i].in_use &&
1718 bta_gattc_cb.clcb[i].p_srcb == p_srcb &&
1719 bta_gattc_cb.clcb[i].p_q_cmd == NULL)
1721 p_clcb = &bta_gattc_cb.clcb[i];
1951 ** Description Initaite a BTA CLCB connection