News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

Bluetooth detection for new devices... where is the code?

Started by colinjones, July 02, 2009, 11:57:53 PM

Previous topic - Next topic

colinjones

Does anybody know where the code is that detects new BlueTooth devices and sends the necessary pnp events to add the device? Is it Bluetooth Dongle? I am curious as to how hard it would be to add a configurable delay to the detection before it triggers the pnp.

Shortly after 5pm each work day, people start walking home to their houses, and as they walk past my place, if their Bluetooth is turned on my core keeps detecting them! Its annoying :) I thought that adding a delay of, say, 30 seconds that the device had to be in range for before triggering pnp might ease this problem :)

hari

the phone detection itself happens in Bluetooth_Dongle.

br, Hari
rock your home - [url="http://www.agocontrol.com"]http://www.agocontrol.com[/url] home automation

hari

i forgot, why don't you just disable the detection after you've added all mobile orbiters? That is what we did at the LinuxTAG booth. And we had to be quick, hundreds of phones there :-p

br, Hari
rock your home - [url="http://www.agocontrol.com"]http://www.agocontrol.com[/url] home automation

colinjones

Quote from: hari on July 03, 2009, 12:17:59 AM
i forgot, why don't you just disable the detection after you've added all mobile orbiters? That is what we did at the LinuxTAG booth. And we had to be quick, hundreds of phones there :-p

br, Hari

I could do that.... OK I admit, I want it on to show off! When people come to my house, I can just say "turn on your bt" and go from there :) watch their faces... its a little thing... but...

patmankn

Haha... remembers me of the good old time, living downtown... and you have to click away like hundreds of  BT-Detection before you could use your LMCE ;O) Good Luck Colin!

P.
Hybrid: MSI MS-7329,Nvidia 6150 onboard,AMD BE-2400,2gb RAM,Sharp Aqous LE 37X20E via MD Zotoc Ion Synergy,Terratec 1200 & Cinergy DT USB Diversity DVB-T, KNC ONE TV-Station DVB-C,WebDT366,Fiire Chief [url="http://wiki.linuxmce.com/index.php/User:Patmankn"]http://wiki.linuxmce.com/index.php/User:Patmankn[/url]