Files
seismo-relay/bridges
serversdownandClaude Opus 5 3fa2a4035e fix(micromate): the ACH server now names modem chatter, and flushes its output
Three things the first real call-in exposed.  UM12947's modem dialled in at
14:16:56 from 63.45.161.30 -- the network path works -- and sent 60 bytes of
"RADIO RING", space-padded and newline-separated, four times.

1. THAT IS MODEM CHATTER, NOT THE UNIT, and the server left it as a hex dump to
   interpret by hand.  CLAUDE.md already records that an RV50/RV55 "sends
   \r\nRING\r\n\r\nCONNECT\r\n over TCP to the caller even with Quiet Mode
   enabled"; an RX55 on AirLink OS says RADIO RING instead.  The server now
   recognises the known modem strings and says so.

   ⚠ The diagnostic value is in what was MISSING: four RINGs and NO CONNECT.
   RING means the modem is ringing the serial device, CONNECT means something
   answered.  Rings without a connect, plus no answer to POLL, means TCP is fine
   and the unit is not on the other end of the serial link.  The server now
   prints that conclusion and the three things to check -- cabled at all, cable
   chipset (FTDI/CDC-ACM only, never Prolific), and a cold boot with the cable
   attached, since the USB-A host port only enumerates at power-on.

2. STDOUT WAS BLOCK-BUFFERED.  With output redirected, every print sat in a
   buffer, so the log read EMPTY while a call was in progress and the session was
   only discoverable on disk afterwards.  For a tool whose whole job is to be
   watched during a one-shot event, that is close to useless.  Line-buffered now.

3. THE DOCSTRING PROMISED SCANNERS LEAVE NO TRACE ON DISK, AND THEY DID.  The
   failed-handshake path created a session directory unconditionally -- my own
   loopback sanity check produced one.  Now a connection that sends nothing AND
   fails the handshake is discarded with no directory; one that sent something
   unprompted is always kept, because that is the interesting case.

Also recorded in session.json: modem_chatter, ring_count and a diagnosis string,
so a session can be triaged without re-reading the raw bytes.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ru8Lg9HkkYvX9VWWo65SmL
2026-10-14 14:21:42 -04:00
..