0.8.0 (2020-09-22)
Added
- Implemented
set_disconnected_callback
in the .NET backendBleakClient
implementation. - Added
find_device_by_address
method to theBleakScanner
interface, for stopping scanning
when a desired address is found. - Implemented
find_device_by_address
in the .NET backendBleakScanner
implementation and
switched itsBleakClient
implementation to use that method inconnect
. - Implemented
find_device_by_address
in the BlueZ backendBleakScanner
implementation and
switched itsBleakClient
implementation to use that method inconnect
. - Implemented
find_device_by_address
in the Core Bluetooth backendBleakScanner
implementation
and switched itsBleakClient
implementation to use that method inconnect
. - Added text representations of Protocol Errors that are visible in the .NET backend. Added these texts to errors raised.
- Added pairing method in
BleakClient
interface. - Implemented pairing method in .NET backend.
- Implemented pairing method in the BlueZ backend.
- Added stumps and
NotImplementedError
on pairing in macOS backend. - Added the possibility to connect using
BLEDevice
instead of a string address. This
allows for skipping the discovery call when connecting.
Removed
- Support for Python 3.5.
Changed
- BREAKING CHANGE All notifications now have the characteristic's integer handle instead of its UUID as a
string as the first argumentsender
sent to notification callbacks. This provides the uniqueness of
sender in notifications as well. - Renamed
BleakClient
argumentaddress
toaddress_or_ble_device
. - Version 0.5.0 of BleakUWPBridge, with some modified methods and implementing
IDisposable
. - Merged #224. All storing and passing of event loops in bleak is removed.
- Removed Objective C delegate compliance checks. Merged #253.
- Made context managers for .NET
DataReader
andDataWriter
.
Fixed
- .NET backend loop handling bug entered by #224 fixed.
- Removed default
DEBUG
level set to bleak logger. Fixes #251. - More coherency in logger uses over all backends. Fixes #258
- Attempted fix of #255 and #133: cleanups, disposing of objects and creating new
BleakBridge
instances each disconnect. - Fixed some type hints and docstrings.
- Modified the
connected_peripheral_delegate
handling in macOS backend to fix #213 and #116. - Merged #270, fixing a critical bug in
get_services
method in Core Bluetooth backend. - Improved handling of disconnections and
is_connected
in BlueZ backend to fix #259. - Fix for
set_disconnected_callback
on Core Bluetooth. Fixes #276. - Safer
Core Bluetooth
presence check. Merged #280.