-
Notifications
You must be signed in to change notification settings - Fork 779
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Help refactoring code to support native bluetooth on ESP32 boards #572
Comments
Also something I would be interested in. Have recently bought an ESP32 for it's built in Wifi and BT specifically for a Mod using game controllers. Am not exactly proficient at C yet so wouldn't want to offer my services specifically for this. I have found this: https://gitlab.com/ricardoquesada/bluepad32 which may be helpful for you, but am struggling to apply (compile) it myself. Am waiting on a new delivery of ESP32 boards as I fear I have fried my last one :) |
Would be cool. I might do it at some point, but won't promise anything. |
This really would be an awesome feature. Especially for those using an ESP32 (just like me). :) |
Was looking for this, but I guess i'll have to use another library for now. Would it be possible/desirable to add a small shim in between? Perhaps using the BTD as an interface for it? This probably would not need any refactoring. Just an extra implementation of BTD? Adapted the example with some pseudo-code to explain. //USB Usb;
//BTD Btd(&Usb);
BTD Btd = ESP32BT(); // something like this?
PS5BT PS5(&Btd, PAIR); I haven't coded C in over a decade. How much of a lift would this be? Possible? |
@vlinder yes it's differently possible, but would require quite a bit of work. |
This library is exceptional for using bluetooth dongles with the USB shield, but there are other ways to get bluetooth functionality with an Arduino. ESP32 boards have it built in, for example.
The BT HID libraries would be excellent if they could be abstracted away from their dependency on the USB side of things. Is anyone able to help me fork and refactor the BT libraries to make them work without the USB Host Shield?
The text was updated successfully, but these errors were encountered: