diff --git a/Cargo.lock b/Cargo.lock index a272dd55..31bfbf97 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -256,7 +256,7 @@ dependencies = [ [[package]] name = "bluez-async" -version = "0.2.0" +version = "0.2.1" dependencies = [ "async-trait", "bitflags", diff --git a/bluez-async/CHANGELOG.md b/bluez-async/CHANGELOG.md index d4e67fee..2107a60e 100644 --- a/bluez-async/CHANGELOG.md +++ b/bluez-async/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog -## Unreleased +## 0.2.1 ### New features @@ -9,6 +9,11 @@ - Added support for reading and writing characteristics and descriptors from a given offset, and explicitly specifying what type of write operation to use. +### Other changes + +- Wait for service discovery to complete before returning from `connect`. This should avoid errors + when trying to look up services on a device immediately after connecting to it. + ## 0.2.0 ### Breaking changes diff --git a/bluez-async/Cargo.toml b/bluez-async/Cargo.toml index 019a58c8..498f1790 100644 --- a/bluez-async/Cargo.toml +++ b/bluez-async/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "bluez-async" -version = "0.2.0" +version = "0.2.1" authors = ["Andrew Walbran ", "David Laban "] edition = "2018" license = "MIT OR Apache-2.0" diff --git a/mijia/Cargo.toml b/mijia/Cargo.toml index e4bfc6b1..16cdad71 100644 --- a/mijia/Cargo.toml +++ b/mijia/Cargo.toml @@ -10,7 +10,7 @@ keywords = ["ble", "bluetooth", "humidity", "temperature"] categories = ["hardware-support"] [dependencies] -bluez-async = { version = "0.2.0", path = "../bluez-async" } +bluez-async = { version = "0.2.1", path = "../bluez-async" } futures = "0.3.8" log = "0.4.11" thiserror = "1.0.23"