Home | History | Annotate | Download | only in srvc

Lines Matching refs:clcb_idx

207 UINT8 srvc_eng_process_read_req (UINT8 clcb_idx, tGATT_READ_REQ *p_data, tGATTS_RSP *p_rsp, tGATT_STATUS *p_status)
218 act = dis_read_attr_value(clcb_idx, p_data->handle, &p_rsp->attr_value, p_data->is_long, p_status);
221 act = battery_s_read_attr_value(clcb_idx, p_data->handle, &p_rsp->attr_value, p_data->is_long, p_status);
230 UINT8 srvc_eng_process_write_req (UINT8 clcb_idx, tGATT_WRITE_REQ *p_data, tGATTS_RSP *p_rsp, tGATT_STATUS *p_status)
240 act = battery_s_write_attr_value(clcb_idx, p_data, p_status);
263 UINT8 clcb_idx = srvc_eng_find_clcb_idx_by_conn_id(conn_id);
269 srvc_eng_cb.clcb[clcb_idx].trans_id = trans_id;
274 act = srvc_eng_process_read_req(clcb_idx, &p_data->read_req, &rsp_msg, &status);
278 act = srvc_eng_process_write_req(clcb_idx, &p_data->write_req, &rsp_msg, &status);
296 srvc_eng_cb.clcb[clcb_idx].trans_id = 0;
439 void srvc_sr_rsp(UINT8 clcb_idx, tGATT_STATUS st, tGATTS_RSP *p_rsp)
441 if (srvc_eng_cb.clcb[clcb_idx].trans_id != 0)
443 GATTS_SendRsp(srvc_eng_cb.clcb[clcb_idx].conn_id,
444 srvc_eng_cb.clcb[clcb_idx].trans_id,
448 srvc_eng_cb.clcb[clcb_idx].trans_id = 0;