Hello,
I'm thinking about building a bluetooth receiver for combat bots that allow cheap bluetooth game controllers to connect to it. My thought is that we could build a generic lib that allows for common robot control input from HID bluetooth devices.
I have no idea where to start but wanted to see if the ESP32 would be a good platform to build this on.
Any ideas or suggestions?
Thanks,
Connect HID devices to ESP32
Re: Connect HID devices to ESP32
With base knowledge about HID report map it should not be hard to write very simple library that will work with one particular device (one model). You just need to write ble client code that will find and connect to controller (joystick or gamepad), find report characteristic and register for notify. There can be few characteristics with the same UUID (report characteristics), but one will have CCC descriptor (for more complicated device its possible to have more report characteristics with CCC descriptor).
From now on you just need to parse value you get from notifications.
From now on you just need to parse value you get from notifications.
Who is online
Users browsing this forum: No registered users and 134 guests