mirror of
https://github.com/jonasbark/swiftcontrol.git
synced 2026-11-29 09:11:17 +01:00
Brings the BLE peripheral-mode migration to universal_ble 2.0.0 into the WiFi DirCon trainer-discovery branch and bumps universal_ble to the latest fork commit (ref: changes, 2.0.0). Conflict resolutions: - prop submodule: merged the universal_ble 2.0 transporter migration with the WiFi DirCon TrainerTransport refactor; kept the '0x' short-UUID normalisation on startAdvertising. Updated BleCharacteristic call sites to the new 3-arg (uuid, properties, descriptors) constructor. - obc_ble_emulator.dart: took the PeripheralServer / universal_ble 2.0 write-handler migration; kept the richer Error(button:) context on sendAction (using _currentDeviceId, the migrated connection tracker). - unlock.dart: kept the main.dart import. - pubspec.yaml: kept version 6.0.0+135; took ref: changes for universal_ble. Pre-existing prop test failures (composite/dircon/fitness serviceUUIDs) are unchanged by this merge — they fail identically on the pre-merge branch. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>