Open vathomass opened 2 years ago
Same issue. When it tries to connect after pairing I get a "PS" , the push of the PS button, and then the controller turns back off due to lack of connect.
Nevermind figured it out. Kind of silly. When it connect it registers a press of the PS button, and in the example code the PS Button performs a disconnect.
Hi, ... Connection Failed: 10
After a little digging (and zero understanding of the Bluetooth stack), it seems that something goes wrong after the Bluetooth dongle changes state to `HCI_REMOTE_NAME_STATE`, asking for the controller name. For some reason, the controller responds to the name request (the handled event is `EV_REMOTE_NAME_COMPLETE`) with error `0x0C` (Command Disallowed according to the internet). Any idea to what may be the issue or things that I can try to resolve it. Best Regards, Thomas
Found any solution to "Connection Failed: 10"?
Hi, ... Connection Failed: 10
After a little digging (and zero understanding of the Bluetooth stack), it seems that something goes wrong after the Bluetooth dongle changes state to `HCI_REMOTE_NAME_STATE`, asking for the controller name. For some reason, the controller responds to the name request (the handled event is `EV_REMOTE_NAME_COMPLETE`) with error `0x0C` (Command Disallowed according to the internet). Any idea to what may be the issue or things that I can try to resolve it. Best Regards, Thomas
Found any solution to "Connection Failed: 10"?
Hi, not really. I pair the controller every time I want to use it.
Best
Okay, if anyone ends up looking for same issue, it was solved with another BT dongle. I chose TRENDnet TBW-107UB.
And I changed: PS4BT PS4(&Btd, PAIR); To: PS4BT PS4(&Btd);
Worked for me.
Hi,
Firstly, many thanks for the great library. I opened this issue because I am facing the following connectivity problem when I try to connect a PS4 controller with an Arduino Uno through Bluetooth. In short, I am able to pair the two using
PS4BT PS4(&Btd, PAIR);
but I am unable to connect when usingPS4BT PS4(&Btd);
.I am using the latest available library (version 1.6.2) and as for the hardware:
Steps I have tried:
PS4USB.ino
).PS4BT.ino
with the pairing option).PS4BT.ino
without the pairing option).Enabling the
ENABLE_UHS_DEBUGGING
insetting.h
and theEXTRADEBUG
inBTD.cpp
produces the following output:After a little digging (and zero understanding of the Bluetooth stack), it seems that something goes wrong after the Bluetooth dongle changes state to
HCI_REMOTE_NAME_STATE
, asking for the controller name. For some reason, the controller responds to the name request (the handled event isEV_REMOTE_NAME_COMPLETE
) with error0x0C
(Command Disallowed according to the internet).Any idea to what may be the issue or things that I can try to resolve it.
Best Regards, Thomas