summaryrefslogtreecommitdiffstats
path: root/examples/bluetooth/chat/chat.qml
diff options
context:
space:
mode:
authorAlex Blasche <alexander.blasche@qt.io>2017-06-21 09:20:56 +0200
committerAlex Blasche <alexander.blasche@qt.io>2017-06-22 12:49:36 +0000
commitaae4768483839a3189bd32f7d44a86905ecb3e5b (patch)
treea92c609795aaac07655bf6ac7dac32fae930839f /examples/bluetooth/chat/chat.qml
parent71f22ac56c744ed71ccc26423a9c7a08fc4eb4e6 (diff)
Adjust qml chat example to workaround required to Android SDP bug
Task-number: QTBUG-61542 Task-number: QTBUG-61392 Change-Id: Iff5c827d7ebb96dd29bc80f444d03804eddf405b Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Diffstat (limited to 'examples/bluetooth/chat/chat.qml')
-rw-r--r--examples/bluetooth/chat/chat.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/bluetooth/chat/chat.qml b/examples/bluetooth/chat/chat.qml
index 06f2fc49..eee29789 100644
--- a/examples/bluetooth/chat/chat.qml
+++ b/examples/bluetooth/chat/chat.qml
@@ -53,7 +53,7 @@ Item {
BluetoothDiscoveryModel {
id: btModel
running: true
- discoveryMode: BluetoothDiscoveryModel.MinimalServiceDiscovery
+ discoveryMode: BluetoothDiscoveryModel.FullServiceDiscovery
//! [BtDiscoveryModel-1]
onRunningChanged : {
if (!btModel.running && top.state == "begin" && !serviceFound) {
@@ -81,7 +81,7 @@ Item {
}
//! [BtDiscoveryModel-2]
//! [BtDiscoveryModel-3]
- uuidFilter: "e8e10f95-1a70-4b27-9ccf-02010264e9c8"
+ uuidFilter: targetUuid //e8e10f95-1a70-4b27-9ccf-02010264e9c8
}
//! [BtDiscoveryModel-3]