PaulStoffregen / USBHost_t36

USB Host Library for Teensy 3.6 and 4.0
165 stars 85 forks source link

Joystick BT (ITC = 0) #54

Open mjs513 opened 3 years ago

mjs513 commented 3 years ago

PS4

  1. Failed to pair. Kept disconnecting and reconnecting. Restart T4.1 several times with a CSR 4.0 dongle.
  2. After a few restarts did get it to pair with the CSR 4.0 dongle

===================== BT rx2_data(23): 80 0 0 0 80 0 0 0 0 80 0 0 0 80 0 0 0 0 0 4a 8e c d5

===================== BT rx2_data(64): 48 20 53 0 4f 0 71 0 a1 11 c0 0 80 7f 7e 81 8 0 ec 0 0 6a 31 e 0 0 d 0 e4 ff 99 2 80 19 7c eb 0 0 0 0 0 3 0 0 0 0 80 0 0 0 80 0 0 0 0 80 0 0 0 80 0 0 0 0 HID HDR Data: len: 79, Type: 17 Con:0 LX: 128, LY: 127, RX: 126, RY: 129 L-Trig: 0, R-Trig: 0 Buttons: 0 Battery Status: 30 Accel-g's: 0.081177, -0.641113, 0.796875 Gyro-deg/sec: -1.566682, 0.000000, 0.727388 Pitch/Roll: 141.182129, 185.816589

3.  Switched to non-pair mode worked 1st time but if I restart the T4.1 it fails to link againg the PS4 or runs but not as a PS4 and then disconnects.  Or on another restart then it just doesn't connect.
```    Extended Inquiry Result - Count: 1
      BD:ea:94:9b:e2:1f:0, PS:1, class: 2508
      Local Name: Wireless Controller
      Peripheral device
        Gamepad

Note PS4 not recognized.

  1. Switched to a Broadcom dongle and same thing

XBOX ONE and Nintendo Switch Not supported needs in Blue tooth mode special connect code - SSP etc.

PS3 1, Can not get it to pair with a Broadcom dongle. 2, Using a CSR4.0 dongle does work:

BT rx2_data(58): 48 20 36 0 32 0 41 0 a1 1 0 0 0 0 0 7f 7f 7f 7f 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 3 4 14 0 0 0 0 23 6d 77 1 1e 1 fc 2 0 1 7c 2 0 
HID HDR Data: len: 50, Type: 1 Con:0

=====================
BT rx2_data(58): 48 20 36 0 32 0 41 0 a1 1 0 0 0 0 0 7f 7f 7f 7f 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 3 4 14 0 0 0 0 23 6d 77 1 1e 1 fc 2 0 1 7c 2 0 
HID HDR Data: len: 50, Type: 1 Con:0

=====================
BT rx2_data(58): 48 20 36 0 32 0 41 0 a1 1 0 0 0 0 0 7f 7f 7f 7f 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 3 4 14 0 0 0 0 23 6d 77 1 1e 1 fc 2 0 1 7c 2 0 
HID HDR Data: len: 50, Type: 1 Con:0
  1. PS3 doesn't seem to hang the Serial Monitor

Funny thing with these devices seeing raw data but now much on printing from the sketch?