Home | History | Annotate | Download | only in gatt

Lines Matching full:clcb

297             /* close all CLCB related to this app */
300 if (p_cb->clcb[i].in_use && (p_cb->clcb[i].p_rcb == p_clreg))
305 buf.layer_specific = p_cb->clcb[i].bta_conn_id;
306 bta_gattc_close(&p_cb->clcb[i], (tBTA_GATTC_DATA *)&buf) ;
485 /* open failure, remove clcb */
782 ** Description when a SRCB finished discovery, tell all related clcb.
794 if (p_cb->clcb[i].p_srcb == p_srcb)
796 p_cb->clcb[i].status = status;
797 bta_gattc_sm_execute(&p_cb->clcb[i], BTA_GATTC_DISCOVER_CMPL_EVT, NULL);
821 ** Description when a SRCB start discovery, tell all related clcb and set
837 if (p_cb->clcb[i].p_srcb == p_srcb)
839 p_cb->clcb[i].status = BTA_GATT_OK;
840 p_cb->clcb[i].state = BTA_GATTC_DISCOVER_ST;
889 /* set all srcb related clcb into discovery ST */
913 p_clcb->state = BTA_GATTC_CONN_ST; /* set clcb state */
1724 tBTA_GATTC_CLCB *p_clcb = &bta_gattc_cb.clcb[0];
1730 /* try to find a CLCB */
1798 /* search for first available clcb and start discovery */
1803 if (bta_gattc_cb.clcb[i].in_use &&
1804 bta_gattc_cb.clcb[i].p_srcb == p_srcb &&
1805 bta_gattc_cb.clcb[i].p_q_cmd == NULL)
1807 p_clcb = &bta_gattc_cb.clcb[i];
2003 ** Description Initaite a BTA CLCB connection