T3.6 USB Host - Bluetooth

Morning other lost dogs :D

As I believe I mentioned, yesterday did see a difference in our output to the PS4 controllers from that of the HS2... in particular when we detected it was a PS4 (by Bluetooth name)...


So I was playing some more this morning, and find at least some of the time the Voyee is now at least partially connecting:
Longer debug output:
Code:
USB Host Testing
960
BluetoothController claim this=200051e0 vid:pid=a12:1
    9 4 0 0 3 e0 1 1 0 7 5 81 3 10 0 1 7 5 2 2 40 0 1 7 5 82 2 40 0 1 9 4 1 0 2 e0 1 1 0 7 5 3 1 0 0 1 7 5 83 1 0 0 1 9 4 1 1 2 e0 1 1 0 7 5 
    3 1 9 0 1 7 5 83 1 9 0 1 9 4 1 2 2 e0 1 1 0 7 5 3 1 11 0 1 7 5 83 1 11 0 1 9 4 1 3 2 e0 1 1 0 7 5 3 1 19 0 1 7 5 83 1 19 0 1 9 4 1 4 2 e0 
    1 1 0 7 5 3 1 21 0 1 7 5 83 1 21 0 1 9 4 1 5 2 e0 1 1 0 7 5 3 1 31 0 1 7 5 83 1 31 0 1 
      rxep=1(16) txep=2(64) rx2ep=2(64)
HCI_RESET
>>(00):03 0C 00 
<<(01):0E 04 01 03 0C 00 
HCI_WRITE_CLASS_OF_DEV
>>(00):24 0C 03 04 08 00 
<<(01):0E 04 01 24 0C 00 
HCI_Read_BD_ADDR
>>(00):09 10 00 
<<(01):0E 0A 01 09 10 00 11 71 DA 7D 1A 00 
   BD Addr 0:1a:7d:da:71:11
HCI_Read_Local_Version_Information
>>(00):01 10 00 
<<(01):0E 0C 01 01 10 00 06 BB 22 06 0A 00 BB 22 
    Local Version: 6
HCI_WRITE_SCAN_ENABLE
>>(00):1A 0C 01 02 
<<(01):0E 04 01 1A 0C 00 
Write_Scan_enable Completed
*** Device Bluet a12:1 - connected ***
  product: CSR8510 A10
  BDADDR: 11:71:da:7d:1a:0
<<(01):04 0A 14 38 DB F2 41 8C 08 05 00 01 
    Event: Incoming Connect -  14:38:db:f2:41:8c CL:508 LT:1
      Peripheral device
        Gamepad
BluetoothController::find_driver  driver 20005918
    *** Claimed ***
HCI_OP_REMOTE_NAME_REQ
>>(00):19 04 0A 14 38 DB F2 41 8C 01 00 00 00 
*** BTHID Device Joystick1 0:0 - connected ***
  Serial:  
<<(01):0F 04 00 01 19 04 
<<(01):07 FF 00 14 38 DB F2 41 8C 57 69 72 65 6C 65 73 
<<(01):73 20 43 6F 6E 74 72 6F 6C 6C 65 72 00 00 00 00 
<<(01):00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
<<(01):00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
<<(01):00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
<<(01):00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
<<(01):00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
<<(01):00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
<<(01):00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
<<(01):00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
<<(01):00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
<<(01):00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
<<(01):00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
<<(01):00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
<<(01):00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
<<(01):00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
<<(01):00 
    Event: handle_hci_remote_name_complete(0)
    Remote Name: Wireless Controller
HCI_OP_ACCEPT_CONN_REQ
>>(00):09 04 07 14 38 DB F2 41 8C 00 
<<(01):0F 04 00 01 09 04 
<<(01):12 08 00 14 38 DB F2 41 8C 00 
<<(01):03 0B 00 48 00 14 38 DB F2 41 8C 01 00 
    Connection Complete - ST:0 LH:48
   Needs connect to device(PS4?)
<<(01):20 07 14 38 DB F2 41 8C 01 
<<(01):1B 03 48 00 05 
<<(01):17 06 14 38 DB F2 41 8C 
    Event: Link Key Request 14:38:db:f2:41:8c
HCI_LINK_KEY_NEG_REPLY
>>(00):0C 04 06 14 38 DB F2 41 8C 
<<(01):0E 0A 01 0C 04 00 14 38 DB F2 41 8C 
<<(01):16 06 14 38 DB F2 41 8C 
    Event: Pin Code Request 14:38:db:f2:41:8c
HCI_PIN_CODE_REPLY
>>(00):0D 04 17 14 38 DB F2 41 8C 04 30 30 30 30 00 00 00 00 00 00 00 00 00 00 00 00 
<<(01):0E 0A 01 0D 04 00 14 38 DB F2 41 8C 
<<(01):18 17 14 38 DB F2 41 8C F0 6B 8C 3F 61 8B 9F D3 
<<(01):40 D2 14 B6 C8 D8 EC 7B 00 
    Event: Link Key Notificaton 14:38:db:f2:41:8c Type:0
    key:f0 6b 8c 3f 61 8b 9f d3 40 d2 14 b6 c8 d8 ec 7b 
<<(01):08 04 00 48 00 01 

=====================
<<(02):48 20 0C 00 08 00 01 00 02 01 04 00 11 00 40 00 
    L2CAP Connection Request: ID: 1, PSM: 11, SCID: 40
L2CAP_CMD_CONNECTION_RESPONSE
>>(02):48 20 10 00 0C 00 01 00 03 01 08 00 70 00 40 00 01 00 00 00 
L2CAP_CMD_CONNECTION_RESPONSE
>>(02):48 20 10 00 0C 00 01 00 03 01 08 00 70 00 40 00 00 00 00 00 
L2CAP_ConfigRequest
>>(02):48 20 10 00 0C 00 01 00 04 02 08 00 40 00 00 00 01 02 FF FF 
<<(01):13 05 01 48 00 01 00 
<<(01):13 05 01 48 00 01 00 
<<(01):13 05 01 48 00 01 00 

=====================
<<(02):48 20 10 00 0C 00 01 00 04 02 08 00 70 00 00 00 01 02 A0 02 
    L2CAP config Request: ID: 2, Dest:70, Flags:0,  Options: 1 2 a0 2
      Control Configuration request
L2CAP_ConfigResponse
>>(02):48 20 12 00 0E 00 01 00 05 02 0A 00 40 00 00 00 00 00 01 02 A0 02 

=====================
<<(02):48 20 12 00 0E 00 01 00 05 02 0A 00 70 00 00 00 00 00 01 02 57 FE 
    L2CAP config Response: ID: 2, Source:70, Flags:0, Result:0, Config: 201
