All of lore.kernel.org
 help / color / mirror / Atom feed
From: Timo Drick <timo@drick.de>
To: BlueZ users <bluez-users@lists.sourceforge.net>
Subject: Re: [Bluez-users] How to execute a command on link_key_request?
Date: Sun, 15 Oct 2006 20:53:02 +0200	[thread overview]
Message-ID: <4532838E.4030303@drick.de> (raw)
In-Reply-To: <1160917959.23675.10.camel@localhost>

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 <address of headset> 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

      reply	other threads:[~2006-10-15 18:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-14 18:42 [Bluez-users] How to execute a command on link_key_request? Timo Drick
2006-10-15 13:12 ` Marcel Holtmann
2006-10-15 18:53   ` Timo Drick [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4532838E.4030303@drick.de \
    --to=timo@drick.de \
    --cc=bluez-users@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.