aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/btdiscovery.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/core/btdiscovery.cpp b/core/btdiscovery.cpp
index e1893713d..cab44b4a6 100644
--- a/core/btdiscovery.cpp
+++ b/core/btdiscovery.cpp
@@ -174,8 +174,11 @@ QString markBLEAddress(const QBluetoothDeviceInfo *device)
flags = device->coreConfigurations();
if (flags == QBluetoothDeviceInfo::LowEnergyCoreConfiguration)
prefix = "LE:";
-
+#if defined(Q_OS_IOS)
+ return prefix + device->deviceUuid().toString();
+#else
return prefix + device->address().toString();
+#endif
}
void BTDiscovery::btDeviceDiscovered(const QBluetoothDeviceInfo &device)