Lines Matching refs:srvc_eng_cb
58 tSRVC_ENG_CB srvc_eng_cb; variable
74 for (i_clcb = 0, p_clcb= srvc_eng_cb.clcb; i_clcb < SRVC_MAX_APPS; i_clcb++, p_clcb++) in srvc_eng_find_conn_id_by_bd_addr()
99 for (i_clcb = 0, p_clcb= srvc_eng_cb.clcb; i_clcb < SRVC_MAX_APPS; i_clcb++, p_clcb++) in srvc_eng_find_clcb_by_bd_addr()
123 for (i_clcb = 0, p_clcb= srvc_eng_cb.clcb; i_clcb < SRVC_MAX_APPS; i_clcb++, p_clcb++) in srvc_eng_find_clcb_by_conn_id()
147 for (i_clcb = 0, p_clcb= srvc_eng_cb.clcb; i_clcb < SRVC_MAX_APPS; i_clcb++, p_clcb++) in srvc_eng_find_clcb_idx_by_conn_id()
171 for (i_clcb = 0, p_clcb= srvc_eng_cb.clcb; i_clcb < SRVC_MAX_APPS; i_clcb++, p_clcb++) in srvc_eng_clcb_alloc()
198 for (i_clcb = 0, p_clcb= srvc_eng_cb.clcb; i_clcb < SRVC_MAX_APPS; i_clcb++, p_clcb++) in srvc_eng_clcb_dealloc()
278 srvc_eng_cb.clcb[clcb_idx].trans_id = trans_id; in srvc_eng_s_request_cback()
305 srvc_eng_cb.clcb[clcb_idx].trans_id = 0; in srvc_eng_s_request_cback()
434 if (srvc_eng_cb.enabled) in srvc_eng_init()
440 memset(&srvc_eng_cb, 0, sizeof(tSRVC_ENG_CB)); in srvc_eng_init()
443 srvc_eng_cb.gatt_if = GATT_Register(&app_uuid, &srvc_gatt_cback); in srvc_eng_init()
444 GATT_StartIf(srvc_eng_cb.gatt_if); in srvc_eng_init()
446 GATT_TRACE_DEBUG ("Srvc_Init: gatt_if=%d ", srvc_eng_cb.gatt_if); in srvc_eng_init()
448 srvc_eng_cb.enabled = TRUE; in srvc_eng_init()
458 if (srvc_eng_cb.clcb[clcb_idx].trans_id != 0) in srvc_sr_rsp()
460 GATTS_SendRsp(srvc_eng_cb.clcb[clcb_idx].conn_id, in srvc_sr_rsp()
461 srvc_eng_cb.clcb[clcb_idx].trans_id, in srvc_sr_rsp()
465 srvc_eng_cb.clcb[clcb_idx].trans_id = 0; in srvc_sr_rsp()