mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Rewrite the matching code for BT devices
This should be much more robust in getting us the correct Bluetooth address and the correct vendor / product for our selection. When we pick a paired device, we extract the address right from its name. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
bc864c3bce
commit
345e063eb5
3 changed files with 39 additions and 72 deletions
|
|
@ -175,11 +175,6 @@ QList<BTDiscovery::btVendorProduct> BTDiscovery::getBtDcs()
|
|||
return btDCs;
|
||||
}
|
||||
|
||||
QList <BTDiscovery::btVendorProduct> BTDiscovery::getBtAllDevices()
|
||||
{
|
||||
return btAllDevices;
|
||||
}
|
||||
|
||||
// Android: As Qt is not able to pull the pairing data from a device, i
|
||||
// a lengthy discovery process is needed to see what devices are paired. On
|
||||
// https://forum.qt.io/topic/46075/solved-bluetooth-list-paired-devices
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue