From 1399fc2c3e2287de88ed3253476ea7f1b5d87937 Mon Sep 17 00:00:00 2001 From: Alex Blasche Date: Fri, 11 Apr 2014 10:05:45 +0200 Subject: 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 Reviewed-by: Alex Blasche --- examples/bluetooth/btchat/remoteselector.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples') 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); } -- cgit v1.2.3