-
-
Notifications
You must be signed in to change notification settings - Fork 64
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
[Bug]: More than three Xboxone handles will cause problems #91
Comments
I can reproduce it as well. It happens with BLE controllers. But works Ok with non-BLE (BR/EDR) controllers. |
After my testing, it should have been due to insufficient resources in the ESP32 hardware, so I eventually replaced it with another chip. |
what do you mean "insufficient resources" ? did you replace it with another esp32 chip ? which one ? |
Pico W had the same issue. |
I want to choose another Bluetooth chip to implement it, but I haven't chosen it yet. |
It should be tested that when connecting to the third one, the data can enter the uni_hid_device_process_controller function, but cannot enter uni_get_platform() ->on_controller_data (d,&d ->controller); This call is very strange. Then an exception is reported when connecting the fourth x1 handle. In summary, it seems that there is an issue with the Bluetooth firmware of ESP32. |
I'll investigate it a bit further... but in the meantime use Pico W (latest |
Ok. Tanks. |
@yythackery wondering why did you close it? did you find how to connect 4 BLE devices in ESP32 ? |
(I'm reopening so that we can keep with the investigation) |
I have chosen another chip. |
@yythackery great. which one? |
esp32 s2 |
@yythackery esp32-s2 doesn't have bluetooth. you mean esp32 s3 ? thanks. |
yes,its s3 |
What happened?
When I am using ESP32 as my platform and simultaneously connecting the fourth Xboxone controller, the program crashes as shown below. And when connecting to the third handle, it shows that the connection is normal, but there is no data given to the callback function my_platform_on_controller_data when operating the third handle.
Bluepad32 Version
latest from develop branch
Bluepad32 version custom
Example: Using Git develop branch commit hash #xxxxxxx
Bluepad32 Platform
ESP-IDF
Platform version
ESP-IDF v5.2.1
Controller
Xbox Wireless (model 1914, 3 buttons)
Microcontroller
ESP32
Microcontroller board
ESP32-WROOM-32
OS
Windows
Relevant log output
Relevant sketch
The text was updated successfully, but these errors were encountered: