Return-Path: Message-ID: <28c817710606290543i3f331478ta461242dcc94d612@mail.gmail.com> Date: Thu, 29 Jun 2006 20:43:41 +0800 From: ifq To: "BlueZ development" In-Reply-To: <1151582944.14964.17.camel@localhost> MIME-Version: 1.0 References: <28c817710606290332o2e84020dl91d4a0bff11db73f@mail.gmail.com> <6297d67c0606290445h455ea56bjfdf3bc2b44f26ad1@mail.gmail.com> <1151582944.14964.17.camel@localhost> Subject: Re: [Bluez-devel] how to create a ACL connection with an authentication? Reply-To: BlueZ development List-Id: BlueZ development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============1815428624==" Sender: bluez-devel-bounces@lists.sourceforge.net Errors-To: bluez-devel-bounces@lists.sourceforge.net --===============1815428624== Content-Type: multipart/alternative; boundary="----=_Part_93884_8161195.1151585021330" ------=_Part_93884_8161195.1151585021330 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline if I need to build the authentication connection in my own program,what should I do? what I know is use the socket API to create a connection.but how to set this connection to have an authentication? thanks. Regards Jingtian Wang 2006/6/29, Marcel Holtmann : > > Hi Mayank, > > > On 6/29/06, ifq wrote: > > I want to create a ACL connection with an authentication and > > encryption use BlueZ. I searched the BlueZ lib and found > > nothing.is there anyone could give me some advice?thank you > > very much! > > > > In /etc/bluetooth/hcid.conf file make sure that the following lines > > are there (i.e. they should not be commented!) > > auth enable > > encrypt enable > > don't advise people to enter security mode 3 unless you are going to > handle all their troubles with different devices. These two option are > removed in the 3.x releases anyway. > > Regards > > Marcel > > > > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Bluez-devel mailing list > Bluez-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bluez-devel > ------=_Part_93884_8161195.1151585021330 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline if I need to build the authentication connection in my own program,what should I do?
what I know is use the socket API to create a connection.but how to set this connection to have an authentication?
thanks.

Regards

Jingtian Wang

2006/6/29, Marcel Holtmann <marcel@holtmann.org>:
Hi Mayank,

> On 6/29/06, ifq <ifqqfi@gmail.com> wrote:
>         I want to create a ACL connection with an authentication and
>         encryption use BlueZ. I searched the BlueZ lib and found
>         nothing.is there anyone could give me some advice?thank you
>         very much!
>
> In /etc/bluetooth/hcid.conf file make sure that the following lines
> are there (i.e. they should not be commented!)
> auth enable
> encrypt enable

don't advise people to enter security mode 3 unless you are going to
handle all their troubles with different devices. These two option are
removed in the 3.x releases anyway.

Regards

Marcel



Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

------=_Part_93884_8161195.1151585021330-- --===============1815428624== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 --===============1815428624== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Bluez-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel --===============1815428624==--