Wireless Communication Library Support Forum

Frameworks => Bluetooth Framework => Topic started by: jedla22 on February 05, 2021, 10:59:24 PM

Title: Check if Radio Support BLE
Post by: jedla22 on February 05, 2021, 10:59:24 PM
Is there a way to check if the Bluetooth Radio (CwclBluetoothRadio class) supports Bluetooth Low Energy?
I do not find any simple solution in documentation, maybe I miss something.
My goal is to be able to select the correct radio that supports BLE when enumerating available radios in BluetoothManager (CwclBluetoothManage class). FOr example, if the code runs on older Windows OS (7 or lower without BLE support), I want to check that native windows  radio does not support BLE and pick up other radio for example BeleGiga BLED112.
What is proper solution to identify it the radio support BLE featurues?
Title: Re: Check if Radio Support BLE
Post by: Mike Petrichenko on February 06, 2021, 01:46:52 AM
Hi,

It easy to do with HCI version: https://docs.btframework.com/bluetooth/c++/classwcl_bluetooth_1_1_cwcl_bluetooth_radio_afbf134b07a2fc39aea0854541d12553b.html#afbf134b07a2fc39aea0854541d12553b
Title: Re: Check if Radio Support BLE
Post by: jedla22 on February 08, 2021, 12:15:56 PM
Thanks for the quick response. I teste on my device and it works. Get version value 9 -> mas to  Bluetooth Core Specification 5.0.
Just one more question, I also get the revision number that is 4417. What doe it exactly menas?
Title: Re: Check if Radio Support BLE
Post by: Mike Petrichenko on February 08, 2021, 12:37:50 PM
HCI protocol firmware revision number.
Title: Re: Check if Radio Support BLE
Post by: jedla22 on February 11, 2021, 12:04:11 AM
Thanks