Author Topic: Bluetooth detection for new devices... where is the code?  (Read 3502 times)

colinjones

  • Alumni
  • LinuxMCE God
  • *
  • Posts: 3003
    • View Profile
Bluetooth detection for new devices... where is the code?
« on: July 02, 2009, 11:57:53 pm »
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

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 2428
    • View Profile
    • ago control
Re: Bluetooth detection for new devices... where is the code?
« Reply #1 on: July 03, 2009, 12:11:51 am »
the phone detection itself happens in Bluetooth_Dongle.

br, Hari
rock your home - http://www.agocontrol.com home automation

hari

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 2428
    • View Profile
    • ago control
Re: Bluetooth detection for new devices... where is the code?
« Reply #2 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
rock your home - http://www.agocontrol.com home automation

colinjones

  • Alumni
  • LinuxMCE God
  • *
  • Posts: 3003
    • View Profile
Re: Bluetooth detection for new devices... where is the code?
« Reply #3 on: July 03, 2009, 12:50:07 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

  • Veteran
  • ***
  • Posts: 88
    • View Profile
Re: Bluetooth detection for new devices... where is the code?
« Reply #4 on: July 03, 2009, 07:55:53 am »
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 http://wiki.linuxmce.com/index.php/User:Patmankn