summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Blasche <alexander.blasche@digia.com>2014-04-11 10:05:45 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-04-14 12:28:33 +0200
commit1399fc2c3e2287de88ed3253476ea7f1b5d87937 (patch)
tree98a56bf59e37b80e8b0f0251c105f4c7aca8a90e
parent2e0f7adbe4257cc3914db0b4a9e6f42cb12f948d (diff)
Use extended SDP discovery in btchat example.
Android's minimal service discovery is very limited and more often than not fails entirely. Using FulklDiscovery dramatically increases the chance to find the remote SPP chat server. Task-number: QTBUG-38140 Change-Id: I1df55f74a6896312236ef06485c4063c9e893e6c Reviewed-by: Nedim Hadzic <nhadzic@blackberry.com> Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
-rw-r--r--examples/bluetooth/btchat/remoteselector.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/bluetooth/btchat/remoteselector.cpp b/examples/bluetooth/btchat/remoteselector.cpp
index e6fd728f..79dc0564 100644
--- a/examples/bluetooth/btchat/remoteselector.cpp
+++ b/examples/bluetooth/btchat/remoteselector.cpp
@@ -75,7 +75,7 @@ void RemoteSelector::startDiscovery(const QBluetoothUuid &uuid)
ui->remoteDevices->clear();
m_discoveryAgent->setUuidFilter(uuid);
- m_discoveryAgent->start();
+ m_discoveryAgent->start(QBluetoothServiceDiscoveryAgent::FullDiscovery);
}