sendReport method problem
SendReport parameters have to be two? Like this selectedDevice.sendReport(reportId, reportData);
Yes, there are two parameters to sendReport. The first parameter is the report ID, pass zero if the device does not use numbered reports. reportData contains the report data without the report ID byte.
What's the problem?
Can carry multiple arguments
Want to carry multiple parameters can achieve?
Could you please elaborate an example how you wish sendReport to look like?
For example: sendReport (args1 args2, data, length, end), custom and so on parameters, without limiting the number
I don't understand how adding parameters would be useful.
What are args1 and args2 used for? If you're trying to send data to the device, it needs to be inside the reportData parameter which needs to follow the report layout defined in the device's report descriptor.
What are data, length, and end used for? There's already a reportData parameter which is a DataView so it already includes the extent.
Can you tell us more about the problem you're having that caused you to file this feature request?