Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
7 years, 8 months ago.
Trouble Connecting Bluetooth PS3 Controller
I am attempting a project right now using a PS3 controller over bluetooth with Bart Janssens' PS3_BlueUSB program. I am having issues connecting the controller to the dongle however. I first paired the controller to the dongle using Motionjoy on my PC. This suggests to me that the dongle is in fact compatible (CSR8510 A10), and sets the dongle mac into the controller.
The following is the output that I am seeing in my terminal:
------------------
but it never is able to get past scanning. I first paired the controller with the dongle using Motionjoy on my computer, so the controller should have the dongle mac address if I am understanding the process correctly.
I was hoping that someone could verify that the following hardcoding in AutoEvents.cpp looks like the correct format:
starting at line 261
u8 my_mac[6] = {0x00, 0x1A, 0x7D, 0xDA, 0x71, 0x15}; // mac address of my Bluetooth device u8 buf2[6]; buf2[0] = 0x00; buf2[1] = 0x1A; buf2[2] = 0x7D; buf2[3] = 0xDA; buf2[4] = 0x71; buf2[5] = 0x15;
Where both of those addresses are the bdaddr of my dongle.
I also noticed that with the original BlueUSB my dongle lights up, however with PS3_BlueUsb it does not - if that should indicate anything. It may also be worth noting that plugging the controller directly into the USB port with the same program running does work.
Thanks in advance to anyone who can provide some support!
Edit: I have found that the bluetooth dongle lights up if I uncomment the inquiry lines in TestShell, but that does not help at all in getting it connected to the controller