Skip to content
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

Multiple ESP32 to the same PC #228

Closed
Roigo21 opened this issue Sep 14, 2024 · 12 comments
Closed

Multiple ESP32 to the same PC #228

Roigo21 opened this issue Sep 14, 2024 · 12 comments

Comments

@Roigo21
Copy link

Roigo21 commented Sep 14, 2024

Hello, i have two ESP32's configured to act as gamepads, but i cant use both at the same time. On one, i only have VID and PID set, but on other i changed every parameter to try to communicate with both, and can only connect the other board if I unpair the first connected.
Those are the parameters I set:
bleGamepadConfig.setSerialNumber("9876543210"); bleGamepadConfig.setModelNumber("123123"); bleGamepadConfig.setHidReportId(12389332); bleGamepadConfig.setPid(0x503); bleGamepadConfig.setVid(0x503); bleGamepadConfig.setHardwareRevision("9876543210"); bleGamepadConfig.setFirmwareRevision("9876543210"); bleGamepadConfig.setSoftwareRevision("9876543210");
This is the error I get (windows 11)
{CA965FF8-01B0-43D8-B850-C8F1ADD29AD1}

@LeeNX
Copy link
Contributor

LeeNX commented Sep 14, 2024

Similar to #225

@Roigo21
Copy link
Author

Roigo21 commented Sep 14, 2024

Similar to #225

Yes i know, but the issue is still open.
I found a workaround: using BLECompositeHID from @Mystfit

https://github.com/Mystfit/ESP32-BLE-CompositeHID
Right now i use BLECompositeHID in one board and BLEGamepad on other, and both connect.

@LeeNX
Copy link
Contributor

LeeNX commented Sep 14, 2024

Opening another issue on the same topic splits the focus of other people keeping an eye on fixes or testing ideas. I am not sure it's helpful.

@Roigo21
Copy link
Author

Roigo21 commented Sep 14, 2024 via email

@LeeNX
Copy link
Contributor

LeeNX commented Sep 15, 2024

No worries, this is how we learn. Happy you here and finding your way.

Close this issue and add any info that might be useful on the first issue #225

Hopefully we track down what is causing this issue and able to resolve the big problem.

@microbmen
Copy link

Something changed on NimBLE-Arduino on version 1.4.2,

bleGamepadConfig.setVid(0xe502);
bleGamepadConfig.setPid(0xabcd);

Doesn't work any longer. No matter what its the same value
VID=0x02e5, PID=0xcdab
even if set to the above or anything else....

when i downgrade to NimBLE-Arduino 1.4.1 this works again.

@OatKungKTZ
Copy link

OatKungKTZ commented Oct 2, 2024

@microbmen
You mean change VID/PID functions not work with NimBLE-Arduino version 1.4.2 but when you downgrade to 1.4.1 it's worked right?

@microbmen
Copy link

@microbmen
You mean change VID/PID functions not work with NimBLE-Arduino version 1.4.2 but when you downgrade to 1.4.1 it's worked right?

Correct

@LeeNX
Copy link
Contributor

LeeNX commented Jan 9, 2025

Can you update and test with ESP32-BLE-Gamepad v0.6.1 and let us know if anything has improved?

@Roigo21
Copy link
Author

Roigo21 commented Jan 9, 2025

I ended up using a fork of this library (i dont remember which) on one board and this lib on another, so the bluetooth id's doesnt interfeer with each other. Worked fine back in the day

@LeeNX
Copy link
Contributor

LeeNX commented Jan 9, 2025

Thanks @Roigo21 , mind closing the issue, unless you wish to do more testing?

@Roigo21
Copy link
Author

Roigo21 commented Jan 9, 2025

Thanks @Roigo21 , mind closing the issue, unless you wish to do more testing?

Yea that was what i was thinking, thanks for the help.

@Roigo21 Roigo21 closed this as completed Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants