From 52d18b0d5dce986e06f2291dd48f45b1bda25996 Mon Sep 17 00:00:00 2001 From: serversdown Date: Wed, 14 Oct 2026 16:42:18 -0400 Subject: [PATCH] docs(series4): OBSERVED -- THOR's ACH side is POLL, byte-identical to ours First capture of THOR's half of a Micromate call-home, taken with ach_mitm.py between UM12947's modem and a THOR 1.5.0.29 ACH server on port 8070. THOR sends POLL (SUB 0x5B, offset 0x0030) and NOTHING ELSE -- four times over ~21 s, then gives up. No greeting, no answer to the RADIO RING, no CONNECT. And that POLL is BYTE-IDENTICAL to what micromate.protocol builds: build_request(SUB_POLL, 0x0030) reproduces all four frames exactly. So the ACH session is PULL, and bridges/mm_ach_server.py already implements it correctly. The "inbound call-home session" -- carried for weeks as the last protocol unknown -- was never a separate protocol at all. It is the ordinary command set on an inbound socket, exactly as series III's 72 captured sessions suggested it would be. THE OPEN PROBLEM IS NOW CLEARLY ELSEWHERE. In the same capture the unit sent only "RADIO RING", four times, and never a protocol frame. THOR polled four times and got nothing -- identically to our own server in three attempts the same afternoon. THE VENDOR'S OWN SOFTWARE FAILS THE SAME WAY WE DO, which eliminates the receiver as a suspect and places the fault between modem and unit. Established: cellular healthy (151 ms connect, outbound dial works), bytes do reach us from the unit's side, modem serial config matches spec (115200 8N1, no flow control, PAD/TCP), cable is FTDI and cold-booted with it attached. Not established: whether the unit or the modem emits "RADIO RING" -- it is the literal string in this unit's own 0x2C dial-string field, and the cheap disambiguation is to disconnect the unit and see if it still appears. Next step is a config diff against a working deployed unit's modem, not more protocol work. Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_01Ru8Lg9HkkYvX9VWWo65SmL --- docs/micromate_protocol_reference.md | 52 +++++++++++++++++++++++++++- 1 file changed, 51 insertions(+), 1 deletion(-) diff --git a/docs/micromate_protocol_reference.md b/docs/micromate_protocol_reference.md index 05388e9..b5109e2 100644 --- a/docs/micromate_protocol_reference.md +++ b/docs/micromate_protocol_reference.md @@ -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` /