public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* bluetooth-wizard pin fixed at 0000 which is unable to pair with headset with other pins
@ 2009-07-13  1:40 Wan, Shuang
  2009-07-13  4:00 ` John Frankish
  2009-07-13 10:48 ` Bastien Nocera
  0 siblings, 2 replies; 10+ messages in thread
From: Wan, Shuang @ 2009-07-13  1:40 UTC (permalink / raw)
  To: linux-bluetooth@vger.kernel.org

Hi,

Just attempt to pair with a fixed pin device using bluetooth-wizard that doesn't have 0000 as its pin..I have a Gear4-Blackbox Mini (which is a headset/a2dp device) which has a fixed pin of 1234. When I try to pair the device it fails after attempting to use 0000, with no opportunity to enter any other pin.

It might be caused by the hard code in bluez-gnome, see bluez-gnome-1.8 source code wizard/main.c
static gboolean pincode_callback(DBusGMethodInvocation *context,
                                        DBusGProxy *device, gpointer user_data)
{
..............

        /* Most headsets are using 0000 as pincode */
        if (target_type == BLUETOOTH_TYPE_HEADSET ||
                                target_type == BLUETOOTH_TYPE_HEADPHONE)
                pincode = "0000";
...........
}

Anyone has come across this similar issue? Any suggestions?

Thanks!
Wan Shuang


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2009-07-14  9:17 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-13  1:40 bluetooth-wizard pin fixed at 0000 which is unable to pair with headset with other pins Wan, Shuang
2009-07-13  4:00 ` John Frankish
2009-07-13 12:12   ` Wan, Shuang
2009-07-13 10:48 ` Bastien Nocera
2009-07-13 12:14   ` Wan, Shuang
2009-07-13 13:01     ` Bastien Nocera
2009-07-13 14:34       ` Mario_Limonciello
2009-07-13 14:39         ` Bastien Nocera
2009-07-14  2:23           ` Marcel Holtmann
2009-07-14  9:17             ` Wan, Shuang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox