Files
seismo-relay/sfm
serversdownandClaude Opus 5.5 ca5c401c6f fix(device_access): a start's read-back waits out the sensor check, then wakes the MiniMate with retries
Second start through SFM, BE9441 2026-10-26 23:54:41: acked 0x69, and Brian saw
'starting, performing sensor check, recording' -- but the read-back's single
SESSION_RESET + POLL went out 2.3 s after the ack, inside the ~30 s sensor
check, and was never answered or re-sent (504 after 120 s, audit ca7b5b42).
Brian: every unit is set to sensor-check before monitoring, ~30 s, then
'Recording...'.

- MiniMateProtocol.wake(attempt_s, deadline_s): SESSION_RESET + POLL re-sent
  every attempt_s until the unit answers, then the POLL data step; a named
  timeout at the deadline.  Reads only.  MiniMateClient.wake() wraps it.
- The Series-3 change: after a START, the first read waits S3_SENSOR_CHECK_S
  (30 s) before asking; every read then wakes with retries (every 5 s, up to
  60 s).  A stop is unchanged -- its read-back was confirmed three times tonight.

Tests: a unit deaf for 4 probes is asked a 5th time and answers; a unit that
never answers ends in the named timeout after ~6 probes; a start's first read
waits the sensor check, a stop's does not; every read is preceded by a wake.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
2026-10-27 00:02:10 -04:00
..
2026-03-30 23:23:29 -04:00