test(minimateplus): a 71 KB histogram past the old 128-chunk cap walks as Blastware's and rebuilds its file

Tonight's bridge recording of BE9441 (16:08-19:06) as a fixture, with
Blastware's files: Blastware's and SFM's requests in order (1,596, 722 of them
5A, 722 A5 replies), two Blastware config writes, SFM's stop, and three events.
Event 2 is a 4,096-sps, 2 s histogram of 71,088 bytes -- 139 requests, two 64 KB
crossings.

Measured live the same evening (SFM through the bridge, read-only downloads):
SFM's files for events 1 and 2 are byte-identical to Blastware's (sha256), the
71 KB histogram included -- the first event past the old cap downloaded from a
unit.  Event 0, the mic-off histogram, was refused ('decodes as neither'), as
expected on this branch: its decoder fix (#47) is on dev.

The test, fed the recorded replies with max_chunks=128: SFM's walks send
exactly Blastware's 139 and 118 requests and rebuild both files byte for byte.
Reverting the STRT-sized cap (8acb951) fails it.  No code change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
This commit is contained in:
serversdownandClaude Opus 5.5 committed 2026-10-26 19:09:48 -04:00
1 parent d990466407
commit 258a6e2143
9 files changed
+3686

No files matched your search

@@ -0,0 +1,34 @@
# BE9441 through the recording bridge, 16:08–19:06 on 2026-10-26
BE9441 (S338.17) on the dev box's serial port, shared on TCP by `bridges/mm_link.py`.
Both Blastware and SFM connected through it, so `requests.bin` holds both clients'
requests in order and `unit_replies.bin` everything the unit sent: 1,596 requests,
722 of them 5A, matched by 722 A5 replies.
What happened, in order:
| time | who | what |
|---|---|---|
| 16:10–16:15 | Blastware | listed and downloaded events 0 and 1 (below); a cancelled re-read of event 1 |
| 16:26:10 | Blastware | **config write**: Histogram mode, 15-minute interval, mic enabled (13 frames) |
| 16:27:21 | Blastware | **config write**: interval back to 2 s (13 frames; 2 image bytes differ) |
| 17:00 | keypad | histogram monitoring started |
| 18:47–18:53 | SFM | status reads; the flag read 0x0B (monitoring, histogram) |
| 18:53:53 | SFM | **stop** (0x97): acked 0x68, read back idle; audit c9c17128 |
| 18:55–19:00 | Blastware | downloaded event 2 (a cancelled partial walk, then the full one) |
| 19:03–19:06 | SFM | downloaded events 1 and 2 by serial, byte-identical to `blastware/` |
Events (Blastware's files in `blastware/`):
| event | key → end | what | file |
|---|---|---|---|
| 0 | `01110000` → `011106A0` | histogram, 2 s, **mic off**, 22 intervals (1,696 B) | `K441LTOK.QZ0` (+ ASCII) |
| 1 | `011106A0` → `0111F210` | waveform, 60,272 B | `K441LTOK.R10` |
| 2 | `0111F210` → `011307C0` | histogram, 2 s, mic on, 4,096 sps, 3,398 intervals, **71,088 B: 139 requests, two 64 KB crossings** | `K441LTON.900` (+ ASCII) |
Measured from this recording:
- every request, write frames included, follows the uniform escape model (#46);
- the config image's layout matches Series 4's `0x1A` (#48);
- the mic-off histogram format (#47);
- the old histogram reader misreads 87/3,398 of event 2's intervals at 4,096 sps (#49);
- the 0x1C flag 0x0B and the escaped-memory-field decode (`d990466`).