Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 5 of 5

Thread: Usbhost_t36 is broken for bluetooth xbox one controllers

  1. #1
    Junior Member
    Join Date
    Jun 2015
    Posts
    4

    Usbhost_t36 is broken for bluetooth xbox one controllers

    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

  2. #2
    Senior Member+ KurtE's Avatar
    Join Date
    Jan 2014
    Posts
    7,699
    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!

  3. #3
    Junior Member
    Join Date
    Jun 2015
    Posts
    4
    This person has a working example using usb host shield. I've got it setup myself with a teensy 3.2 with a host shield and working with the controller but want to avoid the extra hardware. Since it's all open source it should contain the information needed to implement it on the teensy usb host I would imagine.

    https://www.youtube.com/watch?v=l7_aBSEitVA

    https://github.com/HisashiKato/USB_H...ary_2.0_BTXBOX

  4. #4
    Senior Member+ KurtE's Avatar
    Join Date
    Jan 2014
    Posts
    7,699
    @sanels Thanks for the links -

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

    and maybe in the joystick thread:
    https://forum.pjrc.com/threads/49099...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

  5. #5
    Senior Member+ mjs513's Avatar
    Join Date
    Jul 2014
    Location
    New York
    Posts
    5,650
    @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/khwe...st-c93f3c.html. Its in Japanese so you will have to get your browser to translate.

    OOPS posted in wrong thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •