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

catmagic

  • Guest
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: 3675
  • Karma: 1000
    • Wireless Communication Libraries
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.

catmagic

  • Guest
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