Lines Matching refs:clcb_idx
203 uint8_t srvc_eng_process_read_req(uint8_t clcb_idx, tGATT_READ_REQ* p_data, in srvc_eng_process_read_req() argument
213 act = dis_read_attr_value(clcb_idx, p_data->handle, &p_rsp->attr_value, in srvc_eng_process_read_req()
222 uint8_t srvc_eng_process_write_req(uint8_t clcb_idx, tGATT_WRITE_REQ* p_data, in srvc_eng_process_write_req() argument
250 uint8_t clcb_idx = srvc_eng_find_clcb_idx_by_conn_id(conn_id); in srvc_eng_s_request_cback() local
257 srvc_eng_cb.clcb[clcb_idx].trans_id = trans_id; in srvc_eng_s_request_cback()
262 act = srvc_eng_process_read_req(clcb_idx, &p_data->read_req, &rsp_msg, in srvc_eng_s_request_cback()
268 act = srvc_eng_process_write_req(clcb_idx, &p_data->write_req, &rsp_msg, in srvc_eng_s_request_cback()
287 srvc_eng_cb.clcb[clcb_idx].trans_id = 0; in srvc_eng_s_request_cback()
416 void srvc_sr_rsp(uint8_t clcb_idx, tGATT_STATUS st, tGATTS_RSP* p_rsp) { in srvc_sr_rsp() argument
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()