/system/bt/stack/srvc/ |
D | srvc_eng.c | 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() [all …]
|
D | srvc_battery_int.h | 72 extern UINT8 battery_s_write_attr_value(UINT8 clcb_idx, tGATT_WRITE_REQ * p_value, 74 extern UINT8 battery_s_read_attr_value (UINT8 clcb_idx, UINT16 handle, tGATT_VALUE *p_value, BOOLEA…
|
D | srvc_battery.c | 70 UINT8 battery_s_write_attr_value(UINT8 clcb_idx, tGATT_WRITE_REQ * p_value, in battery_s_write_attr_value() argument 85 memcpy(cfg.remote_bda, srvc_eng_cb.clcb[clcb_idx].bda, BD_ADDR_LEN); in battery_s_write_attr_value() 90 p_inst->pending_clcb_idx = clcb_idx; in battery_s_write_attr_value() 112 UINT8 battery_s_read_attr_value (UINT8 clcb_idx, UINT16 handle, tGATT_VALUE *p_value, BOOLEAN is_lo… in battery_s_read_attr_value() argument 138 p_inst->pending_clcb_idx = clcb_idx; in battery_s_read_attr_value()
|
D | srvc_dis_int.h | 68 extern UINT8 dis_read_attr_value (UINT8 clcb_idx, UINT16 handle, tGATT_VALUE *p_value,
|
D | srvc_eng_int.h | 81 extern void srvc_sr_rsp(UINT8 clcb_idx, tGATT_STATUS st, tGATTS_RSP *p_rsp);
|
D | srvc_dis.c | 114 UINT8 dis_read_attr_value (UINT8 clcb_idx, UINT16 handle, tGATT_VALUE *p_value, in dis_read_attr_value() argument 122 UNUSED(clcb_idx); in dis_read_attr_value()
|
/system/bt/stack/gatt/ |
D | att_protocol.c | 453 tGATT_STATUS attp_cl_send_cmd(tGATT_TCB *p_tcb, UINT16 clcb_idx, UINT8 cmd_code, BT_HDR *p_cmd) in attp_cl_send_cmd() argument 471 gatt_start_rsp_timer (clcb_idx); in attp_cl_send_cmd() 472 gatt_cmd_enq(p_tcb, clcb_idx, FALSE, cmd_code, NULL); in attp_cl_send_cmd() 481 gatt_cmd_enq(p_tcb, clcb_idx, TRUE, cmd_code, p_cmd); in attp_cl_send_cmd() 505 tGATT_STATUS attp_send_cl_msg (tGATT_TCB *p_tcb, UINT16 clcb_idx, UINT8 op_code, tGATT_CL_MSG *p_ms… in attp_send_cl_msg() argument 596 status = attp_cl_send_cmd(p_tcb, clcb_idx, op_code, p_cmd); in attp_send_cl_msg()
|
D | gatt_int.h | 267 UINT16 clcb_idx; member 401 UINT16 clcb_idx; member 425 UINT16 clcb_idx; member 554 extern tGATT_STATUS attp_send_cl_msg (tGATT_TCB *p_tcb, UINT16 clcb_idx, UINT8 op_code, tGATT_CL_MS… 567 extern void gatt_start_rsp_timer(UINT16 clcb_idx); 652 extern UINT8 gatt_send_write_msg(tGATT_TCB *p_tcb, UINT16 clcb_idx, UINT8 op_code, UINT16 handle, 663 extern BOOLEAN gatt_cmd_enq(tGATT_TCB *p_tcb, UINT16 clcb_idx, BOOLEAN to_send, UINT8 op_code, BT_H…
|
D | gatt_cl.c | 117 st = attp_send_cl_msg(p_clcb->p_tcb, p_clcb->clcb_idx, op_code, &cl_req); in gatt_act_discovery() 208 rt = attp_send_cl_msg(p_tcb, p_clcb->clcb_idx, op_code, &msg); in gatt_act_read() 239 p_clcb->clcb_idx, in gatt_act_write() 253 p_clcb->clcb_idx, in gatt_act_write() 304 rt = attp_send_cl_msg(p_tcb, p_clcb->clcb_idx, GATT_REQ_EXEC_WRITE, (tGATT_CL_MSG *)&flag); in gatt_send_queue_write_cancel() 387 p_clcb->clcb_idx, in gatt_send_prepare_write() 1127 gatt_start_rsp_timer (p_cmd->clcb_idx); in gatt_cl_send_next_cmd_inq()
|
D | gatt_utils.c | 1201 void gatt_start_rsp_timer(UINT16 clcb_idx) in gatt_start_rsp_timer() argument 1203 tGATT_CLCB *p_clcb = &gatt_cb.clcb[clcb_idx]; in gatt_start_rsp_timer() 1690 p_clcb->clcb_idx = i; in gatt_clcb_alloc() 2068 BOOLEAN gatt_cmd_enq(tGATT_TCB *p_tcb, UINT16 clcb_idx, BOOLEAN to_send, UINT8 op_code, BT_HDR *p_b… in gatt_cmd_enq() argument 2075 p_cmd->clcb_idx = clcb_idx; in gatt_cmd_enq() 2104 p_clcb = &gatt_cb.clcb[p_cmd->clcb_idx]; in gatt_cmd_dequeue() 2124 UINT8 gatt_send_write_msg (tGATT_TCB *p_tcb, UINT16 clcb_idx, UINT8 op_code, in gatt_send_write_msg() argument 2137 return attp_send_cl_msg(p_tcb, clcb_idx, op_code, &msg); in gatt_send_write_msg() 2272 … GATT_TRACE_DEBUG ("found p_clcb conn_id=%d clcb_idx=%d", p_clcb->conn_id, p_clcb->clcb_idx); in gatt_cleanup_upon_disc()
|
D | gatt_api.c | 806 … ret = attp_send_cl_msg (p_clcb->p_tcb, p_clcb->clcb_idx, GATT_REQ_MTU, (tGATT_CL_MSG *)&mtu); in GATTC_ConfigureMTU()
|