Hi
Please could someone help me understand the instructions for obtaining a Pin on the below website. I am a C++ novice.
http://wiibrew.org/wiki/Wiimote#Bluetoo th_Pairing
Lets 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.
Please could someone help me understand the instructions for obtaining a Pin on the below website. I am a C++ novice.
http://wiibrew.org/wiki/Wiimote#Bluetoo th_Pairing
Lets 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.
Comment