0.8.0 (2020-09-22)
Added
- Implemented
set_disconnected_callbackin the .NET backendBleakClientimplementation. - Added
find_device_by_addressmethod to theBleakScannerinterface, for stopping scanning
when a desired address is found. - Implemented
find_device_by_addressin the .NET backendBleakScannerimplementation and
switched itsBleakClientimplementation to use that method inconnect. - Implemented
find_device_by_addressin the BlueZ backendBleakScannerimplementation and
switched itsBleakClientimplementation to use that method inconnect. - Implemented
find_device_by_addressin the Core Bluetooth backendBleakScannerimplementation
and switched itsBleakClientimplementation 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
BleakClientinterface. - Implemented pairing method in .NET backend.
- Implemented pairing method in the BlueZ backend.
- Added stumps and
NotImplementedErroron pairing in macOS backend. - Added the possibility to connect using
BLEDeviceinstead 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 argumentsendersent to notification callbacks. This provides the uniqueness of
sender in notifications as well. - Renamed
BleakClientargumentaddresstoaddress_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
DataReaderandDataWriter.
Fixed
- .NET backend loop handling bug entered by #224 fixed.
- Removed default
DEBUGlevel 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
BleakBridgeinstances each disconnect. - Fixed some type hints and docstrings.
- Modified the
connected_peripheral_delegatehandling in macOS backend to fix #213 and #116. - Merged #270, fixing a critical bug in
get_servicesmethod in Core Bluetooth backend. - Improved handling of disconnections and
is_connectedin BlueZ backend to fix #259. - Fix for
set_disconnected_callbackon Core Bluetooth. Fixes #276. - Safer
Core Bluetoothpresence check. Merged #280.