Bluetooth HID Host Getting Duplicate Events and Extra Event
Posted: Sun Jan 03, 2021 11:42 pm
Hello! I have connected my Xbox One S controller to the ESP32 via Bluetooth and can see and parse button press and release events. However, it looks like every time I press a button on the controller, it fires three events instead of just one, and occasionally one of the three events is completely different data. Any idea why it's firing three events and what the other data is? Is there any easy way to ignore the last two events?
The picture below shows me pressing a button five times, which changes one value from 00 to 05. In between the second button release and the third button press, it has a bad data event.
And here's a picture with the ESP_HIDH_DEMO's default logging and a couple bad events. This shows it's from the same MAC and same event ID (1).
Finally, here's my connected device info:
Thanks for reading!
The picture below shows me pressing a button five times, which changes one value from 00 to 05. In between the second button release and the third button press, it has a bad data event.
And here's a picture with the ESP_HIDH_DEMO's default logging and a couple bad events. This shows it's from the same MAC and same event ID (1).
Finally, here's my connected device info:
Thanks for reading!