Ah....It works perfectly.I just change the link mode of the bluetooth adptor by using the "hciconfig hci0 lm accept".It is the slave mode before I change the link mode ,but it didn't work which I also don't know why.After I change the mode again,it works.But it is very diffcult to connect to the PS3.Always I must try more than 3 times.
Thanks very much for your response.
Now I want to use the PS3 to find and connect the PC without change the BT address,so I think the SDP record is necessary.But now I can get the 0xf4 feature report from the PS3.I want to konw that in order to get the 0xf4 report from the PS3 what shuld I do?
I think the PC must send some data to the PS3.But as far I have send the feature data
Code: Select all
unsigned char feature_1[]= {
0x43,0x02,0x01, 0x03, 0x00, 0x05, 0x0c, 0x01, 0x02, 0x18,
0x18, 0x18, 0x18, 0x09, 0x0a, 0x10, 0x11, 0x12,
0x13, 0x00, 0x00, 0x00, 0x00, 0x04, 0x00, 0x02,
0x02, 0x02, 0x02, 0x00, 0x00, 0x00, 0x04, 0x04,
0x04, 0x04, 0x00, 0x00, 0x02, 0x01, 0x02, 0x00,
0x64, 0x00, 0x17, 0x00, 0x00, 0x00, 0x00, 0x00
};
unsigned char feature_ef[]= {
0x53,0xef,0xef, 0x04, 0x00, 0x05, 0x03, 0x01, 0xa0, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x02, 0x74, 0x02, 0x71, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x04
unsigned char feature_08[]={
0x43,0xf4,0x00,0x06
}
Just as the code I have send to you.But the PS3 give no response.I really don't konw how to do next.
Please help me.
Thanks again.