Return-Path: MIME-Version: 1.0 In-Reply-To: References: <1327448862-21964-1-git-send-email-scott@netsplit.com> <1327952977.1955.160.camel@aeonflux> <1327953929.2400.80.camel@novo.hadess.net> <1327962821.2125.4.camel@sirocco.config> <1327964619.2125.14.camel@sirocco.config> Date: Wed, 15 Feb 2012 18:57:11 +0100 Message-ID: Subject: Re: [RFC PATCHv2] autopair: add autopair plugin From: David Herrmann To: Scott James Remnant Cc: Bastien Nocera , Marcel Holtmann , linux-bluetooth@vger.kernel.org, keybuk@chromium.org Content-Type: text/plain; charset=ISO-8859-1 List-ID: Hi Scott On Tue, Jan 31, 2012 at 12:10 AM, Scott James Remnant wrote: > On Mon, Jan 30, 2012 at 3:03 PM, Bastien Nocera wrote= : >> Em Mon, 2012-01-30 =E0s 14:35 -0800, Scott James Remnant escreveu: >>> On Mon, Jan 30, 2012 at 2:33 PM, Bastien Nocera wro= te: >>> > Em Mon, 2012-01-30 =E0s 13:42 -0800, Scott James Remnant escreveu: >>> >> > The PIN length hint is also ignored in the current code: >>> >> > + =A0 =A0 =A0 >> >> pin=3D"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 i= t >>> > 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. >> > Recommended where? Can you point at least at the correct document? > > The only recommendation I'm aware of is in the HID profile, which > would not apply here, and strangely you don't use this max: form for > keyboards which would be the only devices they applied to. > > > The description matches the HID profile behavior I've sumitted as a > separate set of CLs. > Any update on this plugin? It would make the wiimote plugin obsolete and allow us to select PINs based on device-names. If you do not intend to continue your work here I will try fixing the stuff and resubmit it. Regards David