Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How to discovery connected BLE device on MacOS
MrGuo last edited by
qt 5.10.1, the program can not discovery BLE device which is already connected to macos, but can find the device when it's disconnected,
Don't know why, and code is very much like the lowenergyscanner example:
QBluetoothDeviceDiscoveryAgent *m_deviceDiscoveryAgent; m_deviceDiscoveryAgent = new QBluetoothDeviceDiscoveryAgent(this); m_deviceDiscoveryAgent->setLowEnergyDiscoveryTimeout(5000); .... m_deviceDiscoveryAgent->start(QBluetoothDeviceDiscoveryAgent::LowEnergyMethod);
Any ideas on how to discovery the connected devices?