Files
seismo-relay/tests
serversdownandClaude Opus 5.5 d56dde768d fix(minimateplus): a 5A request's checksum is DLE-escaped when it is a framing byte
BE9441 never answered 5A chunk 0x7D06 of event 01122f06 -- twice (bench
2026-10-25 and 2026-10-26), each time rebooting ~11 s later.  The request ended
'... 02 03': build_5a_frame wrote the checksum bare, and 0x02 is STX.  Sent with
the checksum escaped ('10 02 03') the unit answered in 28 ms; so did chunk
0x7F06 (checksum 0x04) and 0x8B06 (0x10, which bare reads as DLE+ETX), and the
event downloaded whole and verified (21,504 x 3, peaks equal to the unit's).
Escape set {02, 03, 04, 10}: a Micromate's, measured on 251/251 THOR requests;
the MiniMate's own de-stuffing keeps 10 02/03/04 literal.  About 1 chunk
request in 64 has such a checksum, so roughly half of all multi-chunk downloads
hit one.

Not changed (no evidence either way): build_bw_frame escapes only 0x10 in its
checksum; a keyed read whose checksum is 02/03/04 is untested.  The BW 5A
byte-perfect tests skip on this box (captures absent) -- worth running where
they exist.  No codec, store or DB change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
2026-10-26 01:14:42 -04:00
..