From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <4532838E.4030303@drick.de> Date: Sun, 15 Oct 2006 20:53:02 +0200 From: Timo Drick MIME-Version: 1.0 To: BlueZ users References: <45312FB1.5090600@drick.de> <1160917959.23675.10.camel@localhost> In-Reply-To: <1160917959.23675.10.camel@localhost> Subject: Re: [Bluez-users] How to execute a command on link_key_request? Reply-To: BlueZ users List-Id: BlueZ users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Sender: bluez-users-bounces@lists.sourceforge.net Errors-To: bluez-users-bounces@lists.sourceforge.net Marcel Holtmann schrieb: > Hi Timo, > > >> i set up my headset with a usb bluetooth dongle. With bluez and btsco it >> works very well. I am able to use it with any voip application. >> But i have to start btsco
every time i want to >> establish a connection to the headset. >> I see in the syslog that hcid receive following message every time i >> turn on my headset: >> hcid[4593]: link_key_request (sba=00:0A:3A:6B:XX:XX, dba=00:0D:44:5C:XX:XX) >> >> So is it possible to execute a command (e.g. btsco) when such request is >> received? >> If btsco is up i can modify the .btscorc file to catch commands from my >> headset. So that is not the question. >> > > the simple answer is no. You don't want such creepy hacks. > > Regards > > Marcel > > Thx for that short answer. But i search for a solution for this problem. I do not want to start btsco every time i receive a call. I want to connect the bluetooth headset if it turns on or i push the headset button. I search the internet and many mailing lists for that but do not have success :-( Anyone have a clean solution (If my idea is realy a "creepy hack") Regards Timo ------------------------------------------------------------------------- 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-users mailing list Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users