fix: bench follow-ups -- the setup-menu warning, observed call-home values, waveform read
From the 2026-11-04 bench: - A MiniMate settings preview warns that a change is lost if someone is in the unit's setup menu: a write sent with the menu open was acknowledged and read back, then lost on Cancel or Save -- the menu writes its own copy of the whole block back (measured both ways on BE9441). - The two bytes after the MiniMate settings block went out as 00 00 and the unit took them; the preview note says so instead of 'unmeasured'. - A Micromate call-home plan no longer warns about 0x00 / 0x01: UM20147 took both, each way, on 11-03 and 11-04, matching its menu. - read_waveform_data_raw drops the escaped-checksum's stray 0x10, as the settings read does (it failed closed: the write's block check refused 203 bytes). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
This commit is contained in:
1 parent
55c7b7b5ae
commit
c790e20116
6 files changed
+68
-10
No files matched your search
@@ -633,6 +633,10 @@ class MiniMateProtocol:
|
||||
data_rsp = self._recv_one(expected_sub=rsp_sub)
|
||||
|
||||
raw = unescape_reply(data_rsp.data)[11:] # unescaped, as read_event_index
|
||||
# An escaped checksum byte leaves its 0x10 behind (bench 2026-11-04; see
|
||||
# assemble_compliance_content): one stray byte beyond what was asked is dropped.
|
||||
if len(raw) == length + 1 and raw[-1:] == b"\x10":
|
||||
raw = raw[:-1]
|
||||
log.debug("read_waveform_data_raw: got %d bytes", len(raw))
|
||||
return raw
|
||||
|
||||
|
||||
Reference in new issue
Block a user