Home | History | Annotate | Download | only in srvc

Lines Matching refs:clcb_idx

217 UINT8 srvc_eng_process_read_req (UINT8 clcb_idx, tGATT_READ_REQ *p_data, tGATTS_RSP *p_rsp, tGATT_STATUS *p_status)
228 act = dis_read_attr_value(clcb_idx, p_data->handle, &p_rsp->attr_value, p_data->is_long, p_status);
231 act = battery_s_read_attr_value(clcb_idx, p_data->handle, &p_rsp->attr_value, p_data->is_long, p_status);
240 UINT8 srvc_eng_process_write_req (UINT8 clcb_idx, tGATT_WRITE_REQ *p_data, tGATTS_RSP *p_rsp, tGATT_STATUS *p_status)
251 act = battery_s_write_attr_value(clcb_idx, p_data, p_status);
274 UINT8 clcb_idx = srvc_eng_find_clcb_idx_by_conn_id(conn_id);
280 srvc_eng_cb.clcb[clcb_idx].trans_id = trans_id;
285 act = srvc_eng_process_read_req(clcb_idx, &p_data->read_req, &rsp_msg, &status);
289 act = srvc_eng_process_write_req(clcb_idx, &p_data->write_req, &rsp_msg, &status);
307 srvc_eng_cb.clcb[clcb_idx].trans_id = 0;
458 void srvc_sr_rsp(UINT8 clcb_idx, tGATT_STATUS st, tGATTS_RSP *p_rsp)
460 if (srvc_eng_cb.clcb[clcb_idx].trans_id != 0)
462 GATTS_SendRsp(srvc_eng_cb.clcb[clcb_idx].conn_id,
463 srvc_eng_cb.clcb[clcb_idx].trans_id,
467 srvc_eng_cb.clcb[clcb_idx].trans_id = 0;