Author Topic: How to resume after Bluetooth disabled  (Read 1370 times)

Offline craigTheBrit

  • Newbie
  • *
  • Posts: 12
  • Karma: 0
How to resume after Bluetooth disabled
« on: May 20, 2009, 07:16:28 AM »
Hello,

   Our program runs as a tray application that starts up with Windows. However, sometimes the user logs in without Bluetooth enabled, and then enables it later. But the program is still unable to enumerate through Bluetooth radios.

What is the best way to reinitialize everything so that we can recover Bluetooth functionality once the user has enabled Bluetooth? Is this also possible with the WCL?

Thanks!

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2467
  • Karma: 1000
    • Wireless Communication Library
Re: How to resume after Bluetooth disabled
« Reply #1 on: May 20, 2009, 09:31:43 AM »
Hi,

BluetoothFramework does not support dinamic detection of hardware. Use WCL which has such possability.
WCL - Wireless Communication Library
TextBlue - Bluetooth Proximity Marketing Software
WCL Phone Explorer - Free Phone Content Manager

Offline LaStick

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
Re: How to resume after Bluetooth disabled
« Reply #2 on: February 10, 2010, 11:16:30 AM »
Do WCL have possibility of dynamic detection bluetooth device? I'm right?

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2467
  • Karma: 1000
    • Wireless Communication Library
Re: How to resume after Bluetooth disabled
« Reply #3 on: February 10, 2010, 11:56:10 AM »
Hi,

It depends on what you mean on "dinamic detection bluetooth device". This post was about dinamic detection of hardware, plugged to PC (like BT dongle, IrDA dongle and other). WCL can do so (detect changes in hardware configuration).

If you are talking about detection or remote bluetooth devices then unfortunatly WCL does not support such feature as build-in methods. But it is easy to implement. You have to use wclBluetoothDiscovery to periodicaly rescan remote devices.
WCL - Wireless Communication Library
TextBlue - Bluetooth Proximity Marketing Software
WCL Phone Explorer - Free Phone Content Manager