mirror of
https://github.com/D-Modem/app.git
synced 2026-11-28 17:38:05 -08:00
D-Modem-RE up to 24e48f3: its adaptive answer (AT+FAA=1: the caller's CNG, a V.8 fax call or T.38 from the far end make it FAX, +FCLASS=1 and a class 1 answerer; a modem's handshake makes it DATA, then CONNECT) and its CNG detector widened to T.30's 1100 Hz +-38 Hz. The app turns it on as the modem starts (Settings: "Fax or data, as each call turns out", on by default). When the modem says FAX, the fax receiver takes the DTE at once, on its reader's thread before the CONNECT goes to the terminal, with no set-up commands (the modem is waiting for our first frames), and receives the pages as an answered fax always did. A data call stays the terminal's. With it on, the incoming call popup and notification offer Answer and Ignore (no "Answer as fax"), and the fax settings' auto-answer answers every call adaptively. Tests: FaxAppTest.aFaxMachinesCallAnsweredAdaptively (a fax machine dials, a plain ATA, the page received and saved), aDataCallAnsweredAdaptively (DATA, CONNECT, no fax). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0172Hejd12i4aYikYW9vgpZs