Files
seismo-relay/tests/fixtures/minimate-bench-10-25-26/README.md
T
serversdownandClaude Opus 5.5 465bc704dd test+docs: SFM's MiniMate downloads are byte-identical to Blastware's; the 64 KB bug narrowed
Brian's Blastware downloads of BE9441's 20 events give ground truth.  SFM's
re-run downloads of events 0, 1, 3, 4 and 10 are byte-identical to Blastware's
own files; imported first through the watcher route, the same events download
as already_stored (no duplicate rows -- the unit's 0C and Blastware's file agree
on serial + timestamp).  Fixtures: Blastware's P00/Q10 (now asserted equal to
SFM's builds) and QZ0/T80, the two page-crossing events, as byte-exact targets.

The 64 KB page bug, narrowed by a read-only test walk: carrying the page byte
addresses the first chunk in page 0x12 (answered), but the next request carries
a raw 0x03 inside its params (counter 0x032c) and gets no reply.  Pages after
0x11 have such counters; 0x11 does not (event 1 skips 0x0000-0x05FF).  Needs a
Blastware wire capture of event 2 or 19 (recorded in CLAUDE.md, the Series-III
reference and the spec).  No code change.

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

2.0 KiB

MiniMate bench, 2026-10-25 — BE9441 (S338.17, mic disabled), serial cable

Raw unit-to-SFM bytes of two one-event downloads by serial (POST /device/events/download), taken from the bench frame log in the order received: the whole session (POLL, serial, config, the event walk, then the 0x5A bulk stream). Parse with S3FrameParser and keep the 0xA5 frames.

file event key 0x5A pattern unit's own 0C peaks (in/s) T / V / L
BE9441_event0_01110000_rx.bin 0 (first) 01110000 probe, metadata pages 0x1002 0x1004, samples, TERM 0.020 / 0.060 / 0.015
BE9441_event1_0111646a_rx.bin 1 0111646a probe, samples, TERM — no metadata pages 0.030 / 0.095 / 0.020

Both events: single shot, 4096 sps, 5 s record + 0.25 s pre-trigger = 5.25 s = 21,504 samples per channel. Event 1 is the case that showed the body builder skipping 13 bytes on its second and third frames as if they were metadata pages (2 bytes lost, decode truncated at 1,024 / 2,782 / 512).

blastware/: Blastware's own downloads of the same events (Brian, 2026-10-25)

file event key note
K441LTMK.P00 0 01110000 byte-identical to SFM's build (sha 589073a0…)
K441LTMK.Q10 1 0111646a byte-identical to SFM's build after the metadata-page fix (sha e74c664d…)
K441LTMK.QZ0 2 0111c92c crosses the 64 KB page boundary: STRT end key 01122f06
K441LTML.T80 19 0118a4ca crosses the 64 KB page boundary: STRT end key 01190824

On the 2026-10-26 re-run, SFM's own downloads of events 0, 1, 3, 4 and 10 were byte-identical to Blastware's files, all five. QZ0 and T80 are the byte-exact target for a fix of the page bug. Carrying the page byte is enough to address the first chunk in the next page (0x0112012C answered). The second chunk (0x0112032C) puts a raw 0x03 in the request's params, and the unit does not answer. How Blastware encodes 02/03/04 inside params is unknown; it needs a wire capture of Blastware downloading one of these two events.