Option to send data report through BTA_HhSetReport
Drivers may send SET_FEATURE_REPORT by using type UHID_OUTPUT and output.rtype UHID_FEATURE_REPORT, or send OUTPUT_DATA_REPORT by using type UHID_OUTPUT and output.rtype UHID_OUTPUT_REPORT. For type UHID_OUTPUT, the Fluoride stack calls btif_hh_setreport() which then calls BTA_HhSetReport() correspondingly. Hence it is necessary for BTA_HhSetReport() to handle both the output.type UHID_FEATURE_REPORT (BTA_HH_RPTT_FEATURE) and UHID_DATA_REPORT (BTA_HH_RPTT_OUTPUT). Test: No stand-alone test. Bug: 38511270 Change-Id: I210f6338d3152dad100920dc8a1eb69b563b70ae
Loading
Please register or sign in to comment