mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
core/bluetooth: stop discovery once the dive computer has been found
There is no need to continue to look, and at least with the Shearwater Peregrine having the scan run while we are trying to discover characteristics appeared to cause issues. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
ba3efae6e8
commit
c87e028602
2 changed files with 15 additions and 2 deletions
|
|
@ -47,6 +47,7 @@ public:
|
|||
void btDeviceDiscoveredMain(const btPairedDevice &device);
|
||||
bool btAvailable() const;
|
||||
void showNonDiveComputers(bool show);
|
||||
void stopAgent();
|
||||
|
||||
#if defined(Q_OS_ANDROID)
|
||||
void getBluetoothDevices();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue