Skip to content

v0.4.6

Choose a tag to compare

@mcdax mcdax released this 06 May 20:10
· 18 commits to main since this release

Fixed

  • Connection stability on marginal-signal hardware. Removed Training Status (0x2AD3) from the default connect-path subscriptions. On a KS-HD-Z1D at -83 dBm RSSI:
    • Before: 0/5 reps held a 20 s idle window — the link dropped within 2-3 s of `connect()` returning.
    • After: 4/5 reps held the full 20 s.
    • Command flow: unchanged (12/12 ok in stop_start scenario).

The bisection (in `tests/probe_setup_killer.py`) showed extra CCCD writes during connect destabilise the link on weak signals. Pure GATT reads and the load-bearing `REQUEST_CONTROL` write are kept (the latter is required — KingSmith firmware silently rejects subsequent `SET_TARGET_SPEED` / `STOP` if `REQUEST_CONTROL` never happened, even though it ignores its own response).

Training Status was informational only (PRE_WORKOUT / MANUAL / etc); the library does not gate any decision on it. Callers that want it can subscribe lazily.