Fix windows scan filter (#41)
* Fix windows scan filter * Bump version and add changelog --------- Co-authored-by: fotidim <foti@navideck.com>
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
## 0.9.10
|
||||
* Fix Windows scan filter
|
||||
* Improve service discovery on Linux
|
||||
|
||||
## 0.9.9
|
||||
* Improve service discovery on Apple
|
||||
* Improve reconnection on Apple
|
||||
|
||||
@@ -410,7 +410,7 @@ packages:
|
||||
path: ".."
|
||||
relative: true
|
||||
source: path
|
||||
version: "0.9.6"
|
||||
version: "0.9.9"
|
||||
vector_math:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
name: universal_ble
|
||||
description: A cross-platform (Android/iOS/macOS/Windows/Linux/Web) Bluetooth Low Energy (BLE) plugin for Flutter
|
||||
version: 0.9.9
|
||||
version: 0.9.10
|
||||
homepage: https://navideck.com
|
||||
repository: https://github.com/Navideck/universal_ble
|
||||
issue_tracker: https://github.com/Navideck/universal_ble/issues
|
||||
|
||||
@@ -91,6 +91,7 @@ namespace universal_ble
|
||||
if (bluetoothRadio && bluetoothRadio.State() == RadioState::On)
|
||||
{
|
||||
setupDeviceWatcher();
|
||||
scanResults.clear();
|
||||
DeviceWatcherStatus status = deviceWatcher.Status();
|
||||
if (status != DeviceWatcherStatus::Started)
|
||||
{
|
||||
@@ -153,6 +154,7 @@ namespace universal_ble
|
||||
}
|
||||
bluetoothLEWatcher = nullptr;
|
||||
disposeDeviceWatcher();
|
||||
scanResults.clear();
|
||||
return std::nullopt;
|
||||
}
|
||||
else
|
||||
@@ -562,7 +564,7 @@ namespace universal_ble
|
||||
{
|
||||
if (currentScanResult.name()->size() > scanResult.name()->size())
|
||||
{
|
||||
scanResult.set_name(*currentScanResult.name());
|
||||
scanResult.set_name(*currentScanResult.name());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user