How to scan Bluetooth "classic" and LE devices simultaneously in C ++? I use the BlueZ library in C ++ on Linux (OpenWrt, Ubuntu), and I know how to scan a classic device and a low-power device separately, but I need all the devices in one shot. Just like it works in Android or Ubuntu.
My solution at the moment is the first classic scan and then lescan, but it takes a lot of time. For example: classic scan ~ 8 sec, lescan ~ 6 sec. And which one should be the first? I want to get all the coming devices in a short period of time.
source
share