Release v0.32.0 — event times you can trust, and Series 4 mapped #54

Merged
serversdown merged 124 commits from dev into main 2026-10-27 11:01:01 -04:00
Showing only changes of commit 52d18b0d5d - Show all commits
+51 -1
View File
@@ -2308,7 +2308,57 @@ events (already solved — `0x08`/`0x1E`/`0x0A`/`0x5A`), keep our own high-water
mark, and *optionally* erase. **The erase opcodes are the only genuinely missing
piece**, and they remain on the unsafe list.
### The session is server-driven
### ✅ OBSERVED 2026-10-14 — THOR's ACH side, and it is POLL
First capture of THOR's half of a Micromate call-home, via `ach_mitm.py` between
UM12947's modem and a THOR 1.5.0.29 ACH server on port 8070.
```
unit -> THOR 60 B " \nRADIO RING \nRADIO RING \nRADIO RING \nRADIO RING"
THOR -> unit 84 B 4 x 41 02 10 10 00 5b 00 00 30 00 00 00 00 00 00 00 00 00 00 9b 03
```
**THOR sends `POLL` (`SUB 0x5B`, offset `0x0030`) — and nothing else.** Four
times over ~21 seconds, then it gives up. It does **not** send a greeting, does
not answer the `RADIO RING`, does not send `CONNECT`, and does not wait to be
spoken to beyond its initial silence.
🔑 **That POLL is byte-identical to the one `micromate.protocol` builds.**
Verified: `build_request(SUB_POLL, 0x0030)` reproduces all four frames exactly.
**So the ACH session is pull, and our receiver already implements it correctly.**
`bridges/mm_ach_server.py` does what THOR does. The "inbound call-home session"
was never a separate protocol — it is the ordinary command set on an inbound
socket, exactly as Series III's 72 captured sessions suggested.
### ⚠ But the unit answered neither — and that is the open problem
In the same capture the unit sent **only** `RADIO RING`, four times, and never a
protocol frame. THOR polled four times and got nothing. Our own server, in three
earlier attempts the same afternoon, saw the identical thing.
**The vendor's own software fails the same way we do**, which eliminates the
receiver as a suspect and places the fault between the modem and the unit.
What is established about that fault:
| | |
|---|---|
| cellular link | ✅ healthy — TCP connect in 151 ms, outbound dial succeeds |
| modem → us | ✅ bytes arrive |
| unit serial TX | ✅ *something* reaches us — the `RADIO RING` text |
| unit protocol mode | ❌ never entered; no frame ever sent |
| cable | FTDI, physically checked, cold-booted with it attached |
| modem serial config | 115200 8N1, no flow control, PAD/TCP — matches spec |
⚠ `"RADIO RING"` is **the literal string in this unit's own `0x2C` call-home
config** (the 40-byte dial-string field). Whether the unit emits it or the modem
does is **not yet established** — the cheap disambiguation is to disconnect the
unit and see whether the string still appears.
**Next step is a config diff, not more protocol work.** The deployed fleet runs
call-home over PAD successfully, so a working unit's modem settings are the
reference. Compare them against this one.
Which matches the firmware's state machine and its
`CMD_EXIT_CALL_HOME_DELETE_EVENTS_START_MONITORING` /