Author Topic: Possible to enumerate both Classic and BLE devices with same manager?  (Read 3522 times)

Offline mdlieder

  • Newbie
  • *
  • Posts: 10
  • Karma: 0
Hello! I'm doing radio.Discover for classic devices and then after OnDiscoveringCompleted is called doing it again for BLE devices. What I'm finding is that the second call to Discover immediately triggers OnDiscoveringCompleted, before any devices are found, with an error code of WCL_E_BLUETOOTH_DISCOVERING_TERMINATED. Do you know why that would be? radio.Discovering is false and radio.Available is true, and I'm not calling radio.Terminate anywhere. If I just discover classic, or just BLE, it works fine.

I'm using the latest Bluetooth framework, 7.6.1.0, and am running Windows 10 1803.

Thanks!

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3403
  • Karma: 1000
    • Wireless Communication Libraries
Re: Possible to enumerate both Classic and BLE devices with same manager?
« Reply #1 on: January 18, 2019, 12:32:35 AM »
Hello,

Thanko you for the information. Unfortunately we did not test it in such way so I can not say what can be wrong right now. Please allow us some time to do tests so then I can answer your question. Probably you found a bug but also it may be because driver is busy.

So I'll back to you shortly.

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3403
  • Karma: 1000
    • Wireless Communication Libraries
Re: Possible to enumerate both Classic and BLE devices with same manager?
« Reply #2 on: January 18, 2019, 01:07:55 AM »
Ok, I can confirm that the problem is in Bluetooth Framework. Its not a bug actually but just the implementation issue.

We will try to release fixed version tomorrow. I'll kepp you updated.

Offline mdlieder

  • Newbie
  • *
  • Posts: 10
  • Karma: 0
Re: Possible to enumerate both Classic and BLE devices with same manager?
« Reply #3 on: January 18, 2019, 01:21:42 AM »
Thanks a lot! No rush :)

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3403
  • Karma: 1000
    • Wireless Communication Libraries
Re: Possible to enumerate both Classic and BLE devices with same manager?
« Reply #4 on: January 18, 2019, 05:01:58 PM »
Ok, it looks fixed now and we are publishing the release. Should be available in an hour or so.

Offline mdlieder

  • Newbie
  • *
  • Posts: 10
  • Karma: 0
Re: Possible to enumerate both Classic and BLE devices with same manager?
« Reply #5 on: January 18, 2019, 08:13:05 PM »
Thanks! I can confirm that it works now in 7.6.2.0 :)

 

Sitemap 1 2 3 4 5 6 7 8 9 10 11 12 13 14