mjs513
Senior Member+
@KurtE
Took break to play with PS4 again since I received the new PS4 clone.
Seems to hang the USBHost_t36 and I have to hit the pgm button to upload the sketch again:
dies here.
With the USBHost shield says its paired but the blue light on the PS4 doesn't stay on (keeps blinking) and no data:
stops at send connection request.
Took break to play with PS4 again since I received the new PS4 clone.
Seems to hang the USBHost_t36 and I have to hit the pgm button to upload the sketch again:
Code:
*** Device Bluet a5c:21e8 - connected ***
manufacturer: Broadcom Corp
product: BCM20702A0
Serial: 5CF3707752FD
BDADDR: fd:52:77:70:f3:5c
BT rx_data(16): 2f ff 1 d3 eb e7 e9 b6 98 1 0 8 25 0 ed 6c
BT rx_data(16): d5 5 3 24 11 0 12 14 9 57 69 72 65 6c 65 73
BT rx_data(16): 73 20 43 6f 6e 74 72 6f 6c 6c 65 72 9 10 2 0
BT rx_data(16): 4c 5 cc 9 0 1 0 0 0 0 0 0 0 0 0 0
BT rx_data(16): 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
BT rx_data(16): 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
BT rx_data(16): 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
BT rx_data(16): 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
BT rx_data(16): 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
BT rx_data(16): 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
BT rx_data(16): 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
BT rx_data(16): 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
BT rx_data(16): 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
BT rx_data(16): 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
BT rx_data(16): 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
BT rx_data(16): 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
BT rx_data(1): 0
Extended Inquiry Result - Count: 1
BD:d3:eb:e7:e9:b6:98, PS:1, class: 2508
Local Name: Wireless Controller
Peripheral device
Gamepad
BluetoothController::find_driver driver 20005a38
*** Claimed ***
HCI_INQUIRY_CANCEL called (02 04 00 )
*** BTHID Device Joystick1 0:0 - connected ***
product: Wireless Controller
Serial:
Control callback (bluetooth): 100 : 2 4 0
BT rx_data(6): e 4 1 2 4 0
Command Completed!
HCI_CREATE_CONNECTION called (05 04 0d d3 eb e7 e9 b6 98 18 cc 01 00 00 00 00 )
Control callback (bluetooth): 101 : 5 4 d d3 eb e7 e9 b6 98 18 cc 1 0 0 0 0
BT rx_data(6): f 4 0 1 5 4
Command 405 Status 0
BT rx_data(13): 3 b 0 b 0 d3 eb e7 e9 b6 98 1 0
Connection Complete - ST:0 LH:b
HCI_AUTH_REQUESTED called (11 04 02 0b 00 )
Control callback (bluetooth): 110 : 11 4 2 b 0
BT rx_data(6): f 4 0 1 11 4
Command 411 Status 0
BT rx_data(8): 17 6 d3 eb e7 e9 b6 98
Event: Link Key Request d3:eb:e7:e9:b6:98
HCI_LINK_KEY_NEG_REPLY called (0c 04 06 d3 eb e7 e9 b6 98 )
Control callback (bluetooth): 120 : c 4 6 d3 eb e7 e9 b6 98
BT rx_data(12): e a 1 c 4 0 d3 eb e7 e9 b6 98
Command Completed!
BT rx_data(8): 16 6 d3 eb e7 e9 b6 98
Event: Pin Code Request d3:eb:e7:e9:b6:98
HCI_PIN_CODE_REPLY called (0d 04 17 d3 eb e7 e9 b6 98 04 30 30 30 30 00 00 00 00 00 00 00 00 00 00 00 00 )
Control callback (bluetooth): 130 : d 4 17 d3 eb e7 e9 b6 98 4 30 30 30 30 0 0 0 0 0 0 0 0 0 0 0 0
BT rx_data(12): e a 1 d 4 0 d3 eb e7 e9 b6 98
Command Completed!
BT rx_data(5): 1b 3 b 0 5
BT rx_data(16): 18 17 d3 eb e7 e9 b6 98 ac 17 5c 55 67 e 12 34
BT rx_data(9): 30 80 7e ee 22 e7 61 81 0
Event: Link Key Notificaton d3:eb:e7:e9:b6:98 Type:0
key:ac 17 5c 55 67 0e 12 34 30 80 7e ee 22 e7 61 81
BT rx_data(5): 6 3 0 b 0
Event: HCI Authentication complete(0): handle: b
ConnectionRequest called(0b 20 0c 00 08 00 01 00 02 00 04 00 11 00 70 00 )
tx_data callback (bluetooth): 0 : b 20 c 0 8 0 1 0 2 0 4 0 11 0 70 0
BT rx_data(7): 13 5 1 b 0 1 0
With the USBHost shield says its paired but the blue light on the PS4 doesn't stay on (keeps blinking) and no data:
Code:
PS4 Bluetooth Library Started
Bluetooth Dongle Initialized
HCI Reset complete
Write class of device
Local Bluetooth Address: 00:19:86:00:0E:E0
Please enable discovery of your device
Gamepad found
HID device found
Now just create the instance like so:
BTHID bthid(&Btd);
And then press any button on the device
Remote Name: Wireless Controller
PS4/PS5 controller is connecting
Connecting to HID device
Connected to HID device
Received Key Request
Bluetooth pin is set too: 0000
Pairing successful with HID device
Send HID Control Connection Request