/system/bt/stack/srvc/ |
srvc_battery_int.h | 59 extern uint8_t battery_s_write_attr_value(uint8_t clcb_idx, 62 extern uint8_t battery_s_read_attr_value(uint8_t clcb_idx, uint16_t handle,
|
srvc_eng.cc | 205 uint8_t srvc_eng_process_read_req(uint8_t clcb_idx, tGATT_READ_REQ* p_data, 215 act = dis_read_attr_value(clcb_idx, p_data->handle, &p_rsp->attr_value, 220 battery_s_read_attr_value(clcb_idx, p_data->handle, &p_rsp->attr_value, 230 uint8_t srvc_eng_process_write_req(uint8_t clcb_idx, tGATT_WRITE_REQ* p_data, 238 act = battery_s_write_attr_value(clcb_idx, p_data, p_status); 260 uint8_t clcb_idx = srvc_eng_find_clcb_idx_by_conn_id(conn_id); local 266 srvc_eng_cb.clcb[clcb_idx].trans_id = trans_id; 271 act = srvc_eng_process_read_req(clcb_idx, &p_data->read_req, &rsp_msg, 277 act = srvc_eng_process_write_req(clcb_idx, &p_data->write_req, &rsp_msg, 295 srvc_eng_cb.clcb[clcb_idx].trans_id = 0 [all...] |
srvc_dis_int.h | 57 extern uint8_t dis_read_attr_value(uint8_t clcb_idx, uint16_t handle,
|
srvc_eng_int.h | 65 extern void srvc_sr_rsp(uint8_t clcb_idx, tGATT_STATUS st, tGATTS_RSP* p_rsp);
|
srvc_battery.cc | 65 uint8_t battery_s_write_attr_value(uint8_t clcb_idx, tGATT_WRITE_REQ* p_value, 77 memcpy(cfg.remote_bda, srvc_eng_cb.clcb[clcb_idx].bda, BD_ADDR_LEN); 81 p_inst->pending_clcb_idx = clcb_idx; 102 uint8_t battery_s_read_attr_value(uint8_t clcb_idx, uint16_t handle, 126 p_inst->pending_clcb_idx = clcb_idx;
|
srvc_dis.cc | 126 uint8_t dis_read_attr_value(UNUSED_ATTR uint8_t clcb_idx, uint16_t handle,
|
/system/bt/stack/gatt/ |
att_protocol.cc | 439 tGATT_STATUS attp_cl_send_cmd(tGATT_TCB* p_tcb, uint16_t clcb_idx, 453 gatt_start_rsp_timer(clcb_idx); 454 gatt_cmd_enq(p_tcb, clcb_idx, false, cmd_code, NULL); 460 gatt_cmd_enq(p_tcb, clcb_idx, true, cmd_code, p_cmd); 475 * clcb_idx: clcb index 483 tGATT_STATUS attp_send_cl_msg(tGATT_TCB* p_tcb, uint16_t clcb_idx, 563 status = attp_cl_send_cmd(p_tcb, clcb_idx, op_code, p_cmd);
|
gatt_int.h | 200 uint16_t clcb_idx; member in struct:__anon106236 312 uint16_t clcb_idx; member in struct:__anon106241 332 uint16_t clcb_idx; member in struct:__anon106243 439 extern tGATT_STATUS attp_send_cl_msg(tGATT_TCB* p_tcb, uint16_t clcb_idx, 458 extern void gatt_start_rsp_timer(uint16_t clcb_idx); 549 extern uint8_t gatt_send_write_msg(tGATT_TCB* p_tcb, uint16_t clcb_idx, 565 extern bool gatt_cmd_enq(tGATT_TCB* p_tcb, uint16_t clcb_idx, bool to_send,
|
gatt_utils.cc | 705 void gatt_start_rsp_timer(uint16_t clcb_idx) { 706 tGATT_CLCB* p_clcb = &gatt_cb.clcb[clcb_idx]; [all...] |
gatt_cl.cc | 112 st = attp_send_cl_msg(p_clcb->p_tcb, p_clcb->clcb_idx, op_code, &cl_req); 195 rt = attp_send_cl_msg(p_tcb, p_clcb->clcb_idx, op_code, &msg); 222 rt = gatt_send_write_msg(p_tcb, p_clcb->clcb_idx, op_code, 230 rt = gatt_send_write_msg(p_tcb, p_clcb->clcb_idx, GATT_REQ_WRITE, 275 rt = attp_send_cl_msg(p_tcb, p_clcb->clcb_idx, GATT_REQ_EXEC_WRITE, 352 rt = gatt_send_write_msg(p_tcb, p_clcb->clcb_idx, GATT_REQ_PREPARE_WRITE, [all...] |
gatt_api.cc | 686 ret = attp_send_cl_msg(p_clcb->p_tcb, p_clcb->clcb_idx, GATT_REQ_MTU, [all...] |