From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Subject: Re: [Bluez-devel] Force pairing on single connection? From: Marcel Holtmann To: Nils Faerber Cc: bluez-devel@lists.sf.net In-Reply-To: <1076408056.17071.53.camel@localhost> References: <1076339030.2892.64.camel@localhost> <1076407517.32750.36.camel@pegasus> <1076408056.17071.53.camel@localhost> Content-Type: text/plain Message-Id: <1076408218.32750.39.camel@pegasus> Mime-Version: 1.0 Sender: bluez-devel-admin@lists.sourceforge.net Errors-To: bluez-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue, 10 Feb 2004 11:16:58 +0100 Hi Nils, > > > Is it possible to force a pairing process for a single device pair? > > > The situation is that I have a device that seems to accept non-paired > > > and paired connections. I would now like to pair with this device and > > > thus force the pairing, but only for this device - I am quite happy with > > > not being forced to pair for mostly all other devices ;) > > you must issue a HCI_Authenticate command on the HCI socket. There is no > > other method at the moment. I was thinking about adding an ioctl to the > > L2CAP socket so this can also be triggered by normal users. > > Other proposals are welcome. > > Hmm... maybe as a first quickshot simply add a function to hcitool which > does exctly this command issue. Hcitool can already issue arbitrary HCI > commands and adding a function for forcing authentication would simply > be a convenience thing... > Something like > hcitool auth > maybe... sure. Send me a patch for it (including man page update). > The rest should happen automatically? I.e. PIN input and such would go > the normal way of PINs I suppose, so either by script or GUI input. Yes. Regards Marcel ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Bluez-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel