Return-Path: Message-ID: <4295FDE5.1080404@palmsource.com> From: Frederic Danis MIME-Version: 1.0 To: bluez-devel@lists.sourceforge.net Subject: Re: [Bluez-devel] Problem to connect hci as non-root References: <4295E697.9060802@palmsource.com> <1117120845.12036.41.camel@pegasus> <4295EC2C.3070002@palmsource.com> <1117122236.12036.49.camel@pegasus> In-Reply-To: <1117122236.12036.49.camel@pegasus> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Sender: bluez-devel-admin@lists.sourceforge.net Errors-To: bluez-devel-admin@lists.sourceforge.net Reply-To: bluez-devel@lists.sourceforge.net List-Unsubscribe: , List-Id: BlueZ development List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu, 26 May 2005 18:48:37 +0200 I agree with you that Linux should not need a pairing/bonding application. But we got one and want to keep it when porting our applications to Linux. I do not know differences between setsockopt() and ioctl() enough to give you an advice, sorry. Is there any way to force the authentication (encryption) for a L2CAP socket (at creation time for example) ? Regards Fred ----------------------------------------------- It is not by improving the oil lamp that one invents the electric bulb! ----------------------------------------------- Danis Frederic PalmSource Europe Software engineer Mail : mailto:frederic.danis@palmsource.com ----------------------------------------------- Marcel Holtmann wrote: >Hi Fred, > > > >>OK, I thought about this but I don't know how to start the >>authentication from an L2CAP socket. >>Is it possible ? >>Is it possible to acces to hci command from the L2CAP socket ? >> >> > >you can get the ACL handle through getsockopt() and then open an HCI raw >socket and send the command. But I think the Authentication_Requested >command will also fail due to limited permissions. > >For some time I thought to add the possibility to do authentication and >enable encryption through the socket interface or L2CAP and RFCOMM. At >the moment I haven't decided if I wanna do that with setsockopt() or >with ioctl(). Feel free to suggest something. > >Do you think a pairing/bonding application is needed for Linux? If one >side requests the authentication we will handle it through PIN helper >and the rest is handled inside hcid. Deleting the link key is the only >job we might need an application for. > >Regards > >Marcel > > > > >------------------------------------------------------- >This SF.Net email is sponsored by Yahoo. >Introducing Yahoo! Search Developer Network - Create apps using Yahoo! >Search APIs Find out how you can build Yahoo! directly into your own >Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 >_______________________________________________ >Bluez-devel mailing list >Bluez-devel@lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/bluez-devel > > ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ Bluez-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel