Re: [RFC PATCHv2] autopair: add autopair plugin

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Em Mon, 2012-01-30 às 14:35 -0800, Scott James Remnant escreveu:
> On Mon, Jan 30, 2012 at 2:33 PM, Bastien Nocera <hadess@xxxxxxxxxx> wrote:
> > Em Mon, 2012-01-30 às 13:42 -0800, Scott James Remnant escreveu:
> >> > The PIN length hint is also ignored in the current code:
> >> > +       <device type="audio" oui="00:1A:80:" name="CMT-DH5BT"
> >> pin="max:4"/>
> >> >
> >> Because that's a UI restriction, no?
> >>
> >> I didn't put any PIN-generation code here, because I'm not entirely
> >> sure what the UI for "generate random PIN' should look like or which
> >> spec you're following.
> >
> > It means that a generated PIN shouldn't have more than 4 digits for it
> > to work with this device.
> >
> What generated PIN? Which spec/profile says you have to generate a PIN
> for this device?

It's recommended that the UIs try to generate PINs for the users, rather
than relying on them entering random numbers.

> How does the user know what PIN has been generated?

You will display it to them.

> Do you display the PIN in the UI in any way?

Yep, in the UI, because that's the PIN you will have to enter on the device.

> Are they expected to confirm the PIN with a remote display?

Not confirm, but enter.

> Are they expected to type the PIN into the remote device? Or even the
> host, perhaps it's displayed there?

They're supposed to enter it. The device is a Hi-Fi with Bluetooth
functionality:
http://www.sony.co.uk/support/en/product/CMT-DH5BT

You have a UI to enter the PIN but it will only allow you to enter 4
digits. So any number longer than 4 digits will fail to pair.

> Or do these devices simply just accept any PIN without question? In
> which case, why does it matter whether you send a random PIN or 0000?

It doesn't.

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux