Re: HoG: Support multi output report

From
Luiz Augusto von Dentz <luiz.dentz@gmail.com>
Date
2014-07-31 08:10:51
Reply to
Murat Kilivan, 2014-07-30
Hi Murat,

On Wed, Jul 30, 2014 at 5:34 PM, Murat Kilivan [off-list ref] wrote:
Hi,

I have a BLE HID device which has 2 output reports and it is discovered properly by BlueZ. However, when I try to send an output report it always calls the first registered report id's handle. It doesn't matter what the first byte is in the message.

How can I send to a different output report?

I can supply any log/debug output if it is needed.
I had the impression that you would have to have another instance to
access the second output but perhaps we should check the report id but
then the question is how do you know what are the available report
ids? We never expose those to uHID so is this supposed to be
hardcoded?

Futhermore the HoG code has been changed in android/hog.c and at some
point it will be moved to src/shared so it can be reused by input
plugin.
Thread (3 messages) 3 messages, 2 authors, last reply 2014-07-31
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help