Lines Matching refs:hid_srvc
255 if (!p_cb->hid_srvc.in_use)
258 tBTA_HH_LE_RPT *p_rpt = &p_cb->hid_srvc.report[0];
500 if (p_cb->hid_srvc.in_use &&
501 p_cb->hid_srvc.incl_srvc_inst == ba_inst_id)
503 return p_cb->hid_srvc.srvc_inst_id;
533 p_rpt = &p_cb->hid_srvc.report[0];
609 p_rpt = &p_cb->hid_srvc.report[0];
762 STREAM_TO_UINT16(p_dev_cb->hid_srvc.ext_rpt_ref, pp);
766 p_dev_cb->hid_srvc.ext_rpt_ref);
783 tBTA_HH_LE_RPT *p_rpt = &p_dev_cb->hid_srvc.report[0];
852 tBTA_HH_LE_RPT *p_rpt = &p_dev_cb->hid_srvc.report[0];
940 tBTA_HH_LE_RPT *p_rpt = &p_cb->hid_srvc.report[p_cb->clt_cfg_idx];
985 if (p_cb->hid_srvc.proto_mode_handle == 0)
1010 gatt_queue_write_op(GATT_WRITE_CHAR, p_cb->conn_id, p_cb->hid_srvc.proto_mode_handle, 1,
1030 if (p_cb->hid_srvc.in_use && p_cb->hid_srvc.proto_mode_handle != 0) {
1031 gatt_queue_read_op(GATT_READ_CHAR, p_cb->conn_id, p_cb->hid_srvc.proto_mode_handle);
1160 if (!p_cb->hid_srvc.in_use)
1174 if (p_cb->app_id != 0 && p_cb->hid_srvc.in_use)
1231 tBTA_HH_LE_HID_SRVC *p_hid_srvc = &p_cb->hid_srvc;
1399 bta_hh_le_write_rpt_clt_cfg(p_cb, p_cb->hid_srvc.srvc_inst_id);
1422 p_dev_cb->hid_srvc.incl_srvc_inst = incl_svc->handle;
1473 p_dev_cb->hid_srvc.control_point_handle = p_char->handle;
1486 p_dev_cb->hid_srvc.srvc_inst_id,
1526 p_dev_cb->hid_srvc.proto_mode_handle = p_char->handle;
1570 p_dev_cb->hid_srvc.in_use = TRUE;
1571 p_dev_cb->hid_srvc.srvc_inst_id = service->handle;
1572 p_dev_cb->hid_srvc.proto_mode_handle = 0;
1573 p_dev_cb->hid_srvc.control_point_handle = 0;
1578 APPL_TRACE_DEBUG("%s: have HID service inst_id= %d", __func__, p_dev_cb->hid_srvc.srvc_inst_id);
1631 p_dev_cb->hid_srvc.expl_incl_srvc = TRUE;
1646 tBTA_HH_LE_HID_SRVC *p_srvc = &p_dev_cb->hid_srvc;
1658 p_srvc->descriptor.dsc_list = p_dev_cb->hid_srvc.rpt_map;
2101 p_dev_cb->hid_srvc.report[p_dev_cb->clt_cfg_idx].client_cfg_value =
2156 p_dev_cb->hid_srvc.srvc_inst_id,
2309 tBTA_HH_LE_RPT *p_rpt = bta_hh_le_find_rpt_by_idtype(p_cb->hid_srvc.report, p_cb->mode, r_type, rpt_id);
2347 p_rpt = bta_hh_le_find_rpt_by_idtype(p_cb->hid_srvc.report, p_cb->mode, r_type, rpt_id);
2381 gatt_queue_write_op(GATT_WRITE_CHAR, p_cb->conn_id, p_cb->hid_srvc.control_point_handle, 1,
2456 if (p_cb->hid_srvc.in_use)
2458 p_cb->dscp_info.descriptor.dl_len = p_cb->hid_srvc.descriptor.dl_len;
2459 p_cb->dscp_info.descriptor.dsc_list = p_cb->hid_srvc.descriptor.dsc_list;
2703 p_rpt = bta_hh_le_find_rpt_by_idtype(p_cb->hid_srvc.report, p_cb->mode, BTA_HH_RPTT_INPUT, rpt_id);
2792 // p_cb->hid_srvc.in_use = TRUE;
2795 // p_cb->hid_srvc.descriptor.dl_len =
2797 // p_cb->hid_srvc.descriptor.dsc_list =