How to execute a command on link_key_request?
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Marcel Holtmann
maintainerHi Timo,
Quoted 8 lines
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)
Quoted 4 lines
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Quoted 17 lines · Marcel Holtmann
Hi Timo,
Quoted 8 lines
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)Quoted 5 lines
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.
Quoted 7 lines
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users