Skip to content

How to listen for HID output reports as a device from the host? #285

@nathanRamaNoodles

Description

@nathanRamaNoodles

Is your feature request related to a problem? Please describe.
How can I listen for a2 reports: HID_MESSAGE_TYPE_DATC_DEPRECATED reports in our own custom packet_handler when they are getting passed into hid_device's own packet_handler.

Describe the solution you'd like
Give a way to listen on hid output reports

Basically, I'm trying to emulate a ps4 controller, but when the host sends an a2 HID output report, I am not able to process it even though I see it coming to me in Wireshark. Maybe there's already a way to do this and I can't see it?

Using the existing hid_gamepad_example from here; I am trying to see the HID output report in L2CAP_DATA_PACKET, but I get nothing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions