Re: [Bluez-devel] D-Bus interfaces

Marcel Holtmann
2004-02-11T23:14:41Z

Hi Fredrik,

> > Why? If you want to deny a paring, you can click cancel on the PIN
> > request.
>
> Well, you might want to avoid DOS PIN attacks by evil neighbours.

this is more service specific. Maybe we add this later.

> > So lets combine these with (1) and (2). How to present it, is a problem
> > of the UI.
>
> (1) and (2) is about current devices, that may or may not be configured.
> This is about list/remove configurations, that may or may not have
> devices attached. It's not the same thing, really.

I don't think so, because instead of (1) and (2) we need only a method
that returns the current attached devices.

hci0 -> 11:22:33:44:55:66
hci2 -> aa:bb:cc:dd:ee:ff

With this mapping the UI can do the rest.

> > The pairing procedure should be run automaticly on the fist connect, so
> > we shouldn't care about it.
>
> Uh? You do need a scan to find other devices, don't you?

Yes, but let's talk about this later and concentrate on the device
configuration at the moment.

> > It sounds somekind weird, but it will help in some cases.
>
> I don't understand why. :)

Let's think about a HID keyboard at boot time. You can't input your PIN,
but the screen can display it. So you tell hcid about a one-time PIN and
try to connect to keyboard in range.

Another point is that some application may want to ask for the PIN
before the connect to the device.

Regards

Marcel

-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!