The PIN-Code is the binary bluetooth address of the wii remote backwards. Following a short piece of C code to calculate the PIN:
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:
pin = 0x6D;
pin = 0x7E;
pin = 0x3B;
pin = 0x35;
pin = 0x1E;
pin = 0x00;
Now "pin" contains your bluetooth pin that should be used for pairing your devices.
From novice to tech pro — start learning today.