summaryrefslogtreecommitdiffstats
path: root/core/btdiscovery.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/btdiscovery.cpp')
-rw-r--r--core/btdiscovery.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/btdiscovery.cpp b/core/btdiscovery.cpp
index bfc3dc8d2..a5317e58a 100644
--- a/core/btdiscovery.cpp
+++ b/core/btdiscovery.cpp
@@ -229,6 +229,11 @@ void BTDiscovery::getBluetoothDevices()
result.name = dev.callObjectMethod("getName", "()Ljava/lang/String;").toString();
qDebug() << "paired Device type" << btType << "with address" << result.address;
btPairedDevices.append(result);
+ if (btType == 3) { // DEVICE_TYPE_DUAL
+ result.address = QString("LE:%1").arg(result.address);
+ qDebug() << "paired Device type" << btType << "with address" << result.address;
+ btPairedDevices.append(result);
+ }
}
}
}