Files
swiftcontrol/lib/bluetooth/emulation
Jonas Bark 46c8180a11 Merge 6.6 into the external-sensor branch
Brings 6.6's trainer-control work (FTMS handshake retry, target-power
fallback when grade simulation is refused, per-gear step and grade restate
on cadence-less trainers, Tacx Neo name detection, L-TWOO anchor gear, blog
manifest slugs) onto the sensor feature.

Three conflicts, none mechanical:

prop — resolved by merging 6.6's prop into feature/sensor-phase2 first
(e5f2c04, 818 tests). The interesting one there: trainerReportsNoCadence.
Ours reads the trainer's own reported fields so an external cadence sensor
dropping out cannot retire the trackResistance fallback; theirs added a
firmware-reports-a-cadence-it-never-measures case. Both were kept, OR'd,
and _noteCadenceEvidence now takes the trainer's own cadence rather than
the resolved one — feeding it an external reading would exonerate a
stuck-at-0 firmware and silently switch 6.6's new fallback off.

intl_en.arb — additive on both sides, both kept.

virtual_shifting_connection_logic_test.dart — additive on both sides (our
sensor sink/bridge groups, their default-shifting-mode group), both kept.

Integration suite 117/117 with both sides' tests. Four failures in
reveal_overlay_section_test and control_protocol_select_test reproduce
identically on clean origin/6.6 and are pre-existing there, not from this
merge.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-09 11:29:26 +02:00
..