Repository navigation
Conversation
9883e00 to
2f9bf67
Compare
Size Report
|
2b663ca to
770c573
Compare
…leanly A USB Qube's advertising timeout counted as activity every 60 s, so the halves never left the active cadence (7.5 ms / latency 0 with a pointing module). - Advertising timeout is not activity while another transport is active. - Pointing link relaxes to 15 ms 30 s after its last motion. - USB central sleeps links at 15 ms / latency 13 (battery: 30 / 6). - New parameters count only once reported live.
- Recompute the target from authoritative state on every step; keep only confirmed parameters as applied. - Retry a failed target after 1/2/4/8 s; a new target goes out at once. - Set a new link's first parameters from the latched sleep state. - Skip the request when the full live tuple already matches. - Reconcile relaxed-pointing bookkeeping and profile even without an update.
Applies to all K:04 Qube profiles and is pinned in the profile contract; classic Qube profiles keep 900 s.
770c573 to
0f31ba6
Compare
On a USB-connected Qube the halves never reached the sleeping split cadence. The host BLE advertising window expires every pairing timeout (60 s on K:04) and that branch reported the expiry as user activity, so the split idle timeout (900 s) restarted every minute; with a pointing module selected the link sat at 7.5 ms / latency 0 around the clock, draining the half.
Four commits, one per finding, in the order they were found on a K:04 Qube:
Connection::paramsto report the requested interval/latency; a missing confirmation counts as not applied so the follower retries.Profile values are untouched (the K:04 Qube keeps its 900 s idle timeout; it simply takes effect now).
Testing: 718 nextest (new tests for the pointing hold, the sleeping cadence per transport and the quiet-period wrap), profile contract, format, clippy; Qube and standalone central builds. Live on a K:04 Qube over USB, from the Qube log:
Entering sleep modeonce the idle timeout elapsed (300 s in that test build), both links15014 us latency 13; on the first keyWaking up, links back at7507 us(trackball half) and15014 us(key-only half); nonot confirmedretries over a 10-minute capture.