Wireless Communication Library Support Forum

Frameworks => Bluetooth Framework => Topic started by: mdlieder on January 18, 2019, 12:26:39 AM

Title: Possible to enumerate both Classic and BLE devices with same manager?
Post by: mdlieder on January 18, 2019, 12:26:39 AM
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!
Title: Re: Possible to enumerate both Classic and BLE devices with same manager?
Post by: Mike Petrichenko 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.
Title: Re: Possible to enumerate both Classic and BLE devices with same manager?
Post by: Mike Petrichenko 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.
Title: Re: Possible to enumerate both Classic and BLE devices with same manager?
Post by: mdlieder on January 18, 2019, 01:21:42 AM
Thanks a lot! No rush :)
Title: Re: Possible to enumerate both Classic and BLE devices with same manager?
Post by: Mike Petrichenko 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.
Title: Re: Possible to enumerate both Classic and BLE devices with same manager?
Post by: mdlieder on January 18, 2019, 08:13:05 PM
Thanks! I can confirm that it works now in 7.6.2.0 :)