| View previous topic :: View next topic |
| Author |
Message |
PHOLAN
Joined: 05 Mar 2010 Posts: 3
|
Posted: Fri Mar 05, 2010 6:35 am Post subject: PS3 Pairing MAC |
|
|
I'm working in developing a hardware host (not computer based) for the PS3 controller.
I have tested the solutions out there for Windows 7 and while I have been able to make them work, I have not been able to obtain the Controller's MAC address through any of the USB SDK's out there.
In order to program my Hardware's microcontroller, I need to be able to replicate the USB code's send to change the pairing Master.
Can anyone provide me with additional information on how to do this? or a source code that works in Windows? (other than sixpair.c as it does not compile in windows).
Thank you in advance.... |
|
| Back to top |
|
 |
jimparis
Joined: 10 Jun 2005 Posts: 1179 Location: Boston
|
Posted: Fri Mar 05, 2010 8:45 am Post subject: |
|
|
| sixpair.c already has all of the information you need. Just read it. |
|
| Back to top |
|
 |
PHOLAN
Joined: 05 Mar 2010 Posts: 3
|
Posted: Tue Mar 09, 2010 6:34 am Post subject: |
|
|
Thanks Jim,
For some reason I could not get it to work under windows but, I managed to proram the Microcontroller and attach the PS3 controller to it to map the Host pairing address.
I'm reaching to you for help as you are one of the very few who's been on this road before and is willing to help, which I greatly appreciate it.
I managed to pair the PS3 controller with my Bluegiga WT32. I can't however open a L2CAP channel 17 or 19. I have opened a trouble ticket with them but, also wanted to check with you to see if you had any experience with it.
In essence, I'm trying to read the controller reports via a dedicated hardware host that has a Micro and a BT.
Regards,
Philip |
|
| Back to top |
|
 |
jimparis
Joined: 10 Jun 2005 Posts: 1179 Location: Boston
|
Posted: Tue Mar 09, 2010 7:29 am Post subject: |
|
|
| I don't know about Bluegiga products, but connecting to L2CAP channels is easiest. If their firmware doesn't allow that, you could connect to it as a HID device, but I've found the L2CAP approach to be easier and more reliable, at least from Linux. |
|
| Back to top |
|
 |
PHOLAN
Joined: 05 Mar 2010 Posts: 3
|
Posted: Thu Mar 11, 2010 2:39 am Post subject: L2CAP Controller Enable |
|
|
Jim,
Bluegiga finally got back to me and I'm able to open both psm 17 and 19.
Since I get no data from the controller, I proceed to send the following using the control channel:
0x53, 0xf4, 0x42, 0x03, 0x00, 0x00
But I still get no data back on the Data channel. Is there anything else that I need to send to activate reporting?
Thanks again |
|
| Back to top |
|
 |
jimparis
Joined: 10 Jun 2005 Posts: 1179 Location: Boston
|
Posted: Thu Mar 11, 2010 2:59 am Post subject: |
|
|
Not that I'm aware. My code does
- listen on 17 and 19
- wait for the controller to connect to both of them
- send 0x53, 0xf4, 0x42, 0x03, 0x00, 0x00 on 17
- receive response on 17
and then the controller should start sending data on 19. |
|
| Back to top |
|
 |
|