* [Bluez-users] How to execute a command on link_key_request?
@ 2006-10-14 18:42 Timo Drick
2006-10-15 13:12 ` Marcel Holtmann
0 siblings, 1 reply; 3+ messages in thread
From: Timo Drick @ 2006-10-14 18:42 UTC (permalink / raw)
To: bluez-users
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
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [Bluez-users] How to execute a command on link_key_request?
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
0 siblings, 1 reply; 3+ messages in thread
From: Marcel Holtmann @ 2006-10-15 13:12 UTC (permalink / raw)
To: BlueZ users
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
-------------------------------------------------------------------------
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Bluez-users] How to execute a command on link_key_request?
2006-10-15 13:12 ` Marcel Holtmann
@ 2006-10-15 18:53 ` Timo Drick
0 siblings, 0 replies; 3+ messages in thread
From: Timo Drick @ 2006-10-15 18:53 UTC (permalink / raw)
To: BlueZ users
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-10-15 18:53 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox