summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-bleak_3.0.0.bb
Commit message (Collapse)AuthorAgeFilesLines
* python3-bleak: upgrade 2.1.1 -> 3.0.0Wang Mingyu5 days1-0/+24
Changelog: ============ - Added adapter attribute to bleak.args.bluez.BlueZClientArgs and bleak.args.bluez.BlueZScannerArgs. - Added bluez keyword argument to BleakClient. - Added new bleak.args.bluez.BlueZClientArgs class. - Added bleak.exc.BleakGATTProtocolError and bleak.exc.BleakGATTProtocolErrorCode classes. - Added type hints and documentation for use_cached kwarg for read_gatt_char() and read_gatt_descriptor() methods in BleakClient. - Added support for "use_cached" kwarg to read_gatt_char() and read_gatt_descriptor() methods in BlueZ backend. - Deprecated adapter keyword argument in BleakScanner and BleakClient. - Changed GATT read and write methods to raise BleakGATTProtocolError when a GATT protocol error occurs. - Changed start/stop scanning on CoreBluetooth so that the isScanning property is not checked anymore. - Changed BleakClient.write_gatt_descriptor() to raise ValueError when attempting to write to the descriptor 0x2902 (Client Characteristic Configuration Descriptor, CCCD). Use start_notify() and stop_notify() instead. - Fixed occasional EOFError when disconnecting in BlueZ backend. - Fixed a potential deadlock when turning off Bluetooth manually while starting scanning on CoreBluetooth. - Fixed reading descriptors 0x2900, 0x2902 and 0x2903 on CoreBluetooth backend. - Fixed cyclic references problem in CoreBluetooth backend causing memory leaks. - Fixed typehint for BleakScanner.__aexit__(). - Removed undocumented/deprecated device keyword argument from BleakScannerBlueZDBus and BleakClientBlueZDBus. Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>