- Changing the wheel name to avoid installing a package from cache #40
- Added event handler for bluetooth adapter state change #39 by robgar2001
- Removal of deprecated convert_path from setup script
- Fixed build failure when pip isolated environment is used #38
- Fixed crash on API level 31 (Android 12) #37
- Added new optional BluetoothDispatcher parameter to specifiy required permissions: runtime_permissions. Runtime permissions that are required by by default: ACCESS_FINE_LOCATION, BLUETOOTH_SCAN, BLUETOOTH_CONNECT, BLUETOOTH_ADVERTISE
- Changed able.require_bluetooth_enabled behavior: first asks for runtime permissions and if permissions are granted then offers to enable the adapter
- require_runtime_permissions decorator deprecated
- Improved logging of reconnection management #33 by robgar2001
- Fixed build failure after AAB support was added to python-for-android
- Switched from deprecated scanning method BluetoothAdapter.startLeScan to BluetoothLeScanner.startScan
- Added support for BLE scanning settings: able.scan_settings module
- Added support for BLE scanning filters: able.filters module
- Added support to use able in Android services
- Added decorators:
- able.require_bluetooth_enabled: to call BluetoothDispatcher method when bluetooth adapter becomes ready
- able.require_runtime_permissions: to call BluetoothDispatcher method when location runtime permission is granted
- Added able.advertising: module to perform BLE advertise operations
- Added property to get and set Bluetoth adapter name
- Fixed TypeError exception on BluetoothDispatcher.enable_notifications
- Added BluetoothDispatcher.bonded_devices property: list of paired BLE devices
- Fixed sending string data with write_characteristic function
- Changed package version generation:
- Version is set during the build, from the git tag
- Development (git master) version is always "0.0.0"
- Added ATT MTU changing method and callback
- Added MTU changing example
- Fixed:
- set BluetoothDispatcher.gatt attribute in GATT connection handler, to avoid possible on_connection_state_change() call before the gatt attribute is set