All of lore.kernel.org
 help / color / mirror / Atom feed
From: Timo Drick <timo@drick.de>
To: bluez-users@lists.sourceforge.net
Subject: [Bluez-users] How to execute a command on link_key_request?
Date: Sat, 14 Oct 2006 20:42:57 +0200	[thread overview]
Message-ID: <45312FB1.5090600@drick.de> (raw)

Hi,

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.

best regards
       Timo Drick

-------------------------------------------------------------------------
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-14 18:42 UTC|newest]

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

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=45312FB1.5090600@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.