Commit Graph
3 Commits
Author SHA1 Message Date
Claude 34c89ee1e7 codec_line: MODEM_REC records each modem's line (as the V.cvm recording was made)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0172Hejd12i4aYikYW9vgpZs
2026-10-18 01:11:38 +00:00
Claude 5f9cce10f1 Tests: shorter calls on the test lines, less needless work
- native-test's line tools (fax_line, codec_line, t30_line) at
  LINE_SPEED times the sample clock (line_speed.h); the fax tests ask
  for 2x (DMODEM_LINE_SPEED, 1 a phone line's pace): 4x leaves the DTE
  a quarter second for what class 1 times in a second, too tight on a
  busy machine
- t30_line's first page some 70 KB in MH, not 220 KB (still two ECM
  blocks)
- the Kermit and lrzsz interop tests' byte traces only when asked
  (KERMIT_TRACE, TRANSFER_TRACE): a file opened for each chunk; Kermit's
  big file 64 KB
- two test JVMs at once

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0172Hejd12i4aYikYW9vgpZs
2026-10-17 21:05:23 +00:00
Claude 7b863948f4 Cellular line: the phone's own mobile calls as the modem's line (privileged app, V.21)
The modem dials and answers on the phone's mobile line: Telecom places,
answers and ends the calls, Telephony tells their state, and Android 13's
call audio interception (CALL_AUDIO_INTERCEPTION, a privileged app's) has
their sound, on PeerLine as another transport (CellTransport): the
handshake made for the call, the exchange's tones played until it is
placed, the call's sound then.

On a rooted phone the app makes itself privileged: a Magisk module with
its APK in /system/priv-app and every privileged permission it asks for
allowed (Settings, Line).

Speech codecs decide the speed: native-test's codec_line puts AMR-NB or
GSM between two modems. AMR 12.2 carries V.21 (300 bit/s); V.22 and
V.22bis connect but lose data half the time; nothing faster connects;
GSM and AMR 4.75 carry nothing reliable. So the line starts at V.21
(+MS), with 1200 and 2400 bit/s to try.

Tests: CellTransportTest (the calls placed, answered, given up),
CellLineTest (two modems on mobile calls, clean and through AMR, on the
phones' audio clock), CellSettingsTest; the settings' screenshot.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0172Hejd12i4aYikYW9vgpZs
2026-10-17 10:56:02 +00:00