2009-12-17 16:30:49

by Ed Tsang

[permalink] [raw]
Subject: How to disable simple pairing? (Vista -> Linux using fix pin)

Hi,
The situation is: I am using a linux box. It will have to talk to other devices (cell phone, notbook ..etc.). The linux box is unmaned. It could force the box to use a fix pin by modifying the simple-agent. All other devices user know the fix pin. It work fine with most cell phones so far (not the latest phone?). But with Window Vista, it fail, because vista when try to pair with the box will generate a random number (great security) and expect us to enter the same number in the other side.
I am not sure but I guess it is associate with the new simple paring feature?
Is there a way to tell the other side we do not support simple pairing?
Or is there a way to tell the other side that we do not have a pin input method?

Ed



__________________________________________________________________
Be smarter than spam. See how smart SpamGuard is at giving junk email the boot with the All-new Yahoo! Mail. Click on Options in Mail and switch to New Mail today or register for free at http://mail.yahoo.ca


2009-12-24 16:29:52

by Iain Hibbert

[permalink] [raw]
Subject: Re: How to disable simple pairing? (Vista -> Linux using fix pin)

On Thu, 17 Dec 2009, Ed Tsang wrote:

> The situation is: I am using a linux box. It will have to talk to other
> devices (cell phone, notbook ..etc.). The linux box is unmaned. It could
> force the box to use a fix pin by modifying the simple-agent. All other
> devices user know the fix pin. It work fine with most cell phones so far
> (not the latest phone?). But with Window Vista, it fail, because vista
> when try to pair with the box will generate a random number (great
> security) and expect us to enter the same number in the other side.

> I am not sure but I guess it is associate with the new simple paring
> feature?
> Is there a way to tell the other side we do not support simple pairing?

It does not sound related to simple pairing.

> Or is there a way to tell the other side that we do not have a pin input
> method?

Not that I know of. (for a gross hack, you could change the class of
device to be the same as a device that does not have a pin input method,
that might make it guess that a fixed pin is needed)

but if you pair from the Vista side you should be able to provide a PIN.
Here is a page that describes setting up a Bluetooth connection

http://www.vista4beginners.com/How-to-setup-a-Bluetooth-connection

and the pictures show exactly what you want to be possible..

iain