Set HID Protocol 0 (>>(02):48 20 05 00 01 00 40 00 70 
   Needs connect to device INT(PS4?)
ConnectionRequest
>>(02):48 20 0C 00 08 00 01 00 02 03 04 00 13 00 71 00 
<<(01):13 05 01 48 00 01 00 
<<(01):13 05 01 48 00 01 00 

=====================
<<(02):48 20 0C 00 08 00 01 00 02 03 04 00 13 00 41 00 
    L2CAP Connection Request: ID: 3, PSM: 13, SCID: 41
L2CAP_CMD_CONNECTION_RESPONSE
>>(02):48 20 10 00 0C 00 01 00 03 03 08 00 71 00 41 00 01 00 00 00 
L2CAP_CMD_CONNECTION_RESPONSE
>>(02):48 20 10 00 0C 00 01 00 03 03 08 00 71 00 41 00 00 00 00 00 
<<(01):13 05 01 48 00 01 00 
L2CAP_ConfigRequest
>>(02):48 20 10 00 0C 00 01 00 04 04 08 00 41 00 00 00 01 02 FF FF 
<<(01):13 05 01 48 00 01 00 

=====================
<<(02):48 20 10 00 0C 00 01 00 03 03 08 00 42 00 71 00 00 00 00 00 
    L2CAP Connection Response: ID: 3, Dest:42, Source:71, Result:0, Status: 0 pending control: 82 0
      Interrupt Response
L2CAP_ConfigRequest
>>(02):48 20 10 00 0C 00 01 00 04 05 08 00 42 00 00 00 01 02 FF FF 

=====================
<<(02):48 20 10 00 0C 00 01 00 04 04 08 00 71 00 00 00 01 02 A0 02 
    L2CAP config Request: ID: 4, Dest:71, Flags:0,  Options: 1 2 a0 2
      Interrupt Configuration request
L2CAP_ConfigResponse
>>(02):48 20 12 00 0E 00 01 00 05 04 0A 00 42 00 00 00 00 00 01 02 A0 02 
<<(01):13 05 01 48 00 01 00 
<<(01):13 05 01 48 00 01 00 
<<(01):13 05 01 48 00 01 00 
<<(01):13 05 01 48 00 01 00 

=====================
<<(02):48 20 10 00 0C 00 01 00 04 05 08 00 71 00 00 00 01 02 A0 02 
    L2CAP config Request: ID: 5, Dest:71, Flags:0,  Options: 1 2 a0 2
      Interrupt Configuration request
L2CAP_ConfigResponse
>>(02):48 20 12 00 0E 00 01 00 05 05 0A 00 42 00 00 00 00 00 01 02 A0 02 

=====================
<<(02):48 20 12 00 0E 00 01 00 05 04 0A 00 71 00 00 00 00 00 01 02 57 FE 
    L2CAP config Response: ID: 4, Source:71, Flags:0, Result:0, Config: 201
HCI_WRITE_SCAN_ENABLE
>>(00):1A 0C 01 02 

=====================
<<(02):48 20 12 00 0E 00 01 00 05 05 0A 00 71 00 00 00 00 00 01 02 57 FE 
    L2CAP config Response: ID: 5, Source:71, Flags:0, Result:0, Config: 201
HCI_WRITE_SCAN_ENABLE
>>(00):1A 0C 01 02 
<<(01):13 05 01 48 00 01 00 
<<(01):0E 04 01 1A 0C 00 
Write_Scan_enable Completed
sendL2CapCommand: 2006fec8 2 40
>>(02):48 20 06 00 02 00 40 00 43 02 
<<(01):0E 04 01 1A 0C 00 
Write_Scan_enable Completed
<<(01):13 05 01 48 00 01 00 

=====================
<<(02):48 20 2A 00 26 00 70 00 A3 02 00 00 00 00 00 00 7D 22 DC DD 7D 22 DC DD 7D 22 DC DD 1C 02 1C 02 00 20 00 E0 00 20 00 E0 00 20 00 E0 07 00 

=====================
<<(02):48 20 53 00 4F 00 71 00 A1 11 C0 00 80 80 80 80 08 00 00 00 00 61 9C 00 82 F6 7B FF D2 03 EE FB 97 14 E9 E9 00 00 00 00 00 08 00 00 00 00 80 00 00 00 80 00 00 00 00 80 00 00 00 80 00 00 00 00 
HID HDR Data: len: 79, Type: 17 Con:0
*** First Joystick message 0:0 ***
  product: Wireless Controller
LX: 128, LY: 128, RX: 128, RY: 128 
L-Trig: 0, R-Trig: 0
Buttons: 0
Battery Status: 80
Accel-g's: -0.127197, -0.690308, 0.643433
Gyro-deg/sec: 54.721947, -135.965576, -7.441737
Pitch/Roll: 132.987137, 168.817642


=====================
<<(02):80 00 00 00 80 00 00 00 00 80 00 00 00 80 00 00 00 00 00 51 1A 09 B1 

=====================
<<(02):48 20 53 00 4F 00 71 00 A1 11 C0 00 80 80 80 80 08 00 04 00 00 F4 A2 00 30 F6 82 FF EB 03 2B FC 1A 16 33 EA 00 00 00 00 00 08 00 00 00 00 80 00 00 00 80 00 00 00 00 80 00 00 00 80 00 00 00 00 
HID HDR Data: len: 79, Type: 17 Con:0

=====================
<<(02):80 00 00 00 80 00 00 00 00 80 00 00 00 80 00 00 00 00 00 55 7B 59 68 

=====================
<<(02):48 20 53 00 4F 00 71 00 A1 11 C0 00 80 80 80 80 08 00 08 00 00 87 A9 00 02 F6 88 FF 08 04 47 FC 2A 17 B7 EA 00 00 00 00 00 08 00 00 00 00 80 00 00 00 80 00 00 00 00 80 00 00 00 80 00 00 00 00 
HID HDR Data: len: 79, Type: 17 Con:0

=====================
<<(02):80 00 00 00 80 00 00 00 00 80 00 00 00 80 00 00 00 00 00 42 BF 09 E3 

=====================
<<(02):48 20 53 00 4F 00 71 00 A1 11 C0 00 80 80 80 80 08 00 0C 00 00 1A B0 00 C9 F5 8D FF 32 04 3A FD D9 15 A2 EB 00 00 00 00 00 08 00 00 00 00 80 00 00 00 80 00 00 00 00 80 00 00 00 80 00 00 00 00 
HID HDR Data: len: 79, Type: 17 Con:0

=====================
<<(02):80 00 00 00 80 00 00 00 00 80 00 00 00 80 00 00 00 00 00 93 AD 72 93 

=====================
<<(02):48 20 53 00 4F 00 71 00 A1 11 C0 00 80 80 80 80 08 00 10 00 00 AD B6 00 5E F5 8D FF 3C 04 01 FD 98 16 56 EB 00 00 00 00 00 08 00 00 00 00 80 00 00 00 80 00 00 00 00 80 00 00 00 80 00 00 00 00 
HID HDR Data: len: 79, Type: 17 Con:0

=====================
<<(02):80 00 00 00 80 00 00 00 00 80 00 00 00 80 00 00 00 00 00 6F B1 DD AE 

=====================
<<(02):48 20 53 00 4F 00 71 00 A1 11 C0 00 80 80 80 80 08 00 14 00 00 40 BD 00 1E F5 B5 FF 44 04 4D FC 5F 18 3E EC 00 00 00 00 00 08 00 00 00 00 80 00 00 00 80 00 00 00 00 80 00 00 00 80 00 00 00 00 
HID HDR Data: len: 79, Type: 17 Con:0

=====================
<<(02):80 00 00 00 80 00 00 00 00 80 00 00 00 80 00 00 00 00 00 69 B0 79 3D 

=====================
<<(02):48 20 53 00 4F 00 71 00 A1 11 C0 00 80 80 80 80 08 00 18 00 00 D3 C3 00 32 F5 EB FF 36 04 0C FC 8B 19 52 ED 00 00 00 00 00 08 00 00 00 00 80 00 00 00 80 00 00 00 00 80 00 00 00 80 00 00 00 00 
HID HDR Data: len: 79, Type: 17 Con:0

=====================
<<(02):80 00 00 00 80 00 00 00 00 80 00 00 00 80 00 00 00 00 00 00 A4 FD E7 

=====================
<<(02):48 20 53 00 4F 00 71 00 A1 11 C0 00 80 80 80 80 08 00 1C 00 00 66 CA 00 8A F5 12 00 0D 04 7D FC E9 1A D7 ED 00 00 00 00 00 08 00 00 00 00 80 00 00 00 80 00 00 00 00 80 00 00 00 80 00 00 00 00 
HID HDR Data: len: 79, Type: 17 Con:0

=====================
<<(02):80 00 00 00 80 00 00 00 00 80 00 00 00 80 00 00 00 00 00 53 77 44 5F 

=====================
<<(02):48 20 53 00 4F 00 71 00 A1 11 C0 00 80 80 80 80 08 00 20 00 00 F9 D0 00 10 F6 45 00 C9 03 E2 FC 22 1C 23 EE 00 00 00 00 00 08 00 00 00 00 80 00 00 00 80 00 00 00 00 80 00 00 00 80 00 00 00 00 
HID HDR Data: len: 79, Type: 17 Con:0

=====================
<<(02):80 00 00 00 80 00 00 00 00 80 00 00 00 80 00 00 00 00 00 62 A6 9B 31 

=====================
<<(02):48 20 53 00 4F 00 71 00 A1 11 C0 00 80 80 80 80 08 00 24 00 00 8C D7 00 E7 F6 78 00 6C 03 A0 FD 51 1D 80 EF 00 00 00 00 00 08 00 00 00 00 80 00 00 00 80 00 00 00 00 80 00 00 00 80 00 00 00 00 
HID HDR Data: len: 79, Type: 17 Con:0

=====================
<<(02):80 00 00 00 80 00 00 00 00 80 00 00 00 80 00 00 00 00 00 D2 C4 CB EA 

=====================
<<(02):48 20 53 00 4F 00 71 00 A1 11 C0 00 80 80 80 80 08 00 28 00 00 1F DE 00 B0 F7 9B 00 1B 03 CE FC AE 1D 3B F0 00 00 00 00 00 08 00 00 00 00 80 00 00 00 80 00 00 00 00 80 00 00 00 80 00 00 00 00 
HID HDR Data: len: 79, Type: 17 Con:0

=====================
<<(02):80 00 00 00 80 00 00 00 00 80 00 00 00 80 00 00 00 00 00 D6 3A 4B 04 

=====================
<<(02):48 20 53 00 4F 00 71 00 A1 11 C0 00 80 80 80 80 08 00 2C 00 00 B2 E4 00 93 F8 D1 00 AE 02 2B FD 01 1E 43 F1 00 00 00 00 00 08 00 00 00 00 80 00 00 00 80 00 00 00 00 80 00 00 00 80 00 00 00 00 
HID HDR Data: len: 79, Type: 17 Con:0

=====================
<<(02):80 00 00 00 80 00 00 00 00 80 00 00 00 80 00 00 00 00 00 72 38 01 67 

=====================
<<(02):48 20 53 00 4F 00 71 00 A1 11 C0 00 80 80 80 80 08 00 30 00 00 45 EB 00 1F F9 E8 00 77 02 FC FD 95 1E 25 F1 00 00 00 00 00 08 00 00 00 00 80 00 00 00 80 00 00 00 00 80 00 00 00 80 00 00 00 00 
HID HDR Data: len: 79, Type: 17 Con:0
LX: 128, LY: 128, RX: 128, RY: 128 
L-Trig: 0, R-Trig: 0
Buttons: 0
Battery Status: 80
Accel-g's: -0.062988, -0.464233, 0.955688
Gyro-deg/sec: 35.306286, -98.533073, 12.981075
Pitch/Roll: 154.091461, 176.229156


=====================
<<(02):80 00 00 00 80 00 00 00 00 80 00

Sometimes take a second connection... That is first did not output anything, held down PS button until light went out, pressed again and ...

Will debug some more as still see at least one difference later in binding:
When we both receive: <<(02):48 20 12 00 0E 00 01 00 05 02 0A 00 70 00 00 00 00 00 01 02 57 FE
We currently output: >>(02):48 20 0C 00 08 00 01 00 02 03 04 00 13 00 71 00
And they output: >>(02):48 20 05 00 01 00 40 00 70

They do output our message a couple down...

But first may try the current stuff on "The Blue One"
 
Blue one still dies pretty quick!:
Code:
USB Host Testing
960
BluetoothController claim this=200051e0 vid:pid=a12:1
    9 4 0 0 3 e0 1 1 0 7 5 81 3 10 0 1 7 5 2 2 40 0 1 7 5 82 2 40 0 1 9 4 1 0 2 e0 1 1 0 7 5 3 1 0 0 1 7 5 83 1 0 0 1 9 4 1 1 2 e0 1 1 0 7 5 
    3 1 9 0 1 7 5 83 1 9 0 1 9 4 1 2 2 e0 1 1 0 7 5 3 1 11 0 1 7 5 83 1 11 0 1 9 4 1 3 2 e0 1 1 0 7 5 3 1 19 0 1 7 5 83 1 19 0 1 9 4 1 4 2 e0 
    1 1 0 7 5 3 1 21 0 1 7 5 83 1 21 0 1 9 4 1 5 2 e0 1 1 0 7 5 3 1 31 0 1 7 5 83 1 31 0 1 
      rxep=1(16) txep=2(64) rx2ep=2(64)
HCI_RESET
>>(00):03 0C 00 
<<(01):0E 04 01 03 0C 00 
HCI_WRITE_CLASS_OF_DEV
>>(00):24 0C 03 04 08 00 
<<(01):0E 04 01 24 0C 00 
HCI_Read_BD_ADDR
>>(00):09 10 00 
<<(01):0E 0A 01 09 10 00 11 71 DA 7D 1A 00 
   BD Addr 0:1a:7d:da:71:11
HCI_Read_Local_Version_Information
>>(00):01 10 00 
<<(01):0E 0C 01 01 10 00 06 BB 22 06 0A 00 BB 22 
    Local Version: 6
HCI_WRITE_SCAN_ENABLE
>>(00):1A 0C 01 02 
<<(01):0E 04 01 1A 0C 00 
Write_Scan_enable Completed
*** Device Bluet a12:1 - connected ***
  product: CSR8510 A10
  BDADDR: 11:71:da:7d:1a:0
<<(01):04 0A 69 8D F0 E9 B6 98 08 25 00 01 
    Event: Incoming Connect -  69:8d:f0:e9:b6:98 CL:2508 LT:1
      Peripheral device
        Gamepad
BluetoothController::find_driver  driver 20005918
    *** Claimed ***
HCI_OP_REMOTE_NAME_REQ
>>(00):19 04 0A 69 8D F0 E9 B6 98 01 00 00 00 
*** BTHID Device Joystick1 0:0 - connected ***
  Serial:  
<<(01):0F 04 00 01 19 04 
<<(01):07 FF 00 69 8D F0 E9 B6 98 57 69 72 65 6C 65 73 
<<(01):73 20 43 6F 6E 74 72 6F 6C 6C 65 72 00 00 00 00 
<<(01):00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
<<(01):00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
<<(01):00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
<<(01):00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
<<(01):00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
<<(01):00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
<<(01):00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
<<(01):00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
<<(01):00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
<<(01):00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
<<(01):00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
<<(01):00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
<<(01):00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
<<(01):00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
<<(01):00 
    Event: handle_hci_remote_name_complete(0)
    Remote Name: Wireless Controller
HCI_OP_ACCEPT_CONN_REQ
>>(00):09 04 07 69 8D F0 E9 B6 98 00 
<<(01):0F 04 00 01 09 04 
<<(01):12 08 00 69 8D F0 E9 B6 98 00 
<<(01):03 0B 00 48 00 69 8D F0 E9 B6 98 01 00 
    Connection Complete - ST:0 LH:48
   Needs connect to device(PS4?)
<<(01):20 07 69 8D F0 E9 B6 98 01 
<<(01):1B 03 48 00 05 

=====================
<<(02):48 20 0C 00 08 00 01 00 02 01 04 00 01 00 23 01 
    L2CAP Connection Request: ID: 1, PSM: 1, SCID: 123
After a bit it dies... But agin PSM 1 so need to implement at least some of the SDP_PSM...
 
@mjs513 - Morning!

Yes May have to try out some of the ESP32 stuff.

Tried those 2 ps4 controllers that I have with the ESP32 library I mentioned in post #923 and no luck - can't seem to get them connected to anything. Good luck...
 
The Blue one I believe connected on Linux...
I think I posted this one earlier, but the edited WireShark capture from that:
Code:
controller            host                  HCI_EVT  12     Rcvd Connect Request
    0000  04 0a 69 8d f0 e9 b6 98 08 25 00 01               ..i......%..
host                  controller            HCI_CMD  10     Sent Accept Connection Request
    0000  09 04 07 69 8d f0 e9 b6 98 00                     ...i......
controller            host                  HCI_EVT  6      Rcvd Command Status (Accept Connection Request)
    0000  0f 04 00 01 09 04                                 ......
controller            host                  HCI_EVT  7      Rcvd Command Status (Accept Connection Request)
    0000  04 0f 04 00 01 09 04                              .......
controller            host                  HCI_EVT  10     Rcvd Role Change
    0000  12 08 00 69 8d f0 e9 b6 98 00                     ...i......
controller            host                  HCI_EVT  11     Rcvd Role Change
    0000  04 12 08 00 69 8d f0 e9 b6 98 00                  ....i......
controller            host                  HCI_EVT  13     Rcvd Connect Complete
    0000  03 0b 00 47 00 69 8d f0 e9 b6 98 01 00            ...G.i.......
controller            host                  HCI_EVT  14     Rcvd Connect Complete
    0000  04 03 0b 00 47 00 69 8d f0 e9 b6 98 01 00         ....G.i.......
host                  controller            HCI_CMD  5      Sent Read Remote Supported Features
    0000  1b 04 02 47 00                                    ...G.
host                  controller            HCI_CMD  6      Sent Read Remote Supported Features
    0000  01 1b 04 02 47 00                                 ....G.
controller            host                  HCI_EVT  10     Rcvd Page Scan Repetition Mode Change
    0000  04 20 07 69 8d f0 e9 b6 98 01                     . .i......
controller            host                  HCI_EVT  9      Rcvd Page Scan Repetition Mode Change
    0000  20 07 69 8d f0 e9 b6 98 01                         .i......
controller            host                  HCI_EVT  7      Rcvd Command Status (Read Remote Supported Features)
    0000  04 0f 04 00 00 1b 04                              .......
controller            host                  HCI_EVT  6      Rcvd Command Status (Read Remote Supported Features)
    0000  0f 04 00 00 1b 04                                 ......
controller            host                  HCI_EVT  5      Rcvd Max Slots Change
    0000  1b 03 47 00 05                                    ..G..
controller            host                  HCI_EVT  6      Rcvd Max Slots Change
    0000  04 1b 03 47 00 05                                 ...G..
controller            host                  HCI_EVT  6      Rcvd Command Status (No Operation)
    0000  0f 04 00 01 00 00                                 ......
controller            host                  HCI_EVT  7      Rcvd Command Status (No Operation)
    0000  04 0f 04 00 01 00 00                              .......
controller            host                  HCI_EVT  13     Rcvd Read Remote Supported Features
    0000  0b 0b 00 47 00 ff fe 8f fe d8 fd 7b 83            ...G.......{.
controller            host                  HCI_EVT  14     Rcvd Read Remote Supported Features
    0000  04 0b 0b 00 47 00 ff fe 8f fe d8 fd 7b 83         ....G.......{.
host                  controller            HCI_CMD  6      Sent Read Remote Extended Features
    0000  1c 04 03 47 00 01                                 ...G..
host                  controller            HCI_CMD  7      Sent Read Remote Extended Features
    0000  01 1c 04 03 47 00 01                              ....G..
controller            host                  HCI_EVT  7      Rcvd Command Status (Read Remote Extended Features)
    0000  04 0f 04 00 01 1c 04                              .......
controller            host                  HCI_EVT  6      Rcvd Command Status (Read Remote Extended Features)
    0000  0f 04 00 01 1c 04                                 ......
controller            host                  HCI_EVT  16     Rcvd Read Remote Extended Features Complete
    0000  04 23 0d 00 47 00 01 02 01 00 00 00 00 00 00 00   .#..G...........
controller            host                  HCI_EVT  15     Rcvd Read Remote Extended Features Complete
    0000  23 0d 00 47 00 01 02 01 00 00 00 00 00 00 00      #..G...........
host                  controller            HCI_CMD  14     Sent Remote Name Request
    0000  01 19 04 0a 69 8d f0 e9 b6 98 02 00 00 00         ....i.........
host                  controller            HCI_CMD  13     Sent Remote Name Request
    0000  19 04 0a 69 8d f0 e9 b6 98 02 00 00 00            ...i.........
localhost ()          Nintendo_f0:8d:69 ()  L2CAP    15     Sent Information Request (Extended Features Mask)
    0000  02 47 00 0a 00 06 00 01 00 0a 01 02 00 02 00      .G.............
localhost ()          Nintendo_f0:8d:69 ()  L2CAP    14     Sent Information Request (Extended Features Mask)
    0000  47 00 0a 00 06 00 01 00 0a 01 02 00 02 00         G.............
controller            host                  HCI_EVT  7      Rcvd Number of Completed Packets
    0000  13 05 01 47 00 01 00                              ...G...
controller            host                  HCI_EVT  8      Rcvd Number of Completed Packets
    0000  04 13 05 01 47 00 01 00                           ....G...
controller            host                  HCI_EVT  7      Rcvd Command Status (Remote Name Request)
    0000  04 0f 04 00 01 19 04                              .......
controller            host                  HCI_EVT  6      Rcvd Command Status (Remote Name Request)
    0000  0f 04 00 01 19 04                                 ......
Nintendo_f0:8d:69 ()  localhost ()          L2CAP    21     Rcvd Information Response (Extended Features Mask, Success)
    0000  02 47 20 10 00 0c 00 01 00 0b 01 08 00 02 00 00   .G .............
    0010  00 00 00 00 00                                    .....
Nintendo_f0:8d:69 ()  localhost ()          L2CAP    20     Rcvd Information Response (Extended Features Mask, Success)
    0000  47 20 10 00 0c 00 01 00 0b 01 08 00 02 00 00 00   G ..............
    0010  00 00 00 00                                       ....
controller            host                  HCI_EVT  258    Rcvd Remote Name Request Complete
    0000  04 07 ff 00 69 8d f0 e9 b6 98 57 69 72 65 6c 65   ....i.....Wirele
    0010  73 73 20 43 6f 6e 74 72 6f 6c 6c 65 72 00 00 00   ss Controller...
    0020  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
    0030  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
    0040  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
    0050  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
    0060  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
    0070  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
    0080  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
    0090  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
    00a0  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
    00b0  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
    00c0  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
    00d0  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
    00e0  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
    00f0  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
    0100  00 00                                             ..
controller            host                  HCI_EVT  257    Rcvd Remote Name Request Complete
    0000  07 ff 00 69 8d f0 e9 b6 98 57 69 72 65 6c 65 73   ...i.....Wireles
    0010  73 20 43 6f 6e 74 72 6f 6c 6c 65 72 00 00 00 00   s Controller....
    0020  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
    0030  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
    0040  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
    0050  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
    0060  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
    0070  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
    0080  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
    0090  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
    00a0  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
    00b0  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
    00c0  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
    00d0  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
    00e0  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
    00f0  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
    0100  00                                                .
HCI_MON  45     Rcvd Adapter Id: 0, Opcode: Unknown
    0000  01 00 00 00 0b 00 69 8d f0 e9 b6 98 00 00 00 00   ......i.........
    0010  00 1a 00 14 09 57 69 72 65 6c 65 73 73 20 43 6f   .....Wireless Co
    0020  6e 74 72 6f 6c 6c 65 72 04 0d 08 25 00            ntroller...%.
Nintendo_f0:8d:69 (Wireless Controller) localhost ()          L2CAP    17     Rcvd Connection Request (SDP, SCID: 0x0123)
    0000  02 47 20 0c 00 08 00 01 00 02 01 04 00 01 00 23   .G ............#
    0010  01                                                .
Nintendo_f0:8d:69 (Wireless Controller) localhost ()          L2CAP    16     Rcvd Connection Request (SDP, SCID: 0x0123)
    0000  47 20 0c 00 08 00 01 00 02 01 04 00 01 00 23 01   G ............#.
localhost ()          Nintendo_f0:8d:69 (Wireless Controller) L2CAP    21     Sent Connection Response - Success (SCID: 0x0123, DCID: 0x0040)
    0000  02 47 00 10 00 0c 00 01 00 03 01 08 00 40 00 23   .G...........@.#
    0010  01 00 00 00 00                                    .....
localhost ()          Nintendo_f0:8d:69 (Wireless Controller) L2CAP    20     Sent Connection Response - Success (SCID: 0x0123, DCID: 0x0040)
    0000  47 00 10 00 0c 00 01 00 03 01 08 00 40 00 23 01   G...........@.#.
    0010  00 00 00 00                                       ....
localhost ()          Nintendo_f0:8d:69 (Wireless Controller) L2CAP    17     Sent Configure Request (DCID: 0x0123)
    0000  02 47 00 0c 00 08 00 01 00 04 02 04 00 23 01 00   .G...........#..
    0010  00                                                .
localhost ()          Nintendo_f0:8d:69 (Wireless Controller) L2CAP    16     Sent Configure Request (DCID: 0x0123)
    0000  47 00 0c 00 08 00 01 00 04 02 04 00 23 01 00 00   G...........#...
controller            host                  HCI_EVT  8      Rcvd Number of Completed Packets
    0000  04 13 05 01 47 00 01 00                           ....G...
controller            host                  HCI_EVT  7      Rcvd Number of Completed Packets
    0000  13 05 01 47 00 01 00                              ...G...
controller            host                  HCI_EVT  7      Rcvd Number of Completed Packets
    0000  13 05 01 47 00 01 00                              ...G...
controller            host                  HCI_EVT  8      Rcvd Number of Completed Packets
    0000  04 13 05 01 47 00 01 00                           ....G...
Nintendo_f0:8d:69 (Wireless Controller) localhost ()          L2CAP    21     Rcvd Configure Request (DCID: 0x0040)
    0000  02 47 20 10 00 0c 00 01 00 04 02 08 00 40 00 00   .G ..........@..
    0010  00 01 02 a0 02                                    .....
localhost ()          Nintendo_f0:8d:69 (Wireless Controller) L2CAP    23     Sent Configure Response - Success (SCID: 0x0123)
    0000  02 47 00 12 00 0e 00 01 00 05 02 0a 00 23 01 00   .G...........#..
    0010  00 00 00 01 02 a0 02                              .......
Nintendo_f0:8d:69 (Wireless Controller) localhost ()          L2CAP    20     Rcvd Configure Request (DCID: 0x0040)
    0000  47 20 10 00 0c 00 01 00 04 02 08 00 40 00 00 00   G ..........@...
    0010  01 02 a0 02                                       ....
localhost ()          Nintendo_f0:8d:69 (Wireless Controller) L2CAP    22     Sent Configure Response - Success (SCID: 0x0123)
    0000  47 00 12 00 0e 00 01 00 05 02 0a 00 23 01 00 00   G...........#...
    0010  00 00 01 02 a0 02                                 ......
controller            host                  HCI_EVT  8      Rcvd Number of Completed Packets
    0000  04 13 05 01 47 00 01 00                           ....G...
controller            host                  HCI_EVT  7      Rcvd Number of Completed Packets
    0000  13 05 01 47 00 01 00                              ...G...
Nintendo_f0:8d:69 (Wireless Controller) localhost ()          L2CAP    22     Rcvd Configure Response - Success (SCID: 0x0040)
    0000  47 20 12 00 0e 00 01 00 05 02 0a 00 40 00 00 00   G ..........@...
    0010  00 00 01 02 a0 02                                 ......
Nintendo_f0:8d:69 (Wireless Controller) localhost ()          L2CAP    23     Rcvd Configure Response - Success (SCID: 0x0040)
    0000  02 47 20 12 00 0e 00 01 00 05 02 0a 00 40 00 00   .G ..........@..
    0010  00 00 00 01 02 a0 02                              .......
Nintendo_f0:8d:69 (Wireless Controller) localhost ()          SDP      29     Rcvd Service Search Attribute Request : L2CAP: Attribute Range (0x0000 - 0xffff) 
    0000  02 47 20 18 00 14 00 40 00 06 00 01 00 0f 35 03   .G ....@......5.
    0010  19 01 00 08 00 35 05 0a 00 00 ff ff 00            .....5.......
Nintendo_f0:8d:69 (Wireless Controller) localhost ()          SDP      28     Rcvd Service Search Attribute Request : L2CAP: Attribute Range (0x0000 - 0xffff) 
    0000  47 20 18 00 14 00 40 00 06 00 01 00 0f 35 03 19   G ....@......5..
    0010  01 00 08 00 35 05 0a 00 00 ff ff 00               ....5.......
localhost ()          Nintendo_f0:8d:69 (Wireless Controller) HCI_ACL  314    Sent  [Reassembled in #73]
    0000  47 00 36 01 a0 02 23 01 07 00 01 02 9b 02 90 36   G.6...#........6
    0010  03 5f 35 a3 09 00 00 0a 00 01 00 01 09 00 01 35   ._5............5
    0020  03 19 18 00 09 00 04 35 13 35 06 19 01 00 09 00   .......5.5......
    0030  1f 35 09 19 00 07 09 00 01 09 00 05 09 00 05 35   .5.............5
    0040  03 19 10 02 09 00 0a 45 15 68 74 74 70 3a 2f 2f   .......E.http://
    0050  77 77 77 2e 62 6c 75 65 7a 2e 6f 72 67 2f 09 00   www.bluez.org/..
    0060  0b 45 15 68 74 74 70 3a 2f 2f 77 77 77 2e 62 6c   .E.http://www.bl
    0070  75 65 7a 2e 6f 72 67 2f 09 00 0c 45 15 68 74 74   uez.org/...E.htt
    0080  70 3a 2f 2f 77 77 77 2e 62 6c 75 65 7a 2e 6f 72   p://www.bluez.or
    0090  67 2f 09 01 00 25 16 47 65 6e 65 72 69 63 20 41   g/...%.Generic A
    00a0  63 63 65 73 73 20 50 72 6f 66 69 6c 65 09 01 02   ccess Profile...
    00b0  25 05 42 6c 75 65 5a 35 58 09 00 00 0a 00 01 00   %.BlueZ5X.......
    00c0  02 09 00 01 35 03 19 18 01 09 00 04 35 13 35 06   ....5.......5.5.
    00d0  19 01 00 09 00 1f 35 09 19 00 07 09 00 06 09 00   ......5.........
    00e0  0d 09 00 05 35 03 19 10 02 09 01 00 25 19 47 65   ....5.......%.Ge
    00f0  6e 65 72 69 63 20 41 74 74 72 69 62 75 74 65 20   neric Attribute 
    0100  50 72 6f 66 69 6c 65 09 01 02 25 05 42 6c 75 65   Profile...%.Blue
    0110  5a 35 67 09 00 00 0a 00 01 00 03 09 00 01 35 06   Z5g...........5.
    0120  19 11 0e 19 11 0f 09 00 04 35 10 35 06 19 01 00   .........5.5....
    0130  09 00 17 35 06 19 00 17 09 01                     ...5......
localhost ()          Nintendo_f0:8d:69 (Wireless Controller) HCI_ACL  315    Sent  [Reassembled in #74]
    0000  02 47 00 36 01 a0 02 23 01 07 00 01 02 9b 02 90   .G.6...#........
    0010  36 03 5f 35 a3 09 00 00 0a 00 01 00 01 09 00 01   6._5............
    0020  35 03 19 18 00 09 00 04 35 13 35 06 19 01 00 09   5.......5.5.....
    0030  00 1f 35 09 19 00 07 09 00 01 09 00 05 09 00 05   ..5.............
    0040  35 03 19 10 02 09 00 0a 45 15 68 74 74 70 3a 2f   5.......E.http:/
    0050  2f 77 77 77 2e 62 6c 75 65 7a 2e 6f 72 67 2f 09   /www.bluez.org/.
    0060  00 0b 45 15 68 74 74 70 3a 2f 2f 77 77 77 2e 62   ..E.http://www.b
    0070  6c 75 65 7a 2e 6f 72 67 2f 09 00 0c 45 15 68 74   luez.org/...E.ht
    0080  74 70 3a 2f 2f 77 77 77 2e 62 6c 75 65 7a 2e 6f   tp://www.bluez.o
    0090  72 67 2f 09 01 00 25 16 47 65 6e 65 72 69 63 20   rg/...%.Generic 
    00a0  41 63 63 65 73 73 20 50 72 6f 66 69 6c 65 09 01   Access Profile..
    00b0  02 25 05 42 6c 75 65 5a 35 58 09 00 00 0a 00 01   .%.BlueZ5X......
    00c0  00 02 09 00 01 35 03 19 18 01 09 00 04 35 13 35   .....5.......5.5
    00d0  06 19 01 00 09 00 1f 35 09 19 00 07 09 00 06 09   .......5........
    00e0  00 0d 09 00 05 35 03 19 10 02 09 01 00 25 19 47   .....5.......%.G
    00f0  65 6e 65 72 69 63 20 41 74 74 72 69 62 75 74 65   eneric Attribute
    0100  20 50 72 6f 66 69 6c 65 09 01 02 25 05 42 6c 75    Profile...%.Blu
    0110  65 5a 35 67 09 00 00 0a 00 01 00 03 09 00 01 35   eZ5g...........5
    0120  06 19 11 0e 19 11 0f 09 00 04 35 10 35 06 19 01   ..........5.5...
    0130  00 09 00 17 35 06 19 00 17 09 01                  ....5......
localhost ()          Nintendo_f0:8d:69 (Wireless Controller) HCI_ACL  314    Sent  [Continuation to #69] [Reassembled in #73]
    0000  47 10 36 01 03 09 00 05 35 03 19 10 02 09 00 09   G.6.....5.......
    0010  35 08 35 06 19 11 0e 09 01 06 09 00 0d 35 12 35   5.5..........5.5
    0020  10 35 06 19 01 00 09 00 1b 35 06 19 00 17 09 01   .5.......5......
    0030  03 09 01 00 25 08 41 56 52 43 50 20 43 54 09 03   ....%.AVRCP CT..
    0040  11 09 00 4f 35 64 09 00 00 0a 00 01 00 04 09 00   ...O5d..........
    0050  01 35 03 19 11 0c 09 00 04 35 10 35 06 19 01 00   .5.......5.5....
    0060  09 00 17 35 06 19 00 17 09 01 03 09 00 05 35 03   ...5..........5.
    0070  19 10 02 09 00 09 35 08 35 06 19 11 0e 09 01 05   ......5.5.......
    0080  09 00 0d 35 12 35 10 35 06 19 01 00 09 00 1b 35   ...5.5.5.......5
    0090  06 19 00 17 09 01 03 09 01 00 25 08 41 56 52 43   ..........%.AVRC
    00a0  50 20 54 47 09 03 11 09 00 5f 35 53 09 00 00 0a   P TG....._5S....
    00b0  00 01 00 05 09 00 01 35 06 19 11 12 19 12 03 09   .......5........
    00c0  00 04 35 0c 35 03 19 01 00 35 05 19 00 03 08 0c   ..5.5....5......
    00d0  09 00 05 35 03 19 10 02 09 00 09 35 08 35 06 19   ...5.......5.5..
    00e0  11 08 09 01 02 09 01 00 25 15 48 65 61 64 73 65   ........%.Headse
    00f0  74 20 56 6f 69 63 65 20 67 61 74 65 77 61 79 35   t Voice gateway5
    0100  96 09 00 00 0a 00 01 00 06 09 00 01 35 11 1c 00   ............5...
    0110  00 11 08 00 00 10 00 80 00 00 80 5f 9b 34 fb 09   ..........._.4..
    0120  00 04 35 0c 35 03 19 01 00 35 05 19 00 03 08 03   ..5.5....5......
    0130  09 00 05 35 03 19 10 02 09 00                     ...5......
localhost ()          Nintendo_f0:8d:69 (Wireless Controller) HCI_ACL  315    Sent  [Continuation to #70] [Reassembled in #74]
    0000  02 47 10 36 01 03 09 00 05 35 03 19 10 02 09 00   .G.6.....5......
    0010  09 35 08 35 06 19 11 0e 09 01 06 09 00 0d 35 12   .5.5..........5.
    0020  35 10 35 06 19 01 00 09 00 1b 35 06 19 00 17 09   5.5.......5.....
    0030  01 03 09 01 00 25 08 41 56 52 43 50 20 43 54 09   .....%.AVRCP CT.
    0040  03 11 09 00 4f 35 64 09 00 00 0a 00 01 00 04 09   ....O5d.........
    0050  00 01 35 03 19 11 0c 09 00 04 35 10 35 06 19 01   ..5.......5.5...
    0060  00 09 00 17 35 06 19 00 17 09 01 03 09 00 05 35   ....5..........5
    0070  03 19 10 02 09 00 09 35 08 35 06 19 11 0e 09 01   .......5.5......
    0080  05 09 00 0d 35 12 35 10 35 06 19 01 00 09 00 1b   ....5.5.5.......
    0090  35 06 19 00 17 09 01 03 09 01 00 25 08 41 56 52   5..........%.AVR
    00a0  43 50 20 54 47 09 03 11 09 00 5f 35 53 09 00 00   CP TG....._5S...
    00b0  0a 00 01 00 05 09 00 01 35 06 19 11 12 19 12 03   ........5.......
    00c0  09 00 04 35 0c 35 03 19 01 00 35 05 19 00 03 08   ...5.5....5.....
    00d0  0c 09 00 05 35 03 19 10 02 09 00 09 35 08 35 06   ....5.......5.5.
    00e0  19 11 08 09 01 02 09 01 00 25 15 48 65 61 64 73   .........%.Heads
    00f0  65 74 20 56 6f 69 63 65 20 67 61 74 65 77 61 79   et Voice gateway
    0100  35 96 09 00 00 0a 00 01 00 06 09 00 01 35 11 1c   5............5..
    0110  00 00 11 08 00 00 10 00 80 00 00 80 5f 9b 34 fb   ............_.4.
    0120  09 00 04 35 0c 35 03 19 01 00 35 05 19 00 03 08   ...5.5....5.....
    0130  03 09 00 05 35 03 19 10 02 09 00                  ....5......
localhost ()          Nintendo_f0:8d:69 (Wireless Controller) SDP      60     Sent Service Search Attribute Response (fragment)
Frame (60 bytes):
    0000  47 10 38 00 09 35 16 35 14 1c 00 00 11 08 00 00   G.8..5.5........
    0010  10 00 80 00 00 80 5f 9b 34 fb 09 01 02 09 01 00   ......_.4.......
    0020  25 3f 3a 31 2e 37 31 2f 50 72 6f 66 69 6c 65 2f   %?:1.71/Profile/
    0030  48 53 50 08 46 2d a8 60 90 02 00 00               HSP.F-.`....
Reassembled BTHCI ACL (676 bytes):
    0000  a0 02 23 01 07 00 01 02 9b 02 90 36 03 5f 35 a3   ..#........6._5.
    0010  09 00 00 0a 00 01 00 01 09 00 01 35 03 19 18 00   ...........5....
    0020  09 00 04 35 13 35 06 19 01 00 09 00 1f 35 09 19   ...5.5.......5..
    0030  00 07 09 00 01 09 00 05 09 00 05 35 03 19 10 02   ...........5....
    0040  09 00 0a 45 15 68 74 74 70 3a 2f 2f 77 77 77 2e   ...E.http://www.
    0050  62 6c 75 65 7a 2e 6f 72 67 2f 09 00 0b 45 15 68   bluez.org/...E.h
    0060  74 74 70 3a 2f 2f 77 77 77 2e 62 6c 75 65 7a 2e   ttp://www.bluez.
    0070  6f 72 67 2f 09 00 0c 45 15 68 74 74 70 3a 2f 2f   org/...E.http://
    0080  77 77 77 2e 62 6c 75 65 7a 2e 6f 72 67 2f 09 01   www.bluez.org/..
    0090  00 25 16 47 65 6e 65 72 69 63 20 41 63 63 65 73   .%.Generic Acces
    00a0  73 20 50 72 6f 66 69 6c 65 09 01 02 25 05 42 6c   s Profile...%.Bl
    00b0  75 65 5a 35 58 09 00 00 0a 00 01 00 02 09 00 01   ueZ5X...........
    00c0  35 03 19 18 01 09 00 04 35 13 35 06 19 01 00 09   5.......5.5.....
    00d0  00 1f 35 09 19 00 07 09 00 06 09 00 0d 09 00 05   ..5.............
    00e0  35 03 19 10 02 09 01 00 25 19 47 65 6e 65 72 69   5.......%.Generi
    00f0  63 20 41 74 74 72 69 62 75 74 65 20 50 72 6f 66   c Attribute Prof
    0100  69 6c 65 09 01 02 25 05 42 6c 75 65 5a 35 67 09   ile...%.BlueZ5g.
    0110  00 00 0a 00 01 00 03 09 00 01 35 06 19 11 0e 19   ..........5.....
    0120  11 0f 09 00 04 35 10 35 06 19 01 00 09 00 17 35   .....5.5.......5
    0130  06 19 00 17 09 01 03 09 00 05 35 03 19 10 02 09   ..........5.....
    0140  00 09 35 08 35 06 19 11 0e 09 01 06 09 00 0d 35   ..5.5..........5
    0150  12 35 10 35 06 19 01 00 09 00 1b 35 06 19 00 17   .5.5.......5....
    0160  09 01 03 09 01 00 25 08 41 56 52 43 50 20 43 54   ......%.AVRCP CT
    0170  09 03 11 09 00 4f 35 64 09 00 00 0a 00 01 00 04   .....O5d........
    0180  09 00 01 35 03 19 11 0c 09 00 04 35 10 35 06 19   ...5.......5.5..
    0190  01 00 09 00 17 35 06 19 00 17 09 01 03 09 00 05   .....5..........
    01a0  35 03 19 10 02 09 00 09 35 08 35 06 19 11 0e 09   5.......5.5.....
    01b0  01 05 09 00 0d 35 12 35 10 35 06 19 01 00 09 00   .....5.5.5......
    01c0  1b 35 06 19 00 17 09 01 03 09 01 00 25 08 41 56   .5..........%.AV
    01d0  52 43 50 20 54 47 09 03 11 09 00 5f 35 53 09 00   RCP TG....._5S..
    01e0  00 0a 00 01 00 05 09 00 01 35 06 19 11 12 19 12   .........5......
    01f0  03 09 00 04 35 0c 35 03 19 01 00 35 05 19 00 03   ....5.5....5....
    0200  08 0c 09 00 05 35 03 19 10 02 09 00 09 35 08 35   .....5.......5.5
    0210  06 19 11 08 09 01 02 09 01 00 25 15 48 65 61 64   ..........%.Head
    0220  73 65 74 20 56 6f 69 63 65 20 67 61 74 65 77 61   set Voice gatewa
    0230  79 35 96 09 00 00 0a 00 01 00 06 09 00 01 35 11   y5............5.
    0240  1c 00 00 11 08 00 00 10 00 80 00 00 80 5f 9b 34   ............._.4
    0250  fb 09 00 04 35 0c 35 03 19 01 00 35 05 19 00 03   ....5.5....5....
    0260  08 03 09 00 05 35 03 19 10 02 09 00 09 35 16 35   .....5.......5.5
    0270  14 1c 00 00 11 08 00 00 10 00 80 00 00 80 5f 9b   .............._.
    0280  34 fb 09 01 02 09 01 00 25 3f 3a 31 2e 37 31 2f   4.......%?:1.71/
    0290  50 72 6f 66 69 6c 65 2f 48 53 50 08 46 2d a8 60   Profile/HSP.F-.`
    02a0  90 02 00 00                                       ....
localhost ()          Nintendo_f0:8d:69 (Wireless Controller) SDP      61     Sent Service Search Attribute Response (fragment)
Frame (61 bytes):
    0000  02 47 10 38 00 09 35 16 35 14 1c 00 00 11 08 00   .G.8..5.5.......
    0010  00 10 00 80 00 00 80 5f 9b 34 fb 09 01 02 09 01   ......._.4......
    0020  00 25 3f 3a 31 2e 37 31 2f 50 72 6f 66 69 6c 65   .%?:1.71/Profile
    0030  2f 48 53 50 08 46 2d a8 60 90 02 00 00            /HSP.F-.`....
Reassembled BTHCI ACL (676 bytes):
    0000  a0 02 23 01 07 00 01 02 9b 02 90 36 03 5f 35 a3   ..#........6._5.
    0010  09 00 00 0a 00 01 00 01 09 00 01 35 03 19 18 00   ...........5....
    0020  09 00 04 35 13 35 06 19 01 00 09 00 1f 35 09 19   ...5.5.......5..
    0030  00 07 09 00 01 09 00 05 09 00 05 35 03 19 10 02   ...........5....
    0040  09 00 0a 45 15 68 74 74 70 3a 2f 2f 77 77 77 2e   ...E.http://www.
    0050  62 6c 75 65 7a 2e 6f 72 67 2f 09 00 0b 45 15 68   bluez.org/...E.h
    0060  74 74 70 3a 2f 2f 77 77 77 2e 62 6c 75 65 7a 2e   ttp://www.bluez.
    0070  6f 72 67 2f 09 00 0c 45 15 68 74 74 70 3a 2f 2f   org/...E.http://
    0080  77 77 77 2e 62 6c 75 65 7a 2e 6f 72 67 2f 09 01   www.bluez.org/..
    0090  00 25 16 47 65 6e 65 72 69 63 20 41 63 63 65 73   .%.Generic Acces
    00a0  73 20 50 72 6f 66 69 6c 65 09 01 02 25 05 42 6c   s Profile...%.Bl
    00b0  75 65 5a 35 58 09 00 00 0a 00 01 00 02 09 00 01   ueZ5X...........
    00c0  35 03 19 18 01 09 00 04 35 13 35 06 19 01 00 09   5.......5.5.....
    00d0  00 1f 35 09 19 00 07 09 00 06 09 00 0d 09 00 05   ..5.............
    00e0  35 03 19 10 02 09 01 00 25 19 47 65 6e 65 72 69   5.......%.Generi
    00f0  63 20 41 74 74 72 69 62 75 74 65 20 50 72 6f 66   c Attribute Prof
    0100  69 6c 65 09 01 02 25 05 42 6c 75 65 5a 35 67 09   ile...%.BlueZ5g.
    0110  00 00 0a 00 01 00 03 09 00 01 35 06 19 11 0e 19   ..........5.....
    0120  11 0f 09 00 04 35 10 35 06 19 01 00 09 00 17 35   .....5.5.......5
    0130  06 19 00 17 09 01 03 09 00 05 35 03 19 10 02 09   ..........5.....
    0140  00 09 35 08 35 06 19 11 0e 09 01 06 09 00 0d 35   ..5.5..........5
    0150  12 35 10 35 06 19 01 00 09 00 1b 35 06 19 00 17   .5.5.......5....
    0160  09 01 03 09 01 00 25 08 41 56 52 43 50 20 43 54   ......%.AVRCP CT
    0170  09 03 11 09 00 4f 35 64 09 00 00 0a 00 01 00 04   .....O5d........
    0180  09 00 01 35 03 19 11 0c 09 00 04 35 10 35 06 19   ...5.......5.5..
    0190  01 00 09 00 17 35 06 19 00 17 09 01 03 09 00 05   .....5..........
    01a0  35 03 19 10 02 09 00 09 35 08 35 06 19 11 0e 09   5.......5.5.....
    01b0  01 05 09 00 0d 35 12 35 10 35 06 19 01 00 09 00   .....5.5.5......
    01c0  1b 35 06 19 00 17 09 01 03 09 01 00 25 08 41 56   .5..........%.AV
    01d0  52 43 50 20 54 47 09 03 11 09 00 5f 35 53 09 00   RCP TG....._5S..
    01e0  00 0a 00 01 00 05 09 00 01 35 06 19 11 12 19 12   .........5......
    01f0  03 09 00 04 35 0c 35 03 19 01 00 35 05 19 00 03   ....5.5....5....
    0200  08 0c 09 00 05 35 03 19 10 02 09 00 09 35 08 35   .....5.......5.5
    0210  06 19 11 08 09 01 02 09 01 00 25 15 48 65 61 64   ..........%.Head
    0220  73 65 74 20 56 6f 69 63 65 20 67 61 74 65 77 61   set Voice gatewa
    0230  79 35 96 09 00 00 0a 00 01 00 06 09 00 01 35 11   y5............5.
    0240  1c 00 00 11 08 00 00 10 00 80 00 00 80 5f 9b 34   ............._.4
    0250  fb 09 00 04 35 0c 35 03 19 01 00 35 05 19 00 03   ....5.5....5....
    0260  08 03 09 00 05 35 03 19 10 02 09 00 09 35 16 35   .....5.......5.5
    0270  14 1c 00 00 11 08 00 00 10 00 80 00 00 80 5f 9b   .............._.
    0280  34 fb 09 01 02 09 01 00 25 3f 3a 31 2e 37 31 2f   4.......%?:1.71/
    0290  50 72 6f 66 69 6c 65 2f 48 53 50 08 46 2d a8 60   Profile/HSP.F-.`
    02a0  90 02 00 00                                       ....
controller            host                  HCI_EVT  7      Rcvd Number of Completed Packets
    0000  13 05 01 47 00 03 00                              ...G...
controller            host                  HCI_EVT  8      Rcvd Number of Completed Packets
    0000  04 13 05 01 47 00 03 00                           ....G...
Nintendo_f0:8d:69 (Wireless Controller) localhost ()          SDP      37     Rcvd Service Search Attribute Request : L2CAP: Attribute Range (0x0000 - 0xffff) 
    0000  02 47 20 20 00 1c 00 40 00 06 00 02 00 17 35 03   .G  ...@......5.
    0010  19 01 00 08 00 35 05 0a 00 00 ff ff 08 46 2d a8   .....5.......F-.
    0020  60 90 02 00 00                                    `....
Nintendo_f0:8d:69 (Wireless Controller) localhost ()          SDP      36     Rcvd Service Search Attribute Request : L2CAP: Attribute Range (0x0000 - 0xffff) 
    0000  47 20 20 00 1c 00 40 00 06 00 02 00 17 35 03 19   G  ...@......5..
    0010  01 00 08 00 35 05 0a 00 00 ff ff 08 46 2d a8 60   ....5.......F-.`
    0020  90 02 00 00                                       ....
localhost ()          Nintendo_f0:8d:69 (Wireless Controller) SDP      226    Sent Service Search Attribute Response 
Frame (226 bytes):
    0000  47 00 de 00 da 00 23 01 07 00 02 00 d5 00 d2 48   G.....#........H
    0010  53 50 72 6f 66 69 6c 65 2f 30 30 30 30 31 31 30   SProfile/0000110
    0020  38 2d 30 30 30 30 2d 31 30 30 30 2d 38 30 30 30   8-0000-1000-8000
    0030  2d 30 30 38 30 35 66 39 62 33 34 66 62 35 4f 09   -00805f9b34fb5O.
    0040  00 00 0a 00 01 00 07 09 00 01 35 03 19 11 0b 09   ..........5.....
    0050  00 04 35 10 35 06 19 01 00 09 00 19 35 06 19 00   ..5.5.......5...
    0060  19 09 01 03 09 00 05 35 03 19 10 02 09 00 09 35   .......5.......5
    0070  08 35 06 19 11 0d 09 01 03 09 01 00 25 0a 41 75   .5..........%.Au
    0080  64 69 6f 20 53 69 6e 6b 09 03 11 09 00 0f 35 51   dio Sink......5Q
    0090  09 00 00 0a 00 01 00 08 09 00 01 35 03 19 11 0a   ...........5....
    00a0  09 00 04 35 10 35 06 19 01 00 09 00 19 35 06 19   ...5.5.......5..
    00b0  00 19 09 01 03 09 00 05 35 03 19 10 02 09 00 09   ........5.......
    00c0  35 08 35 06 19 11 0d 09 01 03 09 01 00 25 0c 41   5.5..........%.A
    00d0  75 64 69 6f 20 53 6f 75 72 63 65 09 03 11 09 00   udio Source.....
    00e0  0f 00                                             ..
Reassembled SDP (866 bytes):
    0000  36 03 5f 35 a3 09 00 00 0a 00 01 00 01 09 00 01   6._5............
    0010  35 03 19 18 00 09 00 04 35 13 35 06 19 01 00 09   5.......5.5.....
    0020  00 1f 35 09 19 00 07 09 00 01 09 00 05 09 00 05   ..5.............
    0030  35 03 19 10 02 09 00 0a 45 15 68 74 74 70 3a 2f   5.......E.http:/
    0040  2f 77 77 77 2e 62 6c 75 65 7a 2e 6f 72 67 2f 09   /www.bluez.org/.
    0050  00 0b 45 15 68 74 74 70 3a 2f 2f 77 77 77 2e 62   ..E.http://www.b
    0060  6c 75 65 7a 2e 6f 72 67 2f 09 00 0c 45 15 68 74   luez.org/...E.ht
    0070  74 70 3a 2f 2f 77 77 77 2e 62 6c 75 65 7a 2e 6f   tp://www.bluez.o
    0080  72 67 2f 09 01 00 25 16 47 65 6e 65 72 69 63 20   rg/...%.Generic 
    0090  41 63 63 65 73 73 20 50 72 6f 66 69 6c 65 09 01   Access Profile..
    00a0  02 25 05 42 6c 75 65 5a 35 58 09 00 00 0a 00 01   .%.BlueZ5X......
    00b0  00 02 09 00 01 35 03 19 18 01 09 00 04 35 13 35   .....5.......5.5
    00c0  06 19 01 00 09 00 1f 35 09 19 00 07 09 00 06 09   .......5........
    00d0  00 0d 09 00 05 35 03 19 10 02 09 01 00 25 19 47   .....5.......%.G
    00e0  65 6e 65 72 69 63 20 41 74 74 72 69 62 75 74 65   eneric Attribute
    00f0  20 50 72 6f 66 69 6c 65 09 01 02 25 05 42 6c 75    Profile...%.Blu
    0100  65 5a 35 67 09 00 00 0a 00 01 00 03 09 00 01 35   eZ5g...........5
    0110  06 19 11 0e 19 11 0f 09 00 04 35 10 35 06 19 01   ..........5.5...
    0120  00 09 00 17 35 06 19 00 17 09 01 03 09 00 05 35   ....5..........5
    0130  03 19 10 02 09 00 09 35 08 35 06 19 11 0e 09 01   .......5.5......
    0140  06 09 00 0d 35 12 35 10 35 06 19 01 00 09 00 1b   ....5.5.5.......
    0150  35 06 19 00 17 09 01 03 09 01 00 25 08 41 56 52   5..........%.AVR
    0160  43 50 20 43 54 09 03 11 09 00 4f 35 64 09 00 00   CP CT.....O5d...
    0170  0a 00 01 00 04 09 00 01 35 03 19 11 0c 09 00 04   ........5.......
    0180  35 10 35 06 19 01 00 09 00 17 35 06 19 00 17 09   5.5.......5.....
    0190  01 03 09 00 05 35 03 19 10 02 09 00 09 35 08 35   .....5.......5.5
    01a0  06 19 11 0e 09 01 05 09 00 0d 35 12 35 10 35 06   ..........5.5.5.
    01b0  19 01 00 09 00 1b 35 06 19 00 17 09 01 03 09 01   ......5.........
    01c0  00 25 08 41 56 52 43 50 20 54 47 09 03 11 09 00   .%.AVRCP TG.....
    01d0  5f 35 53 09 00 00 0a 00 01 00 05 09 00 01 35 06   _5S...........5.
    01e0  19 11 12 19 12 03 09 00 04 35 0c 35 03 19 01 00   .........5.5....
    01f0  35 05 19 00 03 08 0c 09 00 05 35 03 19 10 02 09   5.........5.....
    0200  00 09 35 08 35 06 19 11 08 09 01 02 09 01 00 25   ..5.5..........%
    0210  15 48 65 61 64 73 65 74 20 56 6f 69 63 65 20 67   .Headset Voice g
    0220  61 74 65 77 61 79 35 96 09 00 00 0a 00 01 00 06   ateway5.........
    0230  09 00 01 35 11 1c 00 00 11 08 00 00 10 00 80 00   ...5............
    0240  00 80 5f 9b 34 fb 09 00 04 35 0c 35 03 19 01 00   .._.4....5.5....
    0250  35 05 19 00 03 08 03 09 00 05 35 03 19 10 02 09   5.........5.....
    0260  00 09 35 16 35 14 1c 00 00 11 08 00 00 10 00 80   ..5.5...........
    0270  00 00 80 5f 9b 34 fb 09 01 02 09 01 00 25 3f 3a   ..._.4.......%?:
    0280  31 2e 37 31 2f 50 72 6f 66 69 6c 65 2f 48 53 50   1.71/Profile/HSP
    0290  48 53 50 72 6f 66 69 6c 65 2f 30 30 30 30 31 31   HSProfile/000011
    02a0  30 38 2d 30 30 30 30 2d 31 30 30 30 2d 38 30 30   08-0000-1000-800
    02b0  30 2d 30 30 38 30 35 66 39 62 33 34 66 62 35 4f   0-00805f9b34fb5O
    02c0  09 00 00 0a 00 01 00 07 09 00 01 35 03 19 11 0b   ...........5....
    02d0  09 00 04 35 10 35 06 19 01 00 09 00 19 35 06 19   ...5.5.......5..
    02e0  00 19 09 01 03 09 00 05 35 03 19 10 02 09 00 09   ........5.......
    02f0  35 08 35 06 19 11 0d 09 01 03 09 01 00 25 0a 41   5.5..........%.A
    0300  75 64 69 6f 20 53 69 6e 6b 09 03 11 09 00 0f 35   udio Sink......5
    0310  51 09 00 00 0a 00 01 00 08 09 00 01 35 03 19 11   Q...........5...
    0320  0a 09 00 04 35 10 35 06 19 01 00 09 00 19 35 06   ....5.5.......5.
    0330  19 00 19 09 01 03 09 00 05 35 03 19 10 02 09 00   .........5......
    0340  09 35 08 35 06 19 11 0d 09 01 03 09 01 00 25 0c   .5.5..........%.
    0350  41 75 64 69 6f 20 53 6f 75 72 63 65 09 03 11 09   Audio Source....
    0360  00 0f                                             ..
localhost ()          Nintendo_f0:8d:69 (Wireless Controller) SDP      227    Sent Service Search Attribute Response 
Frame (227 bytes):
    0000  02 47 00 de 00 da 00 23 01 07 00 02 00 d5 00 d2   .G.....#........
    0010  48 53 50 72 6f 66 69 6c 65 2f 30 30 30 30 31 31   HSProfile/000011
    0020  30 38 2d 30 30 30 30 2d 31 30 30 30 2d 38 30 30   08-0000-1000-800
    0030  30 2d 30 30 38 30 35 66 39 62 33 34 66 62 35 4f   0-00805f9b34fb5O
    0040  09 00 00 0a 00 01 00 07 09 00 01 35 03 19 11 0b   ...........5....
    0050  09 00 04 35 10 35 06 19 01 00 09 00 19 35 06 19   ...5.5.......5..
    0060  00 19 09 01 03 09 00 05 35 03 19 10 02 09 00 09   ........5.......
    0070  35 08 35 06 19 11 0d 09 01 03 09 01 00 25 0a 41   5.5..........%.A
    0080  75 64 69 6f 20 53 69 6e 6b 09 03 11 09 00 0f 35   udio Sink......5
    0090  51 09 00 00 0a 00 01 00 08 09 00 01 35 03 19 11   Q...........5...
    00a0  0a 09 00 04 35 10 35 06 19 01 00 09 00 19 35 06   ....5.5.......5.
    00b0  19 00 19 09 01 03 09 00 05 35 03 19 10 02 09 00   .........5......
    00c0  09 35 08 35 06 19 11 0d 09 01 03 09 01 00 25 0c   .5.5..........%.
    00d0  41 75 64 69 6f 20 53 6f 75 72 63 65 09 03 11 09   Audio Source....
    00e0  00 0f 00                                          ...
Reassembled SDP (866 bytes):
    0000  36 03 5f 35 a3 09 00 00 0a 00 01 00 01 09 00 01   6._5............
    0010  35 03 19 18 00 09 00 04 35 13 35 06 19 01 00 09   5.......5.5.....
    0020  00 1f 35 09 19 00 07 09 00 01 09 00 05 09 00 05   ..5.............
    0030  35 03 19 10 02 09 00 0a 45 15 68 74 74 70 3a 2f   5.......E.http:/
    0040  2f 77 77 77 2e 62 6c 75 65 7a 2e 6f 72 67 2f 09   /www.bluez.org/.
    0050  00 0b 45 15 68 74 74 70 3a 2f 2f 77 77 77 2e 62   ..E.http://www.b
    0060  6c 75 65 7a 2e 6f 72 67 2f 09 00 0c 45 15 68 74   luez.org/...E.ht
    0070  74 70 3a 2f 2f 77 77 77 2e 62 6c 75 65 7a 2e 6f   tp://www.bluez.o
    0080  72 67 2f 09 01 00 25 16 47 65 6e 65 72 69 63 20   rg/...%.Generic 
    0090  41 63 63 65 73 73 20 50 72 6f 66 69 6c 65 09 01   Access Profile..
    00a0  02 25 05 42 6c 75 65 5a 35 58 09 00 00 0a 00 01   .%.BlueZ5X......
    00b0  00 02 09 00 01 35 03 19 18 01 09 00 04 35 13 35   .....5.......5.5
    00c0  06 19 01 00 09 00 1f 35 09 19 00 07 09 00 06 09   .......5........
    00d0  00 0d 09 00 05 35 03 19 10 02 09 01 00 25 19 47   .....5.......%.G
    00e0  65 6e 65 72 69 63 20 41 74 74 72 69 62 75 74 65   eneric Attribute
    00f0  20 50 72 6f 66 69 6c 65 09 01 02 25 05 42 6c 75    Profile...%.Blu
    0100  65 5a 35 67 09 00 00 0a 00 01 00 03 09 00 01 35   eZ5g...........5
    0110  06 19 11 0e 19 11 0f 09 00 04 35 10 35 06 19 01   ..........5.5...
    0120  00 09 00 17 35 06 19 00 17 09 01 03 09 00 05 35   ....5..........5
    0130  03 19 10 02 09 00 09 35 08 35 06 19 11 0e 09 01   .......5.5......
    0140  06 09 00 0d 35 12 35 10 35 06 19 01 00 09 00 1b   ....5.5.5.......
    0150  35 06 19 00 17 09 01 03 09 01 00 25 08 41 56 52   5..........%.AVR
    0160  43 50 20 43 54 09 03 11 09 00 4f 35 64 09 00 00   CP CT.....O5d...
    0170  0a 00 01 00 04 09 00 01 35 03 19 11 0c 09 00 04   ........5.......
    0180  35 10 35 06 19 01 00 09 00 17 35 06 19 00 17 09   5.5.......5.....
    0190  01 03 09 00 05 35 03 19 10 02 09 00 09 35 08 35   .....5.......5.5
    01a0  06 19 11 0e 09 01 05 09 00 0d 35 12 35 10 35 06   ..........5.5.5.
    01b0  19 01 00 09 00 1b 35 06 19 00 17 09 01 03 09 01   ......5.........
    01c0  00 25 08 41 56 52 43 50 20 54 47 09 03 11 09 00   .%.AVRCP TG.....
    01d0  5f 35 53 09 00 00 0a 00 01 00 05 09 00 01 35 06   _5S...........5.
    01e0  19 11 12 19 12 03 09 00 04 35 0c 35 03 19 01 00   .........5.5....
    01f0  35 05 19 00 03 08 0c 09 00 05 35 03 19 10 02 09   5.........5.....
    0200  00 09 35 08 35 06 19 11 08 09 01 02 09 01 00 25   ..5.5..........%
    0210  15 48 65 61 64 73 65 74 20 56 6f 69 63 65 20 67   .Headset Voice g
    0220  61 74 65 77 61 79 35 96 09 00 00 0a 00 01 00 06   ateway5.........
    0230  09 00 01 35 11 1c 00 00 11 08 00 00 10 00 80 00   ...5............
    0240  00 80 5f 9b 34 fb 09 00 04 35 0c 35 03 19 01 00   .._.4....5.5....
    0250  35 05 19 00 03 08 03 09 00 05 35 03 19 10 02 09   5.........5.....
    0260  00 09 35 16 35 14 1c 00 00 11 08 00 00 10 00 80   ..5.5...........
    0270  00 00 80 5f 9b 34 fb 09 01 02 09 01 00 25 3f 3a   ..._.4.......%?:
    0280  31 2e 37 31 2f 50 72 6f 66 69 6c 65 2f 48 53 50   1.71/Profile/HSP
    0290  48 53 50 72 6f 66 69 6c 65 2f 30 30 30 30 31 31   HSProfile/000011
    02a0  30 38 2d 30 30 30 30 2d 31 30 30 30 2d 38 30 30   08-0000-1000-800
    02b0  30 2d 30 30 38 30 35 66 39 62 33 34 66 62 35 4f   0-00805f9b34fb5O
    02c0  09 00 00 0a 00 01 00 07 09 00 01 35 03 19 11 0b   ...........5....
    02d0  09 00 04 35 10 35 06 19 01 00 09 00 19 35 06 19   ...5.5.......5..
    02e0  00 19 09 01 03 09 00 05 35 03 19 10 02 09 00 09   ........5.......
    02f0  35 08 35 06 19 11 0d 09 01 03 09 01 00 25 0a 41   5.5..........%.A
    0300  75 64 69 6f 20 53 69 6e 6b 09 03 11 09 00 0f 35   udio Sink......5
    0310  51 09 00 00 0a 00 01 00 08 09 00 01 35 03 19 11   Q...........5...
    0320  0a 09 00 04 35 10 35 06 19 01 00 09 00 19 35 06   ....5.5.......5.
    0330  19 00 19 09 01 03 09 00 05 35 03 19 10 02 09 00   .........5......
    0340  09 35 08 35 06 19 11 0d 09 01 03 09 01 00 25 0c   .5.5..........%.
    0350  41 75 64 69 6f 20 53 6f 75 72 63 65 09 03 11 09   Audio Source....
    0360  00 0f                                             ..
controller            host                  HCI_EVT  8      Rcvd Number of Completed Packets
    0000  04 13 05 01 47 00 01 00                           ....G...
controller            host                  HCI_EVT  7      Rcvd Number of Completed Packets
    0000  13 05 01 47 00 01 00                              ...G...
Nintendo_f0:8d:69 (Wireless Controller) localhost ()          L2CAP    16     Rcvd Disconnection Request (SCID: 0x0123, DCID: 0x0040, PSM: 0x0001, Service: SDP)
    0000  47 20 0c 00 08 00 01 00 06 03 04 00 40 00 23 01   G ..........@.#.
Nintendo_f0:8d:69 (Wireless Controller) localhost ()          L2CAP    17     Rcvd Disconnection Request (SCID: 0x0123, DCID: 0x0040, PSM: 0x0001, Service: SDP)
    0000  02 47 20 0c 00 08 00 01 00 06 03 04 00 40 00 23   .G ..........@.#
    0010  01                                                .
localhost ()          Nintendo_f0:8d:69 (Wireless Controller) L2CAP    16     Sent Disconnection Response (SCID: 0x0123, DCID: 0x0040, PSM: 0x0001, Service: SDP)
    0000  47 00 0c 00 08 00 01 00 07 03 04 00 40 00 23 01   G...........@.#.
localhost ()          Nintendo_f0:8d:69 (Wireless Controller) L2CAP    17     Sent Disconnection Response (SCID: 0x0123, DCID: 0x0040, PSM: 0x0001, Service: SDP)
    0000  02 47 00 0c 00 08 00 01 00 07 03 04 00 40 00 23   .G...........@.#
    0010  01                                                .
controller            host                  HCI_EVT  8      Rcvd Number of Completed Packets
    0000  04 13 05 01 47 00 01 00                           ....G...
controller            host                  HCI_EVT  7      Rcvd Number of Completed Packets
    0000  13 05 01 47 00 01 00                              ...G...
controller            host                  HCI_EVT  8      Rcvd Link Key Request
    0000  17 06 69 8d f0 e9 b6 98                           ..i.....
controller            host                  HCI_EVT  9      Rcvd Link Key Request
    0000  04 17 06 69 8d f0 e9 b6 98                        ...i.....
host                  controller            HCI_CMD  25     Sent Link Key Request Reply
    0000  0b 04 16 69 8d f0 e9 b6 98 11 35 02 77 d7 17 11   ...i......5.w...
    0010  ac 5e 4e 78 b2 8a 4f c6 fb                        .^Nx..O..
host                  controller            HCI_CMD  26     Sent Link Key Request Reply
    0000  01 0b 04 16 69 8d f0 e9 b6 98 11 35 02 77 d7 17   ....i......5.w..
    0010  11 ac 5e 4e 78 b2 8a 4f c6 fb                     ..^Nx..O..
controller            host                  HCI_EVT  13     Rcvd Command Complete (Link Key Request Reply)
    0000  04 0e 0a 01 0b 04 00 69 8d f0 e9 b6 98            .......i.....
controller            host                  HCI_EVT  12     Rcvd Command Complete (Link Key Request Reply)
    0000  0e 0a 01 0b 04 00 69 8d f0 e9 b6 98               ......i.....
controller            host                  HCI_EVT  7      Rcvd Encryption Change
    0000  04 08 04 00 47 00 01                              ....G..
controller            host                  HCI_EVT  6      Rcvd Encryption Change
    0000  08 04 00 47 00 01                                 ...G..
host                  controller            HCI_CMD  6      Sent Read Encryption Key Size
    0000  01 08 14 02 47 00                                 ....G.
host                  controller            HCI_CMD  5      Sent Read Encryption Key Size
    0000  08 14 02 47 00                                    ...G.
Nintendo_f0:8d:69 (Wireless Controller) localhost ()          L2CAP    16     Rcvd Connection Request (HID-Control, SCID: 0x0123)
    0000  47 20 0c 00 08 00 01 00 02 04 04 00 11 00 23 01   G ............#.
    100 15.911707      Nintendo_f0:8d:69 (Wireless Controller) localhost ()          L2CAP    17     Rcvd Connection Request (HID-Control, SCID: 0x0123)
    0000  02 47 20 0c 00 08 00 01 00 02 04 04 00 11 00 23   .G ............#
    0010  01                                                .
    101 15.911749      localhost ()          Nintendo_f0:8d:69 (Wireless Controller) L2CAP    20     Sent Connection Response - Pending (SCID: 0x0123)
    0000  47 00 10 00 0c 00 01 00 03 04 08 00 40 00 23 01   G...........@.#.
    0010  01 00 01 00                                       ....
    102 15.911749      localhost ()          Nintendo_f0:8d:69 (Wireless Controller) L2CAP    21     Sent Connection Response - Pending (SCID: 0x0123)
    0000  02 47 00 10 00 0c 00 01 00 03 04 08 00 40 00 23   .G...........@.#
    0010  01 01 00 01 00                                    .....
    103 15.915335      controller            host                  HCI_EVT  10     Rcvd Command Complete (Read Encryption Key Size)
    0000  04 0e 07 01 08 14 00 47 00 10                     .......G..
    104 15.915335      controller            host                  HCI_EVT  9      Rcvd Command Complete (Read Encryption Key Size)
    0000  0e 07 01 08 14 00 47 00 10                        ......G..
    105 15.915407      localhost ()          Nintendo_f0:8d:69 (Wireless Controller) L2CAP    21     Sent Connection Response - Success (SCID: 0x0123, DCID: 0x0040)
    0000  02 47 00 10 00 0c 00 01 00 03 04 08 00 40 00 23   .G...........@.#
    0010  01 00 00 00 00                                    .....
    106 15.915419      localhost ()          Nintendo_f0:8d:69 (Wireless Controller) L2CAP    17     Sent Configure Request (DCID: 0x0123)
    0000  02 47 00 0c 00 08 00 01 00 04 03 04 00 23 01 00   .G...........#..
    0010  00                                                .
    107 15.915407      localhost ()          Nintendo_f0:8d:69 (Wireless Controller) L2CAP    20     Sent Connection Response - Success (SCID: 0x0123, DCID: 0x0040)
    0000  47 00 10 00 0c 00 01 00 03 04 08 00 40 00 23 01   G...........@.#.
    0010  00 00 00 00                                       ....
    108 15.915419      localhost ()          Nintendo_f0:8d:69 (Wireless Controller) L2CAP    16     Sent Configure Request (DCID: 0x0123)
    0000  47 00 0c 00 08 00 01 00 04 03 04 00 23 01 00 00   G...........#...
    109 15.916342      controller            host                  HCI_EVT  7      Rcvd Number of Completed Packets
    0000  13 05 01 47 00 01 00                              ...G...
    110 15.916342      controller            host                  HCI_EVT  8      Rcvd Number of Completed Packets
    0000  04 13 05 01 47 00 01 00                           ....G...
    111 15.920336      controller            host                  HCI_EVT  8      Rcvd Number of Completed Packets
    0000  04 13 05 01 47 00 01 00                           ....G...
    112 15.920336      controller            host                  HCI_EVT  7      Rcvd Number of Completed Packets
    0000  13 05 01 47 00 01 00                              ...G...
    113 15.922336      controller            host                  HCI_EVT  7      Rcvd Number of Completed Packets
    0000  13 05 01 47 00 01 00                              ...G...
    114 15.922336      controller            host                  HCI_EVT  8      Rcvd Number of Completed Packets
    0000  04 13 05 01 47 00 01 00                           ....G...
    115 15.962917      Nintendo_f0:8d:69 (Wireless Controller) localhost ()          L2CAP    21     Rcvd Configure Request (DCID: 0x0040)
    0000  02 47 20 10 00 0c 00 01 00 04 05 08 00 40 00 00   .G ..........@..
    0010  00 01 02 a0 02                                    .....
    116 15.962917      Nintendo_f0:8d:69 (Wireless Controller) localhost ()          L2CAP    20     Rcvd Configure Request (DCID: 0x0040)
    0000  47 20 10 00 0c 00 01 00 04 05 08 00 40 00 00 00   G ..........@...
    0010  01 02 a0 02                                       ....
    117 15.962988      localhost ()          Nintendo_f0:8d:69 (Wireless Controller) L2CAP    23     Sent Configure Response - Success (SCID: 0x0123)
    0000  02 47 00 12 00 0e 00 01 00 05 05 0a 00 23 01 00   .G...........#..
    0010  00 00 00 01 02 a0 02                              .......
    118 15.962988      localhost ()          Nintendo_f0:8d:69 (Wireless Controller) L2CAP    22     Sent Configure Response - Success (SCID: 0x0123)
    0000  47 00 12 00 0e 00 01 00 05 05 0a 00 23 01 00 00   G...........#...
    0010  00 00 01 02 a0 02                                 ......
    119 15.970316      controller            host                  HCI_EVT  7      Rcvd Number of Completed Packets
    0000  13 05 01 47 00 01 00                              ...G...
    120 15.970316      controller            host                  HCI_EVT  8      Rcvd Number of Completed Packets
    0000  04 13 05 01 47 00 01 00                           ....G...
    121 15.970533      Nintendo_f0:8d:69 (Wireless Controller) localhost ()          L2CAP    23     Rcvd Configure Response - Success (SCID: 0x0040)
    0000  02 47 20 12 00 0e 00 01 00 05 03 0a 00 40 00 00   .G ..........@..
    0010  00 00 00 01 02 a0 02                              .......
    122 15.970533      Nintendo_f0:8d:69 (Wireless Controller) localhost ()          L2CAP    22     Rcvd Configure Response - Success (SCID: 0x0040)
    0000  47 20 12 00 0e 00 01 00 05 03 0a 00 40 00 00 00   G ..........@...
    0010  00 00 01 02 a0 02                                 ......
    123 16.006570      Nintendo_f0:8d:69 (Wireless Controller) localhost ()          L2CAP    17     Rcvd Connection Request (HID-Interrupt, SCID: 0x0124)
    0000  02 47 20 0c 00 08 00 01 00 02 06 04 00 13 00 24   .G ............$
    0010  01                                                .
    124 16.006570      Nintendo_f0:8d:69 (Wireless Controller) localhost ()          L2CAP    16     Rcvd Connection Request (HID-Interrupt, SCID: 0x0124)
    0000  47 20 0c 00 08 00 01 00 02 06 04 00 13 00 24 01   G ............$.
    125 16.006653      localhost ()          Nintendo_f0:8d:69 (Wireless Controller) L2CAP    21     Sent Connection Response - Pending (SCID: 0x0124)
    0000  02 47 00 10 00 0c 00 01 00 03 06 08 00 41 00 24   .G...........A.$
    0010  01 01 00 02 00                                    .....
    126 16.006653      localhost ()          Nintendo_f0:8d:69 (Wireless Controller) L2CAP    20     Sent Connection Response - Pending (SCID: 0x0124)
    0000  47 00 10 00 0c 00 01 00 03 06 08 00 41 00 24 01   G...........A.$.
    0010  01 00 02 00                                       ....
    127 16.006807      localhost ()          Nintendo_f0:8d:69 (Wireless Controller) L2CAP    20     Sent Connection Response - Success (SCID: 0x0124, DCID: 0x0041)
    0000  47 00 10 00 0c 00 01 00 03 06 08 00 41 00 24 01   G...........A.$.
    0010  00 00 00 00                                       ....
    128 16.006827      localhost ()          Nintendo_f0:8d:69 (Wireless Controller) L2CAP    16     Sent Configure Request (DCID: 0x0124)
    0000  47 00 0c 00 08 00 01 00 04 04 04 00 24 01 00 00   G...........$...
    129 16.006807      localhost ()          Nintendo_f0:8d:69 (Wireless Controller) L2CAP    21     Sent Connection Response - Success (SCID: 0x0124, DCID: 0x0041)
    0000  02 47 00 10 00 0c 00 01 00 03 06 08 00 41 00 24   .G...........A.$
    0010  01 00 00 00 00                                    .....
    130 16.006827      localhost ()          Nintendo_f0:8d:69 (Wireless Controller) L2CAP    17     Sent Configure Request (DCID: 0x0124)
    0000  02 47 00 0c 00 08 00 01 00 04 04 04 00 24 01 00   .G...........$..
    0010  00                                                .
    131 16.010332      controller            host                  HCI_EVT  7      Rcvd Number of Completed Packets
    0000  13 05 01 47 00 01 00                              ...G...
    132 16.010332      controller            host                  HCI_EVT  8      Rcvd Number of Completed Packets
    0000  04 13 05 01 47 00 01 00                           ....G...
    133 16.011330      controller            host                  HCI_EVT  8      Rcvd Number of Completed Packets
    0000  04 13 05 01 47 00 01 00                           ....G...
    134 16.011330      controller            host                  HCI_EVT  7      Rcvd Number of Completed Packets
    0000  13 05 01 47 00 01 00                              ...G...
    135 16.012330      controller            host                  HCI_EVT  7      Rcvd Number of Completed Packets
    0000  13 05 01 47 00 01 00                              ...G...
    136 16.012330      controller            host                  HCI_EVT  8      Rcvd Number of Completed Packets
    0000  04 13 05 01 47 00 01 00                           ....G...
    137 16.032913      Nintendo_f0:8d:69 (Wireless Controller) localhost ()          L2CAP    21     Rcvd Configure Request (DCID: 0x0041)
    0000  02 47 20 10 00 0c 00 01 00 04 07 08 00 41 00 00   .G ..........A..
    0010  00 01 02 a0 02                                    .....
    138 16.032913      Nintendo_f0:8d:69 (Wireless Controller) localhost ()          L2CAP    20     Rcvd Configure Request (DCID: 0x0041)
    0000  47 20 10 00 0c 00 01 00 04 07 08 00 41 00 00 00   G ..........A...
    0010  01 02 a0 02                                       ....
    139 16.032983      localhost ()          Nintendo_f0:8d:69 (Wireless Controller) L2CAP    23     Sent Configure Response - Success (SCID: 0x0124)
    0000  02 47 00 12 00 0e 00 01 00 05 07 0a 00 24 01 00   .G...........$..
    0010  00 00 00 01 02 a0 02                              .......
    140 16.032983      localhost ()          Nintendo_f0:8d:69 (Wireless Controller) L2CAP    22     Sent Configure Response - Success (SCID: 0x0124)
    0000  47 00 12 00 0e 00 01 00 05 07 0a 00 24 01 00 00   G...........$...
    0010  00 00 01 02 a0 02                                 ......
    141 16.035536      Nintendo_f0:8d:69 (Wireless Controller) localhost ()          L2CAP    23     Rcvd Configure Response - Success (SCID: 0x0041)
    0000  02 47 20 12 00 0e 00 01 00 05 04 0a 00 41 00 00   .G ..........A..
    0010  00 00 00 01 02 a0 02                              .......
    142 16.035536      Nintendo_f0:8d:69 (Wireless Controller) localhost ()          L2CAP    22     Rcvd Configure Response - Success (SCID: 0x0041)
    0000  47 20 12 00 0e 00 01 00 05 04 0a 00 41 00 00 00   G ..........A...
    0010  00 00 01 02 a0 02                                 ......
    143 16.037122      localhost ()          Nintendo_f0:8d:69 (Wireless Controller) HID      11     Sent GET_REPORT - Size: Buffer equal to report size, Report Type: Feature
    0000  02 47 00 06 00 02 00 23 01 43 05                  .G.....#.C.
    144 16.037122      localhost ()          Nintendo_f0:8d:69 (Wireless Controller) HID      10     Sent GET_REPORT - Size: Buffer equal to report size, Report Type: Feature
    0000  47 00 06 00 02 00 23 01 43 05                     G.....#.C.
    145 16.038256      controller            host                  HCI_EVT  8      Rcvd Number of Completed Packets
    0000  04 13 05 01 47 00 01 00                           ....G...
    146 16.038256      controller            host                  HCI_EVT  7      Rcvd Number of Completed Packets
    0000  13 05 01 47 00 01 00                              ...G...
    147 16.041252      controller            host                  HCI_EVT  7      Rcvd Number of Completed Packets
    0000  13 05 01 47 00 01 00                              ...G...
    148 16.041252      controller            host                  HCI_EVT  8      Rcvd Number of Completed Packets
    0000  04 13 05 01 47 00 01 00                           ....G...
    149 16.104251      Nintendo_f0:8d:69 (Wireless Controller) localhost ()          HID      51     Rcvd DATA - Feature - unknown type
    0000  02 47 20 2e 00 2a 00 40 00 a3 05 00 00 00 00 00   .G ..*.@........
    0010  00 00 22 00 22 00 22 00 de 00 de 00 de 1c 02 1c   ..".".".........
    0020  02 00 20 00 e0 00 20 00 e0 00 20 00 e0 0b 00 db   .. ... ... .....
    0030  5c 18 0a                                          \..
    150 16.104251      Nintendo_f0:8d:69 (Wireless Controller) localhost ()          HID      50     Rcvd DATA - Feature - unknown type
    0000  47 20 2e 00 2a 00 40 00 a3 05 00 00 00 00 00 00   G ..*.@.........
    0010  00 22 00 22 00 22 00 de 00 de 00 de 1c 02 1c 02   ."."."..........
    0020  00 20 00 e0 00 20 00 e0 00 20 00 e0 0b 00 db 5c   . ... ... .....\
    0030  18 0a                                             ..
    151 16.104380      localhost ()          Nintendo_f0:8d:69 (Wireless Controller) HID      10     Sent GET_REPORT - Size: Buffer equal to report size, Report Type: Feature
    0000  47 00 06 00 02 00 23 01 43 a3                     G.....#.C.
    152 16.104380      localhost ()          Nintendo_f0:8d:69 (Wireless Controller) HID      11     Sent GET_REPORT - Size: Buffer equal to report size, Report Type: Feature
    0000  02 47 00 06 00 02 00 23 01 43 a3                  .G.....#.C.
    153 16.107122      Nintendo_f0:8d:69 (Wireless Controller) localhost ()          HID      87     Rcvd DATA - Input - unknown type
    0000  47 20 53 00 4f 00 41 00 a1 11 c0 00 80 80 80 80   G S.O.A.........
    0010  08 00 04 00 00 e6 55 00 ad ff 17 ff 43 00 b8 ff   ......U.....C...
    0020  d8 20 9b ff 00 00 00 00 00 67 00 00 00 00 80 00   . .......g......
    0030  00 00 80 00 00 00 00 80 00 00 00 80 00 00 00 00   ................
    0040  80 00 00 00 80 00 00 00 00 80 00 00 00 80 00 00   ................
    0050  00 00 00 94 07 75 46                              .....uF
    154 16.107122      Nintendo_f0:8d:69 (Wireless Controller) localhost ()          HID      88     Rcvd DATA - Input - unknown type
    0000  02 47 20 53 00 4f 00 41 00 a1 11 c0 00 80 80 80   .G S.O.A........
    0010  80 08 00 04 00 00 e6 55 00 ad ff 17 ff 43 00 b8   .......U.....C..
    0020  ff d8 20 9b ff 00 00 00 00 00 67 00 00 00 00 80   .. .......g.....
    0030  00 00 00 80 00 00 00 00 80 00 00 00 80 00 00 00   ................
    0040  00 80 00 00 00 80 00 00 00 00 80 00 00 00 80 00   ................
    0050  00 00 00 00 94 07 75 46                           ......uF
    155 16.109496      Nintendo_f0:8d:69 (Wireless Controller) localhost ()          HID      87     Rcvd DATA - Input - unknown type
 
KurtE said:
The Blue one I believe connected on Linux...
I think I posted this one earlier, but the edited WireShark capture from that:
Yeah that's pretty much what I was seeing when I attached it to my android phone :)

Notice the SDP and GAP stuff buried in there :(
 
Good Morning @KurtE

Ok went back to UHS2 and tried something with the blue controller.

Used pairing mode and received a "Pairing Successful Message" and then it pretty much dies at the same spot that I showed before. But then out of curiosity I change to no pair mode with:
Code:
// After that you can simply create the instance like so and then press the PS button on the device
PS4BT PS4(&Btd);
and seemed to get a bit further and did receive the SDP messages that I was expecting:
Code:
SPI With Transations

PS4 Bluetooth Library Started
<<(00,0033F18C):12 01 00 02 FF 01 01 40 5C 0A E8 21 12 01 01 02 03 01 

BTD ConfigureDevice
<<(00,000000B6):12 01 00 02 FF 01 01 40 5C 0A E8 21 12 01 01 02 03 01 

BTD Init
Addr: 01
<<(00,000AB786):09 02 DA 00 04 01 00 E0 00 

<<(00,0000010F):09 02 DA 00 04 01 00 E0 00 09 04 00 00 03 FF 01 01 00 07 05 81 03 10 00 01 07 05 82 02 40 00 01 07 05 02 02 40 00 01 09 04 01 00 02 FF 01 01 00 07 05 83 01 00 00 01 07 05 03 01 00 00 01 09 04 

Endpoint descriptor:
Length:		07
Type:		05
Address:	81
Attributes:	03
MaxPktSize:	0010
Poll Intrv:	01
Endpoint descriptor:
Length:		07
Type:		05
Address:	82
Attributes:	02
MaxPktSize:	0040
Poll Intrv:	01
Endpoint descriptor:
Length:		07
Type:		05
Address:	02
Attributes:	02
MaxPktSize:	0040
Poll Intrv:	01
<<(00,000000AD):01 01 02 FF 01 01 00 07 05 83 01 09 00 01 07 05 03 01 09 00 01 09 04 01 02 02 FF 01 01 00 07 05 83 01 11 00 01 07 05 03 01 11 00 01 09 04 01 03 02 FF 01 01 00 07 05 83 01 19 00 01 07 05 03 01 

<<(00,0000009B):19 00 01 09 04 01 04 02 FF 01 01 00 07 05 83 01 21 00 01 07 05 03 01 21 00 01 09 04 01 05 02 FF 01 01 00 07 05 83 01 31 00 01 07 05 03 01 31 00 01 09 04 02 00 02 FF FF FF 00 07 05 84 02 20 00 

<<(00,00000068):01 07 05 04 02 20 00 01 09 04 03 00 00 FE 01 01 00 09 21 05 88 13 40 00 10 01 

Bluetooth Dongle Initialized
>>(00,0001853F03 0C 00 

Connection established
<<(01,00018D01):0E 04 01 03 0C 00 

HCI Reset complete
>>(00,0000002724 0C 03 04 08 00 

<<(01,000003E7):0E 04 01 24 0C 00 

Write class of device
>>(00,0000002709 10 00 

<<(01,000003EF):0E 0A 01 09 10 00 E0 0E 00 86 19 00 

Local Bluetooth Address: 00:19:86:00:0E:E0
>>(00,0000002D01 10 00 

<<(01,000003EA):0E 0C 01 01 10 00 06 00 10 06 0F 00 0E 22 

HCI version: 06
Wait For Incoming Connection Request
>>(00,000007DD1A 0C 01 02 

<<(01,00000BB0):0E 04 01 1A 0C 00 

<<(01,00634A48):04 0A DF 40 7E E9 B6 98 08 25 00 01 

Gamepad is connecting
Class of device: 00 25 08
Incoming Connection Request
>>(00,0000003419 04 0A DF 40 7E E9 B6 98 01 00 00 00 

<<(01,000003E3):0F 04 00 01 19 04 

<<(01,00005A45):07 FF 00 DF 40 7E E9 B6 98 57 69 72 65 6C 65 73 73 20 43 6F 6E 74 72 6F 6C 6C 65 72 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

Remote Name: Wireless Controller
PS4/PS5 controller is connecting
>>(00,0000004B09 04 07 DF 40 7E E9 B6 98 00 

Ignore HCI Event: 09
<<(01,00000FA0):00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

<<(01,00000FA0):00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

<<(01,00000F9F):00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

<<(01,0000004D):00 

<<(01,0000032B):0F 04 00 01 09 04 

<<(01,0002653F):12 08 00 DF 40 7E E9 B6 98 00 

Ignore HCI Event: 12
Ignore HCI Event: 12
......... Message repeats whole bunch of times
Ignore HCI Event: 12
Ignore HCI Event: 12
<<(01,000251B5):03 0B 00 0B 00 DF 40 7E E9 B6 98 01 00 

Connection established
Connected to Device: 98:B6:E9:7E:40:DF
Send HID Control Connection Request
>>(02,0000002C0B 20 0C 00 08 00 01 00 02 00 04 00 11 00 70 00 

Connection established
Connection established
........
Connection established
Connection established
Connection established
<<(01,00005DB6):1B 03 0B 00 05 

<<(02,00025D84):0B 20 0C 00 08 00 01 00 02 01 04 00 01 00 23 01 

L2CAP Connection Request - PSM: 00 01 SCID: 01 23 Identifier: 01
SDP Incoming Connection Request
>>(02,0000001F0B 20 10 00 0C 00 01 00 03 01 08 00 50 00 23 01 01 00 00 00 

>>(02,000004410B 20 10 00 0C 00 01 00 03 01 08 00 50 00 23 01 00 00 00 00 

>>(02,000008630B 20 10 00 0C 00 01 00 04 02 08 00 23 01 00 00 01 02 FF FF 

<<(01,00000F88):13 05 01 0B 00 02 00 

<<(01,000007D0):13 05 01 0B 00 02 00 

<<(02,00008101):0B 20 10 00 0C 00 01 00 04 02 08 00 50 00 00 00 01 02 A0 02 

SDP Configuration Request
>>(02,000000160B 20 12 00 0E 00 01 00 05 02 0A 00 23 01 00 00 00 00 01 02 A0 02 

<<(02,000003EA):0B 20 12 00 0E 00 01 00 05 02 0A 00 50 00 00 00 00 00 01 02 A0 02 

SDP Configuration Complete
SDP Successfully Configured
<<(02,0000EA62):0B 20 18 00 14 00 50 00 06 00 01 00 0F 35 03 19 01 00 08 00 35 05 0A 00 00 FF FF 00 

SDP_SERVICE_SEARCH_ATTRIBUTE_REQUEST
UUID: 0100
Length: 000F
Data: 35 03 19 01 00 08 00 35 05 0A 00 00 FF FF 00 
>>(02,000000280B 20 0E 00 0A 00 23 01 07 00 01 00 05 00 02 35 00 00 

<<(01,00000F7A):13 05 01 0B 00 02 00 

<<(02,0000792E):0B 20 0C 00 08 00 01 00 06 03 04 00 50 00 23 01 

Disconnect Request: SDP Channel
Disconnected SDP Channel
>>(02,000000180B 20 0C 00 08 00 01 00 07 03 04 00 50 00 23 01 

<<(01,0000EA43):17 06 DF 40 7E E9 B6 98 

Received Key Request
>>(00,000000280C 04 06 DF 40 7E E9 B6 98 

<<(01,000003EC):0E 0A 01 0C 04 00 DF 40 7E E9 B6 98 

<<(01,0001F7D7):13 05 01 0B 00 01 00 

<<(01,0281A1D0):05 04 00 0B 00 08

At this point it seems to die after it gets the receive key request. Just another data point :)
 
Part 2
For that other PS4 controller I have it is very similar but the key request is slightly different;
Code:
HCI version: 06
Wait For Incoming Connection Request
>>(00,000007DE1A 0C 01 02 

<<(01,00000BB1):0E 04 01 1A 0C 00 

<<(01,00D2BD3D):04 0A D3 EB E7 E9 B6 98 08 25 00 01 

Gamepad is connecting
Class of device: 00 25 08
Incoming Connection Request
>>(00,0000003419 04 0A D3 EB E7 E9 B6 98 01 00 00 00 

<<(01,000003E3):0F 04 00 01 19 04 

<<(01,000075A1):07 FF 00 D3 EB E7 E9 B6 98 57 69 72 65 6C 65 73 73 20 43 6F 6E 74 72 6F 6C 6C 65 72 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

Remote Name: Wireless Controller
PS4/PS5 controller is connecting
>>(00,0000004B09 04 07 D3 EB E7 E9 B6 98 00 

<<(01,00000D6A):00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

<<(01,00000DEC):00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

<<(01,00000FA0):00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

<<(01,00000373):00 

<<(01,000003EE):0F 04 00 01 09 04 

<<(01,000274EA):12 08 00 D3 EB E7 E9 B6 98 00 

Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
Ignore HCI Event: 12
<<(01,00029816):03 0B 00 0B 00 D3 EB E7 E9 B6 98 01 00 

Connection established
Connected to Device: 98:B6:E9:E7:EB:D3
Send HID Control Connection Request
>>(02,0000002C0B 20 0C 00 08 00 01 00 02 00 04 00 11 00 70 00 

Connection established
Connection established
Connection established
Connection established
Connection established
Connection established
Connection established
Connection established
Connection established
Connection established
Connection established
Connection established
Connection established
Connection established
Connection established
Connection established
Connection established
Connection established
Connection established
Connection established
Connection established
Connection established
Connection established
Connection established
Connection established
<<(01,00006586):1B 03 0B 00 05 

<<(02,00024DF2):0B 20 0C 00 08 00 01 00 02 01 04 00 01 00 23 01 

L2CAP Connection Request - PSM: 00 01 SCID: 01 23 Identifier: 01
SDP Incoming Connection Request
>>(02,0000001F0B 20 10 00 0C 00 01 00 03 01 08 00 50 00 23 01 01 00 00 00 

>>(02,000004410B 20 10 00 0C 00 01 00 03 01 08 00 50 00 23 01 00 00 00 00 

>>(02,000008630B 20 10 00 0C 00 01 00 04 02 08 00 23 01 00 00 01 02 FF FF 

<<(01,00000952):13 05 01 0B 00 01 00 

<<(01,00000E05):13 05 01 0B 00 02 00 

<<(02,00007D1F):0B 20 10 00 0C 00 01 00 04 02 08 00 50 00 00 00 01 02 A0 02 

SDP Configuration Request
>>(02,000000150B 20 12 00 0E 00 01 00 05 02 0A 00 23 01 00 00 00 00 01 02 A0 02 

<<(02,000003EA):0B 20 12 00 0E 00 01 00 05 02 0A 00 50 00 00 00 00 00 01 02 A0 02 

SDP Configuration Complete
SDP Successfully Configured
<<(01,00000B98):13 05 01 0B 00 02 00 

<<(02,0000DAE6):0B 20 18 00 14 00 50 00 06 00 01 00 0F 35 03 19 01 00 08 00 35 05 0A 00 00 FF FF 00 

SDP_SERVICE_SEARCH_ATTRIBUTE_REQUEST
UUID: 0100
Length: 000F
Data: 35 03 19 01 00 08 00 35 05 0A 00 00 FF FF 00 
>>(02,000000280B 20 0E 00 0A 00 23 01 07 00 01 00 05 00 02 35 00 00 

<<(02,00008C92):0B 20 0C 00 08 00 01 00 06 03 04 00 50 00 23 01 

Disconnect Request: SDP Channel
Disconnected SDP Channel
>>(02,000000180B 20 0C 00 08 00 01 00 07 03 04 00 50 00 23 01 

<<(01,00000F89):13 05 01 0B 00 02 00 

<<(01,0000E28F):17 06 D3 EB E7 E9 B6 98 

Received Key Request
>>(00,000000290C 04 06 D3 EB E7 E9 B6 98 

<<(01,000003EC):0E 0A 01 0C 04 00 D3 EB E7 E9 B6 98 

<<(01,0279AEA3):05 04 00 0B 00 08
 
Morning @mjs513,

Just getting first coffee infusion.

I pushed up WIP, which is not working yet

But starting on the SDP stuff.

Debug output so far:
Code:
USB Host Testing
960
BluetoothController claim this=20005240 vid:pid=a12:1
    9 4 0 0 3 e0 1 1 0 7 5 81 3 10 0 1 7 5 2 2 40 0 1 7 5 82 2 40 0 1 9 4 1 0 2 e0 1 1 0 7 5 3 1 0 0 1 7 5 83 1 0 0 1 9 4 1 1 2 e0 1 1 0 7 5 
    3 1 9 0 1 7 5 83 1 9 0 1 9 4 1 2 2 e0 1 1 0 7 5 3 1 11 0 1 7 5 83 1 11 0 1 9 4 1 3 2 e0 1 1 0 7 5 3 1 19 0 1 7 5 83 1 19 0 1 9 4 1 4 2 e0 
    1 1 0 7 5 3 1 21 0 1 7 5 83 1 21 0 1 9 4 1 5 2 e0 1 1 0 7 5 3 1 31 0 1 7 5 83 1 31 0 1 
      rxep=1(16) txep=2(64) rx2ep=2(64)
HCI_RESET
>>(00):03 0C 00 
<<(01):0E 04 01 03 0C 00 
HCI_WRITE_CLASS_OF_DEV
>>(00):24 0C 03 04 08 00 
<<(01):0E 04 01 24 0C 00 
HCI_Read_BD_ADDR
>>(00):09 10 00 
<<(01):0E 0A 01 09 10 00 11 71 DA 7D 1A 00 
   BD Addr 0:1a:7d:da:71:11
HCI_Read_Local_Version_Information
>>(00):01 10 00 
<<(01):0E 0C 01 01 10 00 06 BB 22 06 0A 00 BB 22 
    Local Version: 6
HCI_WRITE_SCAN_ENABLE
>>(00):1A 0C 01 02 
<<(01):0E 04 01 1A 0C 00 
Write_Scan_enable Completed
*** Device Bluet a12:1 - connected ***
  product: CSR8510 A10
  BDADDR: 11:71:da:7d:1a:0
<<(01):04 0A 69 8D F0 E9 B6 98 08 25 00 01 
    Event: Incoming Connect -  69:8d:f0:e9:b6:98 CL:2508 LT:1
      Peripheral device
        Gamepad
BluetoothController::find_driver  driver 20005978
    *** Claimed ***
HCI_OP_REMOTE_NAME_REQ
>>(00):19 04 0A 69 8D F0 E9 B6 98 01 00 00 00 
*** BTHID Device Joystick1 0:0 - connected ***
  Serial:  
<<(01):0F 04 00 01 19 04 
<<(01):07 FF 00 69 8D F0 E9 B6 98 57 69 72 65 6C 65 73 
<<(01):73 20 43 6F 6E 74 72 6F 6C 6C 65 72 00 00 00 00 
<<(01):00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
<<(01):00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
<<(01):00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
<<(01):00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
<<(01):00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
<<(01):00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
<<(01):00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
<<(01):00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
<<(01):00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
<<(01):00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
<<(01):00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
<<(01):00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
<<(01):00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
<<(01):00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
<<(01):00 
    Event: handle_hci_remote_name_complete(0)
    Remote Name: Wireless Controller
HCI_OP_ACCEPT_CONN_REQ
>>(00):09 04 07 69 8D F0 E9 B6 98 00 
<<(01):0F 04 00 01 09 04 
<<(01):12 08 00 69 8D F0 E9 B6 98 00 
<<(01):03 0B 00 48 00 69 8D F0 E9 B6 98 01 00 
    Connection Complete - ST:0 LH:48
   Needs connect to device(PS4?)
<<(01):20 07 69 8D F0 E9 B6 98 01 
<<(01):1B 03 48 00 05 

=====================
<<(02):48 20 0C 00 08 00 01 00 02 01 04 00 01 00 23 01 
    L2CAP Connection Request: ID: 1, PSM: 1, SCID: 123
        <<< SDP PSM >>>
L2CAP_CMD_CONNECTION_RESPONSE
>>(02):48 20 10 00 0C 00 01 00 03 01 08 00 40 00 23 01 01 00 00 00 
L2CAP_CMD_CONNECTION_RESPONSE
>>(02):48 20 10 00 0C 00 01 00 03 01 08 00 40 00 23 01 00 00 00 00 
L2CAP_ConfigRequest
>>(02):48 20 10 00 0C 00 01 00 04 01 08 00 23 01 00 00 01 02 FF FF 
<<(01):13 05 01 48 00 01 00 
<<(01):13 05 01 48 00 01 00 
<<(01):13 05 01 48 00 01 00 

=====================
<<(02):48 20 10 00 0C 00 01 00 04 02 08 00 40 00 00 00 01 02 A0 02 
    L2CAP config Request: ID: 2, Dest:40, Flags:0,  Options: 1 2 a0 2
      SDP Configuration request
L2CAP_ConfigResponse
>>(02):48 20 12 00 0E 00 01 00 05 02 0A 00 23 01 00 00 00 00 01 02 A0 02 

=====================
<<(02):48 20 12 00 0E 00 01 00 05 01 0A 00 40 00 00 00 00 00 01 02 A0 02 
    L2CAP config Response: ID: 1, Source:40, Flags:0, Result:0, Config: 201
    SDP configuration complete
<<(01):13 05 01 48 00 01 00 

=====================
<<(02):48 20 18 00 14 00 40 00 06 00 01 00 0F 35 03 19 01 00 08 00 35 05 0A 00 00 FF FF 00 
    L2CAP disconnect request: ID: 0, Length:1, Dest:350f, Source:1903
I am slowly going through and seeing where I diverge from the Ubuntu trace that works.

EDIT:

One interesting difference is that our messages have 0x20 in 2nd byte for most everything (handle) like:
Code:
L2CAP_CMD_CONNECTION_RESPONSE
>>(02):48 [COLOR="#FF0000"]20 [/COLOR]10 00 0C 00 01 00 03 01 08 00 40 00 23 01 01 00 00 00 
L2CAP_CMD_CONNECTION_RESPONSE
>>(02):48 [COLOR="#FF0000"]20 [/COLOR]10 00 0C 00 01 00 03 01 08 00 40 00 23 01 00 00 00 00 
L2CAP_ConfigRequest
But at least sometimes on the Ubuntu run you see:
Code:
localhost ()          Nintendo_f0:8d:69 (Wireless Controller) L2CAP    20     Sent Connection Response - Success (SCID: 0x0123, DCID: 0x0040)
    0000  47 [COLOR="#FF0000"]00 [/COLOR]10 00 0c 00 01 00 03 01 08 00 40 00 23 01   G...........@.#.
Turns out both us and HS2 hard code this on all L2CAP handles:
Code:
void BluetoothController::sendL2CapCommand(uint16_t handle, uint8_t* data, uint8_t nbytes, uint8_t channelLow, uint8_t channelHigh)
{
    txbuf_[0] = handle & 0xff; // HCI handle with PB,BC flag
    txbuf_[1] = (((handle >> 8) & 0x0f) | 0x20);
Note: The flags are described in Bluetooth core.. P734 (0x20 says automatically flush-able, 0x20 sayd not automatically...)
 
Last edited:
@KurtE
Getting ready to go make another pot of coffee - been up since early this morning :)

Anyways - do you have the link to the Bluetooth Core Spec - can't seem to find a good one to get me to the right place? Also - you are showing 0x20 for both automatic and non-automatic?

Downloaded your latest updates and no luck with the Blue controller - still shows that 0x13.....

Now if I use the dongle that I paired with UHS2 and just try to connect without pairing it seems to get farther - so something different with the pairing on that Blue controller>
Code:
<<(01):04 0A DF 40 7E E9 B6 98 08 25 00 01 
    Event: Incoming Connect -  df:40:7e:e9:b6:98 CL:2508 LT:1
      Peripheral device
        Gamepad
BluetoothController::find_driver  driver 20005978
    *** Claimed ***
HCI_OP_REMOTE_NAME_REQ
>>(00):19 04 0A DF 40 7E E9 B6 98 01 00 00 00 
*** BTHID Device Joystick1 0:0 - connected ***
  Serial:  
<<(01):0F 04 00 01 19 04 
<<(01):07 FF 00 DF 40 7E E9 B6 98 57 69 72 65 6C 65 73 
<<(01):73 20 43 6F 6E 74 72 6F 6C 6C 65 72 00 00 00 00 
<<(01):00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
<<(01):00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
<<(01):00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
<<(01):00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
<<(01):00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
<<(01):00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
<<(01):00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
<<(01):00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
<<(01):00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
<<(01):00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
<<(01):00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
<<(01):00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
<<(01):00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
<<(01):00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
<<(01):00 
    Event: handle_hci_remote_name_complete(0)
    Remote Name: Wireless Controller
HCI_OP_ACCEPT_CONN_REQ
>>(00):09 04 07 DF 40 7E E9 B6 98 00 
<<(01):0F 04 00 01 09 04 
<<(01):12 08 00 DF 40 7E E9 B6 98 00 
<<(01):03 0B 00 0B 00 DF 40 7E E9 B6 98 01 00 
    Connection Complete - ST:0 LH:b
   Needs connect to device(PS4?)
<<(01):1B 03 0B 00 05 

=====================
<<(02):0B 20 0C 00 08 00 01 00 02 01 04 00 01 00 23 01 
    L2CAP Connection Request: ID: 1, PSM: 1, SCID: 123
        <<< SDP PSM >>>
L2CAP_CMD_CONNECTION_RESPONSE
>>(02):0B 20 10 00 0C 00 01 00 03 01 08 00 40 00 23 01 01 00 00 00 
L2CAP_CMD_CONNECTION_RESPONSE
>>(02):0B 20 10 00 0C 00 01 00 03 01 08 00 40 00 23 01 00 00 00 00 
L2CAP_ConfigRequest
>>(02):0B 20 10 00 0C 00 01 00 04 01 08 00 23 01 00 00 01 02 FF FF 
<<(01):13 05 01 0B 00 02 00 

=====================
<<(02):0B 20 10 00 0C 00 01 00 04 02 08 00 40 00 00 00 01 02 A0 02 
    L2CAP config Request: ID: 2, Dest:40, Flags:0,  Options: 1 2 a0 2
      SDP Configuration request
L2CAP_ConfigResponse
>>(02):0B 20 12 00 0E 00 01 00 05 02 0A 00 23 01 00 00 00 00 01 02 A0 02 

=====================
<<(02):0B 20 12 00 0E 00 01 00 05 01 0A 00 40 00 00 00 00 00 01 02 A0 02 
    L2CAP config Response: ID: 1, Source:40, Flags:0, Result:0, Config: 201
    SDP configuration complete
<<(01):13 05 01 0B 00 02 00 

=====================
<<(02):0B 20 18 00 14 00 40 00 06 00 01 00 0F 35 03 19 01 00 08 00 35 05 0A 00 00 FF FF 00 
    L2CAP disconnect request: ID: 0, Length:1, Dest:350f, Source:1903
 
I think I just sent you a link to a copy I have on my machine (onedrive)

But in case from some of my saved links I have: https://www.bluetooth.com/specifications/specs/core-specification/

Note: I have made a change since then, I noticed a difference on one message:
Code:
????????????????????????????
 0000  47 00 0c 00 08 00 01 00 04 02 04 00 23 01 00 00   G...........#...
<<(02):48 20 10 00 0C 00 01 00 04 02 08 00 40 00 00 00 01 02 A0 02 
    L2CAP config Request: ID: 2, Dest:40, Flags:0,  Options: 1 2 a0 2
      SDP Configuration request
That we were using one ID 0x40 and the were uxing 0x123 which is SCID instead of DCID (but line 1374)
 
Quick update, will try soon, but have some other distractions.

Ends with us getting an SDP disconnect request... We need to send a response I think...
 
I think I just sent you a link to a copy I have on my machine (onedrive)

But in case from some of my saved links I have: https://www.bluetooth.com/specifications/specs/core-specification/

Note: I have made a change since then, I noticed a difference on one message:
Code:
????????????????????????????
 0000  47 00 0c 00 08 00 01 00 04 02 04 00 23 01 00 00   G...........#...
<<(02):48 20 10 00 0C 00 01 00 04 02 08 00 40 00 00 00 01 02 A0 02 
    L2CAP config Request: ID: 2, Dest:40, Flags:0,  Options: 1 2 a0 2
      SDP Configuration request
That we were using one ID 0x40 and the were uxing 0x123 which is SCID instead of DCID (but line 1374)

Out of frustration I took the Blue controller over to a my Ubuntu laptop and it connected right up. I then installed wireshark and was able to see the connection packets but how the heck do you save it so you can the what's in the packet? :) Always get stuck with these things on what should be the easy part :)
 
I am back and starting to play again.
Take a look at this site: http://www.yts.rdy.jp/pic/GB002/GB002.html, good info on SDP and SPP integration!
I find that site sort of hard to read ;)
screenshot.jpg
Probably easier with the translated version :D

I am totally NOT a Wireshark expert!, But what I did for the versions I posted was to:
Export packet Dissections as plain Text
And then I choose to output Packet Summary Line, (Not column headings), Not packet Details, But with Packet Bytes

Like:screenshot2.jpg

Now to see what happens when I respond to the disconnect of SDP.
 
Neither am I but following you guidance got my dump and going to see whats going on. Interesting the first think I noticed with the blue controller is that it actually shows up as a Sony Wireless controller - going to look deeper.

Oh one thing I do remember is that UHS2 actually uses 2 sets of SCID/DCIDs one set for SDP and another set I guess would be what we are use to.
 
@KurtE
Been going through the PS4 wireshark dump from my Linux laptop and comparing to what I am seeing from trying to pair the PS4 "Blue" controller with USBHost so here goes
1.
Code:
<<(01):2F FF 01 DF 40 7E E9 B6 98 01 00 08 25 00 40 64 
<<(01):D7 05 03 24 11 00 12 14 09 57 69 72 65 6C 65 73 
<<(01):73 20 43 6F 6E 74 72 6F 6C 6C 65 72 09 10 02 00 
<<(01):4C 05 C4 05 00 01 00 00 00 00 00 00 00 00 00 00 
<<(01):00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
<<(01):00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
<<(01):00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
<<(01):00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
<<(01):00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
<<(01):00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
<<(01):00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
<<(01):00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
<<(01):00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
<<(01):00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
<<(01):00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
<<(01):00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
<<(01):00 
    Extended Inquiry Result - Count: 1
      BD:df:40:7e:e9:b6:98, PS:1, class: 2508
      Local Name: Wireless Controller
      Peripheral device
        Gamepad
BluetoothController::find_driver  driver 20005978
    *** Claimed ***
HCI_INQUIRY_CANCEL
>>(00):02 04 00 
*** BTHID Device Joystick1 0:0 - connected ***
  manufacturer: eless Controller
  product: Wireless Controller
  Serial:  
<<(01):0E 04 01 02 04 00 
HCI_CREATE_CONNECTION
>>(00):05 04 0D DF 40 7E E9 B6 98 18 CC 01 00 00 00 00 
<<(01):0F 04 00 01 05 04 
<<(01):03 0B 00 0B 00 DF 40 7E E9 B6 98 01 00 
    Connection Complete - ST:0 LH:b
HCI_AUTH_REQUESTED
>>(00):11 04 02 0B 00 
<<(01):0F 04 00 01 11 04 
<<(01):17 06 DF 40 7E E9 B6 98 
    Event: Link Key Request df:40:7e:e9:b6:98
HCI_LINK_KEY_NEG_REPLY
>>(00):0C 04 06 DF 40 7E E9 B6 98 
<<(01):0E 0A 01 0C 04 00 DF 40 7E E9 B6 98 
<<(01):16 06 DF 40 7E E9 B6 98 
    Event: Pin Code Request df:40:7e:e9:b6:98
Up until this point things seem to match although with the wireshark dump I do see where its asking for extended features:
Code:
22 9.420240       controller            host                  HCI_EVT  7      Rcvd Command Status (Read Remote Supported Features)
0000  04 0f 04 00 01 1b 04                              .......

    23 9.475243       controller            host                  HCI_EVT  6      Rcvd Max Slots Change
0000  04 1b 03 0c 00 05                                 ......

     24 9.765301       controller            host                  HCI_EVT  14     Rcvd Read Remote Supported Features
0000  04 0b 0b 00 0c 00 ff fe 8f fe d8 fd 7b 83         ............{.

     25 9.765391       host                  controller            HCI_CMD  7      Sent Read Remote Extended Features
0000  01 1c 04 03 0c 00 01                              .......

     26 9.766268       controller            host                  HCI_EVT  7      Rcvd Command Status (Read Remote Extended Features)
0000  04 0f 04 00 01 1c 04                              .......

2. With USBHost_t36 (UHT - getting tired of typing the whole thing :) after the link key request it goes on but then dies rather quickly:
Code:
HCI_PIN_CODE_REPLY
>>(00):0D 04 17 DF 40 7E E9 B6 98 04 30 30 30 30 00 00 00 00 00 00 00 00 00 00 00 00 
<<(01):0E 0A 01 0D 04 00 DF 40 7E E9 B6 98 
<<(01):1B 03 0B 00 05 
<<(01):18 17 DF 40 7E E9 B6 98 8E E8 9B 93 41 6D 8E ED 
<<(01):33 59 C0 10 39 58 17 6B 00 
    Event: Link Key Notificaton df:40:7e:e9:b6:98 Type:0
    key:8e e8 9b 93 41 6d 8e ed 33 59 c0 10 39 58 17 6b 
<<(01):06 03 00 0B 00 
    Event: HCI Authentication complete(0): handle: b
ConnectionRequest
>>(02):0B 20 0C 00 08 00 01 00 02 00 04 00 11 00 70 00 
<<(01):13 05 01 0B 00 01 00 
,,,, DIES at THIS POINT.......

3, With Linux joypad it continues with reconnecting with SPP .. going to attach the whole report for your reference.
View attachment Wireshark.txt
Don;t think you got that part of it incorporated yet.
 
Good Morning @KurtE
Decided to start going through PS3 dumps again and bounce it against the SSP web site. And from what I see it hanging while the ps3 is waiting for a IO capability response before SSP pairing ocurrs. See page 33 of the attached word document and where I have the double lines drawn in the .txt document.

View attachment PIC24FJ64GB002.zip

I translated that website so it would drive you crazy :)
 
Morning/afternoon @mjs513 - Thanks Mike, earlier I had used google translate to the site but I am not sure where I saved it too ;)

Will take a look at it again soon. The first place with my current stuff where we diverged from the wireshark stuff is I did not like the data that came with the disconnect message the Source and destination handles looked wrong... Will look again soon.

Doing some other diversions now ;)
 
Morning/afternoon @mjs513 - Thanks Mike, earlier I had used google translate to the site but I am not sure where I saved it too ;)

Will take a look at it again soon. The first place with my current stuff where we diverged from the wireshark stuff is I did not like the data that came with the disconnect message the Source and destination handles looked wrong... Will look again soon.

Doing some other diversions now ;)

Not a problem - wanted to get what I was seeing while it was still fresh in my head as well.

As you said back to other diversions.
 
I can see an old list of known-good USB dongles. I'm looking for a known good BT5.0 dongle, but the ones in the list are listed as not working. Is there an updated list?
 
I can see an old list of known-good USB dongles. I'm looking for a known good BT5.0 dongle, but the ones in the list are listed as not working. Is there an updated list?

Not that I am aware. At the moment BT 5.0 dongles are not supported.
 
IIRC :: three of us bought a Bt 5.0, or BLE?, dongle and work with it went nowhere.

It was just one of the same - but it seemed like a promising one.
 
Back
Top