Usbhost_t36 is broken for bluetooth xbox one controllers

sanels

Member
Serial console output seen below. The controller works wired but when attempting to use bluetooth it shows joystick1 connects but that's all and after a minute or so disconnects.

Teensy 4.0:
USB Host Testing

960

*** Device Bluet a12:1 - connected ***
manufacturer: Bluetooth v2.0
product: Bluetooth V2.0 Dongle
BDADDR: ec:2a:0:10:1b:0
BluetoothController::find_driver driver 20004a78
*** Claimed ***
*** BTHID Device Joystick1 0:0 - connected ***
manufacturer: 
Serial: �
*** BTHID Device Joystick1 - disconnected ***



Teensy 3.6:
USB Host Testing

960

BluetoothController::find_driver driver 1fff4fd8
*** Claimed ***
*** Device Bluet a12:1 - connected ***
manufacturer: Bluetooth v2.0
product: Bluetooth V2.0 Dongle
BDADDR: ec:2a:0:10:1b:0
*** BTHID Device Joystick1 0:0 - connected ***
manufacturer: uh
Serial: uh
 
Yes we have not yet succeeded in making these work.

It may require more Bluetooth subsystems to be implemented, plus not many other systems have a working version to see what they did.

Hopefully we will try again some time soon!
 
@sanels Thanks for the links -

I will probably continue with discussions about this in the bluetooth thread:
https://forum.pjrc.com/threads/49358-T3-6-USB-Host-Bluetooth

and maybe in the joystick thread:
https://forum.pjrc.com/threads/49099-T3-6-USB-Host-Joysticks

Note: earlier I was looking in the official USB Host Shield 2 code, there is a branch XBOXONES
that I think the last update was about a year ago and comments said something along the line still not working.

So it will be interesting to compare.

Thanks again
 
@KurtE ...
I have a version of the USB Host shield 2 library that works with the T4 - had to modify several files including the avrpins.h file. I can post if you are interested - tested with PS4.

Unfortunately, couldn't get the xbox lib working with the T4 today. Have to do several file compares to see which files i have to change.

This page will probably help with seeing what he did with the library: http://kato-h.cocolog-nifty.com/khweblog/2020/07/post-c93f3c.html. Its in Japanese so you will have to get your browser to translate.

OOPS posted in wrong thread
 
Back
Top