Forum Rule: Always post complete source code & details to reproduce any issue!
Page 31 of 31 FirstFirst ... 21 29 30 31
Results 751 to 771 of 771

Thread: T3.6 USB Host - Bluetooth

  1. #751
    Senior Member+ KurtE's Avatar
    Join Date
    Jan 2014
    Posts
    6,893
    @mjs513 - Yep I was going to look at that sort of next.

    I Was also thinking of updating the buttons processing and reverse the bytes, to make them a little more compatible with for example XBox One when plugged in...

    But sort of interesting on labels on Joysticks
    Click image for larger version. 

Name:	IMG_0264.jpg 
Views:	2 
Size:	100.9 KB 
ID:	20687
    You will notice that the Switch changed what button is X, Y, A, B versus the XBox One and XBox 360.

    But I was noticing that pressing the buttons, the bytes are mostly reversed here.
    That is O(XBOX ONE) S(SWITCH)
    Hex...
    O-X 80 S-Y 8000
    A 20 B 2000
    ..

    L3 4000 400 I think these are off
    R3

    Hat: ...

    So will swap bytes in button field and see how that feels.

  2. #752
    Senior Member+ KurtE's Avatar
    Join Date
    Jan 2014
    Posts
    6,893
    Quick update - from linux box

    Here is some of the data about the SWITCH controller:
    Code:
    $ lsusb -v -d 45e:028e
    
    Bus 003 Device 006: ID 045e:028e Microsoft Corp. Xbox360 Controller
    Couldn't open device, some information will be missing
    Device Descriptor:
      bLength                18
      bDescriptorType         1
      bcdUSB               1.10
      bDeviceClass          255 Vendor Specific Class
      bDeviceSubClass       255 Vendor Specific Subclass
      bDeviceProtocol       255 Vendor Specific Protocol
      bMaxPacketSize0        64
      idVendor           0x045e Microsoft Corp.
      idProduct          0x028e Xbox360 Controller
      bcdDevice            1.10
      iManufacturer           1 
      iProduct                2 
      iSerial                 3 
      bNumConfigurations      1
      Configuration Descriptor:
        bLength                 9
        bDescriptorType         2
        wTotalLength           48
        bNumInterfaces          1
        bConfigurationValue     1
        iConfiguration          0 
        bmAttributes         0x80
          (Bus Powered)
        MaxPower              500mA
        Interface Descriptor:
          bLength                 9
          bDescriptorType         4
          bInterfaceNumber        0
          bAlternateSetting       0
          bNumEndpoints           2
          bInterfaceClass       255 Vendor Specific Class
          bInterfaceSubClass     93 
          bInterfaceProtocol      1 
          iInterface              0 
          ** UNRECOGNIZED:  10 21 10 01 01 24 81 14 03 00 03 13 02 00 03 00
          Endpoint Descriptor:
            bLength                 7
            bDescriptorType         5
            bEndpointAddress     0x81  EP 1 IN
            bmAttributes            3
              Transfer Type            Interrupt
              Synch Type               None
              Usage Type               Data
            wMaxPacketSize     0x0020  1x 32 bytes
            bInterval               8
          Endpoint Descriptor:
            bLength                 7
            bDescriptorType         5
            bEndpointAddress     0x02  EP 2 OUT
            bmAttributes            3
              Transfer Type            Interrupt
              Synch Type               None
              Usage Type               Data
            wMaxPacketSize     0x0020  1x 32 bytes
            bInterval               8
    
    </pre>
    Note: again like XBox... Not a HID device

  3. #753
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    11,764
    Have worked here testing what was working - but never looked at the code. Lots of changes evolving support for Xbox[1,2,3] and PS[x,y,z] - too much to put in short release TD1.53 - but as soon as it goes in to TD it will get outdated or need custom hacks to work with device X+1?

    Is there a way [i.e. total rewrite?] to have CORE USB_Host included and at build time link in added functionality/support for Device X+1 and of course Y and Z from user code or 'daughter' libraries?

    Is device detection list driven or all bunched up some 'static' core code.

    Gotta run - just thought I'd liven up the discussion

  4. #754
    Senior Member+ KurtE's Avatar
    Join Date
    Jan 2014
    Posts
    6,893
    Good morning @defragster -

    Actually most all of the changes for XBox and PS3 were reasonably long ago... Currently the only changes pending are
    associated with Bluetooth, where before I had a single set of variables associated with the connection information between an active paired device and the Bluetooth object,
    I instead made those into an array of values as to allow multiple devices to use the Bluetooth object at the same time.

    Example: I have had a Bluetooth keyboard and a Bluetooth Mouse working at the same time, just like I have currently working on my PC....

    But I totally understand not pulling that in until after this next release... So there are a few changes on that branch on trying to get the Nintendo Switch controller to work.


    Yes - There are complications with trying to support all of these devices at the same time.

    You already have the choice in your sketch to have your own device objects, that like some of our higher level objects like Joystick, Mouse, Keyboard, are derived from the building blocks, like the low level device, or HID device, or BlueTooth HID device...

    And yes you can maybe make that code easier, if you restrict it to a specific piece of hardware.

    This is sort of what the USB Host Shield code does, where for example your sketch has to decide which actual device you are using and how it is connected. Example instead of saying I want a joystick. You instead say I want a USB PS3 or a Bluetooth PS3 or USB PS4... Which can work well, but I personally prefer saying I want a joystick... And then adapt to which one that is plugged in.

    Also you run into the issues, like with Bluetooth, where PS3 did not follow the BT standards and did not properly work on most systems. Which is why there are several drivers for systems out there to support it. Then later hacks were added into many/most Bluetooth drivers to handle them.

    And yes we can probably greatly enhance this system, by having a better understanding of the many different Bluetooth subsystems and standards and using them to properly talk to and pair with devices. A lot of the current code was done by reverse engineering several of the devices until they worked... But there are still several that don't, Example with XBox One is using a different section for pairing than we have implemented yet. Likewise for my Microsoft Sculpt Mouse, which also communicates at the 480mhz I think so I can not capture their communications.

    But I would suggest that we do some major rework of the Bluetooth as I don't like how I setup the constructor for pairing or not pairing, like the host shield code did, but would rather have the ability for UI to decide to go into pairing mode or not. Plus a better understanding of the different pairing steps that we should take.

    But in the mean time one can reduce it down to building blocks you wish to use. By simply implementing your own top blocks

    Sorry I know the above is clear as mud!

    Kurt

  5. #755
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    11,764
    Hello @KurtE!

    'Clear as mud' makes sense since I just threw 'a handful of mud' without knowing of which I spoke

    Again just walking behind the changes for devices I got without taking time to understand the nature of the code or the tweeks involved to recognize/respond to and get a device online I was just wondering if the 'getting a unique device online' and programming the response were removed from the core - perhaps it is all in the examples - it seemed the that updating the core wouldn't be such a problem if only the example code per device needed changed or replicated.

    So it seems the changes are in the direction of just having the core Host code just be robust enough to support the variety of devices and their presentation across the breadth of the USB spec as (ab)used by device makers ... HID, Bt HID, RAWHid, wired, wireless Bt ...

    Have also never used a " USB Host Shield " to know how it works better or differently - though see it pop up in posts for detection in how to emulate the behavior/abilities it has on Teensy. Not even sure if that is from long developed software or native hardware abilities.

    Until I get around to needing it personally ... keep up the good work.

  6. #756
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    11,764
    I bought this $20 Techkey USB Mini Bluetooth 5.0 EDR Dongle.

    Powering up the working and known CSR dongle gave this debug text and (not shown) it paired/connected MSFT Bt mouse - then disconnected/unplugged: BT CSR WORKS.txt

    Powering up the new TechKey dongle gave this debug text and no notes to connect MSFT Bt mouse - then unplugged: TechKey_Bt_Fails.txt

    Doing a DIFF on the two - it isn't clear where the issue is as - except for small digits diffs - they mostly seems to get the same recognition.

    Where would I being to get Pairing to function? Are the small digit diffs showing the command they respond to?

  7. #757
    Senior Member+ mjs513's Avatar
    Join Date
    Jul 2014
    Location
    New York
    Posts
    5,323
    @defragster Good Morning:

    May be the dongle itself. Reading the debug looks like it recognizes the dongle:
    Code:
    *** Device Bluet bda:8771 - connected ***
      manufacturer: Realtek
      product: Bluetooth Radio
      Serial: 00E04C239987
    but i know this is a dump question but are you using the BT mouse example. Haven't really played with mice always focused on joysticks but noticed this:
    Code:
    USBHub claim_device this=20005040
    USBHub memory usage = 960
    USBHub claim_device this=20004040
    KeyboardController claim this=20003AE0
    KeyboardController claim this=20003D80
    HIDParser claim this=20006120
    HIDParser claim this=20004400
    HIDParser claim this=20004A20
    HIDParser claim this=20006740
    HIDParser claim this=20005400
    JoystickController claim this=20006EE0
    BluetoothController claim this=20005A80
    BluetoothController, rxep=1(16), txep=2(64)
    Don't see mouse listed anywhere? Have to see if i can dig one up.

  8. #758
    Senior Member+ KurtE's Avatar
    Join Date
    Jan 2014
    Posts
    6,893
    Microsoft Mouse... Depends on which one... Also as mentioned I did not see any mention of Mouse. So make sure example has a mouse object in it. Also probably need to make sure the Bluetooth object is the one with the pairing stuff enabled.

    I have another Microsoft Mouse (Surface Arc), that I have not been successful in using. As it requires more of subsystems than we have partial implementations for.

  9. #759
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    11,764
    Yes noted about the mouse came online with CSR - but didn't include that to minimize the diff.

    OPPPS - the mouse was LOGITECH M557!

    Just powered MSFT mouse (unlabeled? Sculpt?) worked before and now on CSR noted below - and ignored on TechKey.

    Sketch: ...\hardware\teensy\avr\libraries\USBHost_t36\exam ples\Bluetooth\MouseBT\MouseBT.ino

    Here is debug startup on CSR where mouse then recognized and reports when I set it down.
    At the same point the TechKey looked to be online - there was Debug silence when the mouse asked to pair:
    Code:
    USB Host Testing
    960
    USB2 PLL running
     reset waited 6
    USBHS_ASYNCLISTADDR = 0
    USBHS_PERIODICLISTBASE = 20008000
    periodictable = 20008000
    port change: 10001803
        connect
      begin reset
    port change: 10001805
      port enabled
      end recovery
    new_Device: 12 Mbit/sec
    new_Pipe
    enumeration:
    enumeration:
    enumeration:
    Device Descriptor:
      12 01 00 02 E0 01 01 40 12 0A 01 00 91 88 00 02 00 01 
        VendorID = 0A12, ProductID = 0001, Version = 8891
        Class/Subclass/Protocol = 224 / 1 / 1
        Number of Configurations = 1
    enumeration:
    enumeration:
    Product: CSR8510 A10
    enumeration:
    Config data length = 177
    enumeration:
    Configuration Descriptor:
      09 02 B1 00 02 01 00 E0 32 
        NumInterfaces = 2
        ConfigurationValue = 1
      09 04 00 00 03 E0 01 01 00 
        Interface = 0
        Number of endpoints = 3
        Class/Subclass/Protocol = 224 / 1 / 1
      07 05 81 03 10 00 01 
        Endpoint = 1 IN
        Type = Interrupt
        Max Size = 16
        Polling Interval = 1
      07 05 02 02 40 00 01 
        Endpoint = 2 OUT
        Type = Bulk
        Max Size = 64
        Polling Interval = 1
      07 05 82 02 40 00 01 
        Endpoint = 2 IN
        Type = Bulk
        Max Size = 64
        Polling Interval = 1
      09 04 01 00 02 E0 01 01 00 
        Interface = 1
        Number of endpoints = 2
        Class/Subclass/Protocol = 224 / 1 / 1
      07 05 03 01 00 00 01 
        Endpoint = 3 OUT
        Type = Isochronous
        Max Size = 0
        Polling Interval = 1
      07 05 83 01 00 00 01 
        Endpoint = 3 IN
        Type = Isochronous
        Max Size = 0
        Polling Interval = 1
      09 04 01 01 02 E0 01 01 00 
        Interface = 1
        Number of endpoints = 2
        Class/Subclass/Protocol = 224 / 1 / 1
      07 05 03 01 09 00 01 
        Endpoint = 3 OUT
        Type = Isochronous
        Max Size = 9
        Polling Interval = 1
      07 05 83 01 09 00 01 
        Endpoint = 3 IN
        Type = Isochronous
        Max Size = 9
        Polling Interval = 1
      09 04 01 02 02 E0 01 01 00 
        Interface = 1
        Number of endpoints = 2
        Class/Subclass/Protocol = 224 / 1 / 1
      07 05 03 01 11 00 01 
        Endpoint = 3 OUT
        Type = Isochronous
        Max Size = 17
        Polling Interval = 1
      07 05 83 01 11 00 01 
        Endpoint = 3 IN
        Type = Isochronous
        Max Size = 17
        Polling Interval = 1
      09 04 01 03 02 E0 01 01 00 
        Interface = 1
        Number of endpoints = 2
        Class/Subclass/Protocol = 224 / 1 / 1
      07 05 03 01 19 00 01 
        Endpoint = 3 OUT
        Type = Isochronous
        Max Size = 25
        Polling Interval = 1
      07 05 83 01 19 00 01 
        Endpoint = 3 IN
        Type = Isochronous
        Max Size = 25
        Polling Interval = 1
      09 04 01 04 02 E0 01 01 00 
        Interface = 1
        Number of endpoints = 2
        Class/Subclass/Protocol = 224 / 1 / 1
      07 05 03 01 21 00 01 
        Endpoint = 3 OUT
        Type = Isochronous
        Max Size = 33
        Polling Interval = 1
      07 05 83 01 21 00 01 
        Endpoint = 3 IN
        Type = Isochronous
        Max Size = 33
        Polling Interval = 1
      09 04 01 05 02 E0 01 01 00 
        Interface = 1
        Number of endpoints = 2
        Class/Subclass/Protocol = 224 / 1 / 1
      07 05 03 01 31 00 01 
        Endpoint = 3 OUT
        Type = Isochronous
        Max Size = 49
        Polling Interval = 1
      07 05 83 01 31 00 01 
        Endpoint = 3 IN
        Type = Isochronous
        Max Size = 49
        Polling Interval = 1
    enumeration:
    USBHub memory usage = 960
    USBHub claim_device this=20005040
    USBHub memory usage = 960
    USBHub claim_device this=20004040
    KeyboardController claim this=20003AE0
    KeyboardController claim this=20003D80
    HIDParser claim this=20006120
    HIDParser claim this=20004400
    HIDParser claim this=20004A20
    HIDParser claim this=20006740
    HIDParser claim this=20005400
    JoystickController claim this=20006EE0
    BluetoothController claim this=20005A80
    BluetoothController, rxep=1(16), txep=2(64)
    new_Pipe
    allocate_interrupt_pipe_bandwidth
     best_bandwidth = 3, at offset = 0, shift= 0
    new_Pipe
    allocate_interrupt_pipe_bandwidth
     best_bandwidth = 6, at offset = 0, shift= 1
    new_Pipe
    *** Device Bluet a12:1 - connected ***
      product: CSR8510 A10
        control callback (bluetooth) 1
    0E 04 01 03 0C 00 
        control callback (bluetooth) 3
    0E 04 01 24 0C 00 
        control callback (bluetooth) 4
    0E 0A 01 09 10 00 11 71 DA 7D 1A 00 
        control callback (bluetooth) 4
    0E 0C 01 01 10 00 06 BB 22 06 0A 00 BB 22 
        control callback (bluetooth) 6
    0E 04 01 45 0C 00 
        control callback (bluetooth) 7
    0E 04 01 01 0C 00 
        control callback (bluetooth) 8
    0F 04 00 01 01 04 
    22 0F 01 1E E3 A9 5D 88 34 01 02 80 25 00 A3 66 
    D9 
    BluetoothController::find_driver  driver 20003af8
    Keyboard Controller::claim_bluetooth - Class 2580
      driver 20003d98
    Keyboard Controller::claim_bluetooth - Class 2580
      driver 20005a2c
    MouseController Controller::claim_bluetooth - Class 2580
    MouseController::claim_bluetooth TRUE
        *** Claimed ***
        control callback (bluetooth) 64
    0E 04 01 02 04 00 
        control callback (bluetooth) 65
    0F 04 00 01 05 04 
    03 0B 00 48 00 1E E3 A9 5D 88 34 01 00 
        control callback (bluetooth) 6E
    0F 04 00 01 11 04 
    17 06 1E E3 A9 5D 88 34 
        control callback (bluetooth) 78
    0E 0A 01 0C 04 00 1E E3 A9 5D 88 34 
    16 06 1E E3 A9 5D 88 34 
        control callback (bluetooth) 82
    0E 0A 01 0D 04 00 1E E3 A9 5D 88 34 
    18 17 1E E3 A9 5D 88 34 18 85 40 EF 8F 46 F9 E6 
    8F 17 89 6C D1 59 3F 5F 00 
    06 03 00 48 00 
        tx_data(bluetooth) 82
    13 05 01 48 00 01 00 
        tx_data(bluetooth) 82
        tx_data(bluetooth) 82
    13 05 01 48 00 01 00 
    13 05 01 48 00 01 00 
        tx_data(bluetooth) 82
        tx_data(bluetooth) 82
    13 05 01 48 00 01 00 
    13 05 01 48 00 01 00 
        tx_data(bluetooth) 82
        tx_data(bluetooth) 82
    13 05 01 48 00 01 00 
    13 05 01 48 00 01 00 
        control callback (bluetooth) 82
    0E 04 01 1A 0C 00 
    MouseController::process_bluetooth_HID_data 20
      Mouse Data: 11 FF 09 00 5A 46 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
    MouseController::process_bluetooth_HID_data 5
      Mouse Data: 02 00 00 FE 00 
    Mouse: buttons = 0,  mouseX = 0,  mouseY = -2,  wheel = 0,  wheelH = 0
    MouseController::process_bluetooth_HID_data 5
      Mouse Data: 02 00 FF FF 00 
    Mouse: buttons = 0,  mouseX = -1,  mouseY = -1,  wheel = 0,  wheelH = 0
    MouseController::process_bluetooth_HID_data 5
      Mouse Data: 02 00 FF FF 00 
    Mouse: buttons = 0,  mouseX = -1,  mouseY = -1,  wheel = 0,  wheelH = 0
    MouseController::process_bluetooth_HID_data 5
      Mouse Data: 02 00 FF 00 00 
    Mouse: buttons = 0,  mouseX = -1,  mouseY = 0,  wheel = 0,  wheelH = 0
    MouseController::process_bluetooth_HID_data 5
      Mouse Data: 02 00 FF FF 00 
    Mouse: buttons = 0,  mouseX = -1,  mouseY = -1,  wheel = 0,  wheelH = 0
    MouseController::process_bluetooth_HID_data 5
      Mouse Data: 02 00 FE 00 00 
    Mouse: buttons = 0,  mouseX = -2,  mouseY = 0,  wheel = 0,  wheelH = 0
    MouseController::process_bluetooth_HID_data 5
      Mouse Data: 02 00 FF 00 00 
    Mouse: buttons = 0,  mouseX = -1,  mouseY = 0,  wheel = 0,  wheelH = 0
    MouseController::process_bluetooth_HID_data 5
      Mouse Data: 02 00 FF FF 00 
    Mouse: buttons = 0,  mouseX = -1,  mouseY = -1,  wheel = 0,  wheelH = 0
    Another device on CSR - that Rii keyboard mouse - doesn't do mouse after claimed - but it powers up with this:
    Code:
    BluetoothController::find_driver  driver 20003af8
    Keyboard Controller::claim_bluetooth - Class 2540
    KeyboardController::claim_bluetooth TRUE
        *** Claimed ***
        control callback (bluetooth) 64
    0E 04 01 02 04 00 
        control callback (bluetooth) 65
    0F 04 00 01 05 04 
    03 0B 00 48 00 7C 85 28 0A C5 CC 01 00 
        control callback (bluetooth) 6E
    1B 03 48 00 05 
    0F 04 00 00 11 04 
    17 06 7C 85 28 0A C5 CC 
    0F 04 00 01 00 00 
        control callback (bluetooth) 78
    0E 0A 01 0C 04 00 7C 85 28 0A C5 CC 
    16 06 7C 85 28 0A C5 CC 
        control callback (bluetooth) 82
    0E 0A 01 0D 04 00 7C 85 28 0A C5 CC
    And the MSFT Mouse on CSR - silent on TechKey:
    Code:
    22 0F 01 86 13 67 52 1E 7C 01 02 80 25 00 DB 67 
    E2 
    BluetoothController::find_driver  driver 20003af8
    Keyboard Controller::claim_bluetooth - Class 2580
      driver 20003d98
    Keyboard Controller::claim_bluetooth - Class 2580
      driver 20005a2c
    MouseController Controller::claim_bluetooth - Class 2580
    MouseController::claim_bluetooth TRUE
        *** Claimed ***
        control callback (bluetooth) 64
    0E 04 01 02 04 00 
        control callback (bluetooth) 65
    0F 04 00 01 05 04 
    03 0B 00 48 00 86 13 67 52 1E 7C 01 00 
        control callback (bluetooth) 6E
    0F 04 00 01 11 04 
    17 06 86 13 67 52 1E 7C 
        control callback (bluetooth) 78
    0E 0A 01 0C 04 00 86 13 67 52 1E 7C 
    16 06 86 13 67 52 1E 7C 
        control callback (bluetooth) 82
    0E 0A 01 0D 04 00 86 13 67 52 1E 7C 
    18 17 86 13 67 52 1E 7C F9 E3 93 94 E1 00 80 ED 
    F8 E8 A3 05 72 10 BC EC 00 
    06 03 00 48 00 
        tx_data(bluetooth) 82
    13 05 01 48 00 01 00 
        tx_data(bluetooth) 82
        tx_data(bluetooth) 82
    13 05 01 48 00 01 00 
        tx_data(bluetooth) 82
    13 05 01 48 00 01 00 
        tx_data(bluetooth) 82
    13 05 01 48 00 01 00 
    13 05 01 48 00 01 00 
        tx_data(bluetooth) 82
        tx_data(bluetooth) 82
    13 05 01 48 00 01 00 
    13 05 01 48 00 01 00 
        control callback (bluetooth) 82
    0E 04 01 1A 0C 00 
    MouseController::process_bluetooth_HID_data 5
      Mouse Data: 02 00 00 00 00 
    Mouse: buttons = 0,  mouseX = 0,  mouseY = 0,  wheel = 0,  wheelH = 0
    MouseController::process_bluetooth_HID_data 5
      Mouse Data: 02 00 00 00 00 
    Mouse: buttons = 0,  mouseX = 0,  mouseY = 0,  wheel = 0,  wheelH = 0
    MouseController::process_bluetooth_HID_data 5
      Mouse Data: 02 00 00 00 00 
    Mouse: buttons = 0,  mouseX = 0,  mouseY = 0,  wheel = 0,  wheelH = 0
    MouseController::process_bluetooth_HID_data 5
      Mouse Data: 02 00 00 00 00 
    Mouse: buttons = 0,  mouseX = 0,  mouseY = 0,  wheel = 0,  wheelH = 0
    MouseController::process_bluetooth_HID_data 5
      Mouse Data: 02 00 00 00 00 
    Mouse: buttons = 0,  mouseX = 0,  mouseY = 0,  wheel = 0,  wheelH = 0
    MouseController::process_bluetooth_HID_data 5
      Mouse Data: 02 00 00 00 00 
    Mouse: buttons = 0,  mouseX = 0,  mouseY = 0,  wheel = 0,  wheelH = 0
    MouseController::process_bluetooth_HID_data 5
      Mouse Data: 02 00 00 00 00 
    Mouse: buttons = 0,  mouseX = 0,  mouseY = 0,  wheel = 0,  wheelH = 0

  10. #760
    Senior Member+ mjs513's Avatar
    Join Date
    Jul 2014
    Location
    New York
    Posts
    5,323
    The Rii keyboard/mouse may need to be paired with the keyboard object - remember that on my keyboard/mouse Rii i had to type "0000" on the keyboard then it would pair - man memory is getting tougher

    Think the new 5.0 Techkey may be a problem - may be looking for something that we haven't supported yet.

    Did you try putting the dongle into a laptop and try pairing it that way?

  11. #761
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    11,764
    Quote Originally Posted by mjs513 View Post
    The Rii keyboard/mouse may need to be paired with the keyboard object - remember that on my keyboard/mouse Rii i had to type "0000" on the keyboard then it would pair - man memory is getting tougher

    Think the new 5.0 Techkey may be a problem - may be looking for something that we haven't supported yet.

    Did you try putting the dongle into a laptop and try pairing it that way?
    Yes, no surprise the Rii didn't like mouse - but at least the CSR connected it.

    Indeed the TechKey w/Bt 5 is NEW - that was the issue to get to.

    My Surface and Desktop have native Bluetooth - Tuening on my old notebook ...

    <edit> ... 2011 Laptop booted - running spring 2018 Win 10 - recognized the TechKey dongle - but failed to connect either mouse or the Rii ... doing a restart. It came with a mini CD - it may need custom driver install ...
    Last edited by defragster; 06-29-2020 at 07:03 PM.

  12. #762
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    11,764
    Laptop with TechKey won't see Mouse - or Sense - or logitech K480 keyboard - or Rii bluetooth unit

    Putting the CSR dongle on that laptop shows all of those as Found to Pair.

    So the problem is the TechKey ... need to return to Amazon ... ready to drop at UPS ...

    Thanks @mjs513 ... occurred to me to test - but took motivation for extra effort after seeing the TechKey seemingly recognized by Teensy USBHost ...
    Last edited by defragster; 06-29-2020 at 07:41 PM.

  13. #763
    Senior Member+ mjs513's Avatar
    Join Date
    Jul 2014
    Location
    New York
    Posts
    5,323
    Could be the dongle is ble?

  14. #764
    Senior Member+ KurtE's Avatar
    Join Date
    Jan 2014
    Posts
    6,893
    May have to order one... I have their earlier BT4 version: https://www.amazon.com/gp/product/B07J5WFPXX
    Which I am pretty sure that worked...

    Ordered... Should be here Monday.

  15. #765
    Senior Member+ mjs513's Avatar
    Join Date
    Jul 2014
    Location
    New York
    Posts
    5,323
    Going to be interesting. Just reading the reviews and a few people complaint about it not pairing with the PS4 joystick. The very last review in the list was interesting. Seems you have to use there drivers otherwise it’s not working with windows default or Realtek drivers. Just ordered it myself out of curiosity.

    Yes the tech key 4.0 worked for us. I have it and it did pair.

  16. #766
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    11,764
    Quote Originally Posted by mjs513 View Post
    Could be the dongle is ble?
    It is BLE - but as seen - it claims full utility. Did see notes and noted ... 'use their driver' ... figured that would make it not worth the trouble ...

    It was so pleasing to see it come up as if ready to use on T_4.1 ... So much for returning it

    So what is the starting point given it looks like the dongle is online? Maybe it is in BLE mode and the driver has to change that to use normal Bt to pick up those radio messages?

  17. #767
    Senior Member+ mjs513's Avatar
    Join Date
    Jul 2014
    Location
    New York
    Posts
    5,323
    Quote Originally Posted by defragster View Post
    It is BLE - but as seen - it claims full utility. Did see notes and noted ... 'use their driver' ... figured that would make it not worth the trouble ...

    It was so pleasing to see it come up as if ready to use on T_4.1 ... So much for returning it

    So what is the starting point given it looks like the dongle is online? Maybe it is in BLE mode and the driver has to change that to use normal Bt to pick up those radio messages?
    Could very well be looking for a specific command. Someone identified it as "The dongle identifies as VID_0BDA&PID_8771" Someone else said its a "The adapter has a realtek rtl8761a". Probably start there. @KurtE will probably hook up the LA to it and see if anything pops up.

  18. #768
    Senior Member+ KurtE's Avatar
    Join Date
    Jan 2014
    Posts
    6,893
    Yep LA, plus plug into Linux and see what it shows... plus google to see if someone has driver...

  19. #769
    Senior Member+ mjs513's Avatar
    Join Date
    Jul 2014
    Location
    New York
    Posts
    5,323
    Quote Originally Posted by KurtE View Post
    Yep LA, plus plug into Linux and see what it shows... plus google to see if someone has driver...
    SYSTEM SUPPORT: Only Win7/Win8/Win8. 1/Win10(need driver), (Not work with Mac OS, Linux,car stereo systems,xbox,ps4 or TVs) support Multi languages
    Just thought you should know. Couldn't find much on it.

  20. #770
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    11,764
    Good thing the LA will work as it only 12 Mbs: "Dual-mode Bluetooth transfer, compatible Full-speed USB 2.0 interface, USB 1.1"

    Hopefully Linux function isn't critical to your debug effort KurtE?

    I'll get it back in here { from the return pack by the door } on laptop and install the CD driver and see if that makes it work. That old 2011 laptop it seems failed other 6 month Win 10 updates ... it is now 64% complete on the latest one - after 4+ hours ...

  21. #771
    Junior Member
    Join Date
    Jan 2019
    Posts
    5
    How would we disconnect a device in code? With HS2 we could PS4.disconnect(), for example.

Posting Permissions

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