summaryrefslogtreecommitdiffstats
path: root/core/btdiscovery.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2020-09-29 14:50:05 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-09-30 16:40:41 -0700
commit5b485850925cc77c827b3e46d6f2236fe3329d7a (patch)
tree3ce194d185620bc0dfa6d8fefac8977c90f508bf /core/btdiscovery.h
parentca23147228f98ba0a97bcfbd6d22854a60b30dd9 (diff)
downloadsubsurface-5b485850925cc77c827b3e46d6f2236fe3329d7a.tar.gz
bluetooth discovery: report more information about progress
We certainly should log errors and the complete list of discovered devices. Also, it's good practice to set a specific search time (I picked three minutes). This way we won't constantly scan and drain resources. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core/btdiscovery.h')
-rw-r--r--core/btdiscovery.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/btdiscovery.h b/core/btdiscovery.h
index 953e707b4..85f2d4d4a 100644
--- a/core/btdiscovery.h
+++ b/core/btdiscovery.h
@@ -43,6 +43,7 @@ public:
int productIdx;
};
+ void btDeviceDiscoveryFinished();
void btDeviceDiscovered(const QBluetoothDeviceInfo &device);
void btDeviceDiscoveredMain(const btPairedDevice &device, bool fromPaired);
bool btAvailable() const;