Author Topic: WclBluetoothDiscovery discovers devices that are switched off  (Read 1554 times)

Offline catmagic

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
WclBluetoothDiscovery discovers devices that are switched off
« on: November 25, 2014, 12:05:27 PM »
Hi

If I switch off a bluetooth device and quickly call
Code: [Select]
WclBluetoothDiscovery.Discovery(radio) the device can still be discovered.

With a delay of a few seconds, this doesn't occur.

How can I get around this?  Is there some sort of device list that needs to be cleared somewhere?

Thanks

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3053
  • Karma: 1000
    • Soft Service Company
Re: WclBluetoothDiscovery discovers devices that are switched off
« Reply #1 on: November 25, 2014, 12:42:43 PM »
Hi,

It depends on Bluetooth driver. Some drivers (MS) return turned off devices if they have been paired, some does not. Unfortunately there is no way to control that as it is implemented on driver's level and WCL can not control that. The only way may help in some cases is to unpair devices before rediscovering.

Offline catmagic

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Re: WclBluetoothDiscovery discovers devices that are switched off
« Reply #2 on: November 25, 2014, 12:56:10 PM »
Hi,

It depends on Bluetooth driver. Some drivers (MS) return turned off devices if they have been paired, some does not. Unfortunately there is no way to control that as it is implemented on driver's level and WCL can not control that. The only way may help in some cases is to unpair devices before rediscovering.

OK thanks for your help. I'll try unpairing first  :)

 

Sitemap 1 2 3 4 5 6 7 8 9