Comment 28 for bug 284994

Revision history for this message
DanielRoesler (diafygi) wrote : Re: bluetooth-wizard unable to pair headset

Okay, I have a partial patch for this problem. You need to download the source code and change a line of code. I say a partial patch because you need to recompile and install any time you want to change the default PIN code.

In the source code, change the line near the bottom in /wizard/main.c
-----------FROM-----------
target_pincode = g_strdup_printf("%d", g_random_int_range(1000, 9999));
-------------TO-------------
target_pincode = g_strdup_printf("0000");
-----------------------------

You can change the "0000" part to whatever your PIN number is. I am not a programmer, but I tried this and was able to connect to my device.