How to get Bluetooth unique mac address ?
Unsolved
Mobile and Embedded
-
Use QBluetoothDeviceInfo. It won't work on Apple platforms, though (as the documentation states).
-
Use QBluetoothDeviceInfo. It won't work on Apple platforms, though (as the documentation states).
-
@sierdzio Thanks for the reply. i have used it and it is giving some random address on android not unique address. could you please share one example, so that i will get clear way.
Thanks
@sharath said in How to get Bluetooth unique mac address ?:
it is giving some random address on android
That's a security feature in Bluetooth 4.0+. You won't get around it (well maybe with some Android-specific APIs, I'm not sure).
More info: https://doc.qt.io/qt-5/qlowenergycontroller.html#RemoteAddressType-enum