Lines Matching refs:srvc_eng_cb
57 tSRVC_ENG_CB srvc_eng_cb; variable
72 for (i_clcb = 0, p_clcb = srvc_eng_cb.clcb; i_clcb < SRVC_MAX_APPS; in srvc_eng_find_conn_id_by_bd_addr()
95 for (i_clcb = 0, p_clcb = srvc_eng_cb.clcb; i_clcb < SRVC_MAX_APPS; in srvc_eng_find_clcb_by_bd_addr()
117 for (i_clcb = 0, p_clcb = srvc_eng_cb.clcb; i_clcb < SRVC_MAX_APPS; in srvc_eng_find_clcb_by_conn_id()
139 for (i_clcb = 0, p_clcb = srvc_eng_cb.clcb; i_clcb < SRVC_MAX_APPS; in srvc_eng_find_clcb_idx_by_conn_id()
162 for (i_clcb = 0, p_clcb = srvc_eng_cb.clcb; i_clcb < SRVC_MAX_APPS; in srvc_eng_clcb_alloc()
187 for (i_clcb = 0, p_clcb = srvc_eng_cb.clcb; i_clcb < SRVC_MAX_APPS; in srvc_eng_clcb_dealloc()
257 srvc_eng_cb.clcb[clcb_idx].trans_id = trans_id; in srvc_eng_s_request_cback()
287 srvc_eng_cb.clcb[clcb_idx].trans_id = 0; in srvc_eng_s_request_cback()
397 if (srvc_eng_cb.enabled) { in srvc_eng_init()
400 memset(&srvc_eng_cb, 0, sizeof(tSRVC_ENG_CB)); in srvc_eng_init()
405 srvc_eng_cb.gatt_if = GATT_Register(app_uuid, &srvc_gatt_cback); in srvc_eng_init()
406 GATT_StartIf(srvc_eng_cb.gatt_if); in srvc_eng_init()
408 VLOG(1) << "Srvc_Init: gatt_if=" << +srvc_eng_cb.gatt_if; in srvc_eng_init()
410 srvc_eng_cb.enabled = true; in srvc_eng_init()
417 if (srvc_eng_cb.clcb[clcb_idx].trans_id != 0) { in srvc_sr_rsp()
418 GATTS_SendRsp(srvc_eng_cb.clcb[clcb_idx].conn_id, in srvc_sr_rsp()
419 srvc_eng_cb.clcb[clcb_idx].trans_id, st, p_rsp); in srvc_sr_rsp()
421 srvc_eng_cb.clcb[clcb_idx].trans_id = 0; in srvc_sr_rsp()