Bluetooth code search
Solved
Hello,
I don't know if I'm in the right place, you can tell me...
I'm desperately trying to connect a Wiimote to my laptop via Bluetooth. It is found and appears in my Bluetooth devices, but when I try to connect it, a code for pairing is requested, and that’s my current problem...
I found information on the site http://wiibrew.org/wiki/Wiimote
that may help me (perhaps mistakenly) find this code. I don’t know how to extract this PIN code on my computer from these few lines:
Let's assume the Wiimote has the Bluetooth address "00:1E:35:3B:7E:6D". If you want the PIN for Bluetooth pairing in a simple string, do the following:
char pin[6];
pin[0] = 0x6D;
pin[1] = 0x7E;
pin[2] = 0x3B;
pin[3] = 0x35;
pin[4] = 0x1E;
pin[5] = 0x00;
Now "pin" contains your Bluetooth PIN that should be used for pairing your devices.
Well, I think I've said everything...
Can you help me with these few lines?
Thank you for reading.
Jean
Configuration: Windows XP / Firefox 22.0
I don't know if I'm in the right place, you can tell me...
I'm desperately trying to connect a Wiimote to my laptop via Bluetooth. It is found and appears in my Bluetooth devices, but when I try to connect it, a code for pairing is requested, and that’s my current problem...
I found information on the site http://wiibrew.org/wiki/Wiimote
that may help me (perhaps mistakenly) find this code. I don’t know how to extract this PIN code on my computer from these few lines:
Let's assume the Wiimote has the Bluetooth address "00:1E:35:3B:7E:6D". If you want the PIN for Bluetooth pairing in a simple string, do the following:
char pin[6];
pin[0] = 0x6D;
pin[1] = 0x7E;
pin[2] = 0x3B;
pin[3] = 0x35;
pin[4] = 0x1E;
pin[5] = 0x00;
Now "pin" contains your Bluetooth PIN that should be used for pairing your devices.
Well, I think I've said everything...
Can you help me with these few lines?
Thank you for reading.
Jean
Configuration: Windows XP / Firefox 22.0
1 réponse
Actually, not really, the link you're talking about explains how to declare the variable pin in C so that it stores the representation of the address "00:1E:35:3B:7E:6D". Moreover, this address is probably chosen arbitrarily as an example.
Good luck.
Good luck.
Neajthy
Posted messages
1
Status
Membre
Thank you for your response. I found a solution; by using an older controller, this code is not requested. My problem is therefore solved.
mamiemando
Posted messages
33537
Registration date
Status
Modérateur
Last intervention
7 927
Perfect, keep it up!