forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

PS3 Pairing MAC

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS3 Development
View previous topic :: View next topic  
Author Message
PHOLAN



Joined: 05 Mar 2010
Posts: 3

PostPosted: Fri Mar 05, 2010 6:35 am    Post subject: PS3 Pairing MAC Reply with quote

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
View user's profile Send private message
jimparis



Joined: 10 Jun 2005
Posts: 1179
Location: Boston

PostPosted: Fri Mar 05, 2010 8:45 am    Post subject: Reply with quote

sixpair.c already has all of the information you need. Just read it.
Back to top
View user's profile Send private message
PHOLAN



Joined: 05 Mar 2010
Posts: 3

PostPosted: Tue Mar 09, 2010 6:34 am    Post subject: Reply with quote

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
View user's profile Send private message
jimparis



Joined: 10 Jun 2005
Posts: 1179
Location: Boston

PostPosted: Tue Mar 09, 2010 7:29 am    Post subject: Reply with quote

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
View user's profile Send private message
PHOLAN



Joined: 05 Mar 2010
Posts: 3

PostPosted: Thu Mar 11, 2010 2:39 am    Post subject: L2CAP Controller Enable Reply with quote

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
View user's profile Send private message
jimparis



Joined: 10 Jun 2005
Posts: 1179
Location: Boston

PostPosted: Thu Mar 11, 2010 2:59 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS3 Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group