Lines Matching full:report
99 ** Description debug function to print out all HID report available on remote
111 APPL_TRACE_DEBUG0("HID Report DB");
116 p_rpt = &p_cb->hid_srvc[i].report[0];
126 rpt_name = "Report";
451 ** Description find the report entry by service instance and report UUID and
472 p_rpt = &p_cb->hid_srvc[hid_inst_id].report[0];
490 ** Description find a report entry by report ID and protocol mode
509 /* return battery report w/o condition */
527 ** Description find or allocate a report entry in the HID service report list.
546 p_rpt = &p_cb->hid_srvc[hid_inst_id].report[0];
562 /* assign report type */
607 /* find the report reference descriptor */
632 ** Description read report refernece descriptors in service discovery process
646 /* is battery report */
650 APPL_TRACE_DEBUG0("read battery level report reference descriptor");
658 APPL_TRACE_DEBUG0("read HID report reference descriptor");
686 /* if no report reference descriptor */
697 ** Description save report reference information and move to next one.
716 if (p_rpt->rpt_type > BTA_HH_RPTT_FEATURE) /* invalid report type */
720 APPL_TRACE_DEBUG1("report ID: %d", p_rpt->rpt_id);
728 /* read next report reference descriptor */
736 ** Description save report reference information and move to next one.
755 APPL_TRACE_DEBUG1("External Report Reference UUID 0x%04x",
766 ** Description Register for all notifications for the report applicable
775 tBTA_HH_LE_RPT *p_rpt = &p_dev_cb->hid_srvc[srvc_inst].report[0];
802 /* boot mode, deregister report input notification */
808 APPL_TRACE_DEBUG1("---> Deregister Report ID: %d", p_rpt->rpt_id);
817 APPL_TRACE_DEBUG1("<--- Register Boot Report ID: %d", p_rpt->rpt_id);
830 APPL_TRACE_DEBUG1("---> Deregister Boot Report ID: %d", p_rpt->rpt_id);
838 APPL_TRACE_DEBUG1("<--- Register Report ID: %d", p_rpt->rpt_id);
923 ** Description write client configuration. This is only for input report
930 tBTA_HH_LE_RPT *p_rpt = &p_cb->hid_srvc[srvc_inst_id].report[p_cb->clt_cfg_idx];
935 /* enable notification for all input report, regardless mode */
964 /* discover scan parameter profile is act as report host */
984 (mode == BTA_HH_PROTO_RPT_MODE)? "Report": "Boot");
1000 /* if set to report mode, need to de-register all input report notification */
1058 /* no service support protocol_mode, by default report mode */
1073 ** Description explore all report characteristic
1091 APPL_TRACE_ERROR0("Add report entry failed !!!");
1095 APPL_TRACE_DEBUG0("Find more REPORT");
1108 APPL_TRACE_ERROR0("all report searched");
1110 &p_dev_cb->hid_srvc[p_dev_cb->cur_srvc_index].report[0]);
1119 ** Description explore boot report
1132 APPL_TRACE_ERROR0("Add report entry failed !!!");
1235 ** if no cache available, otherwise report connection open completed
1327 /* unbonded device, report security error here */
1476 /* set report notification configuration */
1544 /* close the connection and report service discovery complete with error */
1610 APPL_TRACE_ERROR0("Add battery report entry failed !!!")
1719 /* found boot mode report types */
1743 ** Description save the report map into the control block.
1755 /* save report descriptor */
1785 ** Description Process the Read report complete, send GET_REPORT_EVT to application
1786 ** with the report data.
1823 /* attach report ID as the first byte of the report before sending it to USB HID driver */
1857 /* match up BTE/BTA report/boot mode def*/
1859 /* LE repot mode is the opposite value of BR/EDR report mode, flip it here */
1869 (hs_data.rsp_data.proto_mode == BTA_HH_PROTO_RPT_MODE)? "Report" : "Boot");
1986 /* if a report client configuration */
2007 /* read report reference descriptor for battery level is completed */
2142 /* Set Report finished */
2191 p_dev_cb->hid_srvc[hid_inst_id].report[p_dev_cb->clt_cfg_idx ++].client_cfg_value =
2221 ** Description process the notificaton event, most likely for input report.
2247 APPL_TRACE_ERROR0("notification received for Unknown Report");
2256 APPL_TRACE_ERROR1("Notification received on report ID: %d", p_rpt->rpt_id);
2258 /* need to append report ID to the head of data */
2263 APPL_TRACE_ERROR0("No resources to send report data");
2321 /* Report OPEN fail event */
2385 ** Description GET_REPORT on a LE HID Report
2392 tBTA_HH_LE_RPT *p_rpt = bta_hh_le_find_rpt_by_idtype(p_cb->hid_srvc[srvc_inst].report, p_cb->mode, r_type, rpt_id);
2398 APPL_TRACE_ERROR0("bta_hh_le_get_rpt: no matching report");
2418 ** Description SET_REPORT/or DATA output on a LE HID Report
2438 /* strip report ID from the data */
2443 p_rpt = bta_hh_le_find_rpt_by_idtype(p_cb->hid_srvc[srvc_inst].report, p_cb->mode, r_type, rpt_id);
2447 APPL_TRACE_ERROR0("bta_hh_le_write_rpt: no matching report");
2534 case HID_TRANS_DATA: /* output report */
2815 ** Description a test command to read report descriptor client configuration
2835 p_rpt = bta_hh_le_find_rpt_by_idtype(p_cb->hid_srvc[BTA_HH_LE_SRVC_DEF].report, p_cb->mode, BTA_HH_RPTT_INPUT, rpt_id);
2839 APPL_TRACE_ERROR0("bta_hh_le_write_rpt: no matching report");
2858 ** Description discovery scan parameter service if act as report host, otherwise