mirror of
https://github.com/torlando-tech/columba
synced 2026-08-12 18:07:15 -04:00
Fix timing bug where BLE scanner/advertiser/GATT connections persist after service restart because System.exit(0) kills the process before the async Python shutdown chain can complete. Add synchronous stopImmediate() methods that run directly on Main thread before process exit. Add user-configurable BLE power settings (Performance/Balanced/Battery Saver/ Custom presets) with per-interface controls for scan interval, scan duration, and advertising refresh interval. Settings flow through the full stack: UI → Room DB → Python config → Kotlin BLE bridge → Scanner/Advertiser. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| android_ble_driver.py | ||
| android_ble_interface.py | ||