Lines Matching refs:clcb_idx

215 UINT8 srvc_eng_process_read_req (UINT8 clcb_idx, tGATT_READ_REQ *p_data, tGATTS_RSP *p_rsp, tGATT_S…  in srvc_eng_process_read_req()  argument
226 …act = dis_read_attr_value(clcb_idx, p_data->handle, &p_rsp->attr_value, p_data->is_long, p_status); in srvc_eng_process_read_req()
229 …act = battery_s_read_attr_value(clcb_idx, p_data->handle, &p_rsp->attr_value, p_data->is_long, p_s… in srvc_eng_process_read_req()
238 UINT8 srvc_eng_process_write_req (UINT8 clcb_idx, tGATT_WRITE_REQ *p_data, tGATTS_RSP *p_rsp, tGATT… in srvc_eng_process_write_req() argument
249 act = battery_s_write_attr_value(clcb_idx, p_data, p_status); in srvc_eng_process_write_req()
272 UINT8 clcb_idx = srvc_eng_find_clcb_idx_by_conn_id(conn_id); in srvc_eng_s_request_cback() local
278 srvc_eng_cb.clcb[clcb_idx].trans_id = trans_id; in srvc_eng_s_request_cback()
283 act = srvc_eng_process_read_req(clcb_idx, &p_data->read_req, &rsp_msg, &status); in srvc_eng_s_request_cback()
287 act = srvc_eng_process_write_req(clcb_idx, &p_data->write_req, &rsp_msg, &status); in srvc_eng_s_request_cback()
305 srvc_eng_cb.clcb[clcb_idx].trans_id = 0; in srvc_eng_s_request_cback()
456 void srvc_sr_rsp(UINT8 clcb_idx, tGATT_STATUS st, tGATTS_RSP *p_rsp) in srvc_sr_rsp() argument
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()