Closed mitchellcairns closed 7 months ago
did you patch BTstack ?
https://github.com/ricardoquesada/bluepad32/tree/main/external/patches
Also, confirm that it doesn't work with the unmodified example.
also confirm that the controller has batteries.. I saw some connection issues when the Xbox controller was low on battery
also confirm that the controller has batteries.. I saw some connection issues when the Xbox controller was low on battery
Batteries are fully charged
did you patch BTstack ?
https://github.com/ricardoquesada/bluepad32/tree/main/external/patches
Also, confirm that it doesn't work with the unmodified example.
With the patch, still the same issue.
from discord discussion, it is working now. closing it.
@mitchellcairns can you post the solution for others to use?
@Invictaz discussion was here:
https://discord.com/channels/775177861665521725/1227319715668688959/1227319724736516097
@mitchellcairns can you post the solution for others to use?
I completely re-set my project, using the example as the base and it compiles now. Another thing I didn't realize is that the PIO1 is used by the bluetooth stack, so I had to move some code to use PIO0.
What happened?
The Xbox One gamepad is using BLE and it's on the latest firmware provided by the Xbox Accessories app. I can never get the connection to complete and reports started up, it hangs at the 'Connection encrypted'. I'm basing my project off of the existing example code, which works great for Switch Pro controller input.
Bluepad32 Version
latest from develop branch
Bluepad32 version custom
Example: Using Git develop branch commit hash #xxxxxxx
Bluepad32 Platform
Pico SDK
Platform version
Pico SDK v1.5.1
Controller
Xbox One (3 button type)
Microcontroller
Pico W
Microcontroller board
Pico-W (official)
OS
Windows
Relevant log output
Relevant sketch
No response