Commit Graph
153 Commits
Author SHA1 Message Date
Claude 308fa9f76c D-Modem-RE: INFO1a in the log
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0172Hejd12i4aYikYW9vgpZs
2026-10-28 06:01:36 +00:00
Claude 11431b09c3 D-Modem-RE: V.34 loop timing (the SmartUSB56's dial-outs)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0172Hejd12i4aYikYW9vgpZs
2026-10-28 02:54:23 +00:00
Claude d15305020a D-Modem-RE: the SmartUSB56's own automatic transmit level
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0172Hejd12i4aYikYW9vgpZs
2026-10-28 02:20:33 +00:00
Claude e115f9aaf8 Bump d-modem-re: the remote's MP in full in the log
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0172Hejd12i4aYikYW9vgpZs
2026-10-28 01:22:06 +00:00
Claude 8e8cf66e5f Bump d-modem-re: no phantom RING from the SmartUSB56's FIFO underruns
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0172Hejd12i4aYikYW9vgpZs
2026-10-28 01:08:48 +00:00
Claude 9ea558f09e Calls: an Answer only while one rings; the call's alerts in the log
Phantom incoming calls were reported with nothing in the log to say
where they came from. The log now says when the app shows a call
ringing in (and from what) and when it's gone, and when the call's
notification opens the app. And an Answer (or answer as fax) intent
Android hands back later, as when the app comes back from Recents,
does nothing with no call ringing: it went off hook for no call.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0172Hejd12i4aYikYW9vgpZs
2026-10-28 00:19:15 +00:00
Claude a8e137c474 Bump d-modem-re: dialling out no longer stalls on the remote's MP
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0172Hejd12i4aYikYW9vgpZs
2026-10-28 00:16:09 +00:00
Claude 6f73bbdf82 Bump d-modem-re: a V.34 answer no longer stalls on its own echo
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0172Hejd12i4aYikYW9vgpZs
2026-10-28 00:00:55 +00:00
Claude 1a467f7ac0 Native builds: D-Modem-RE's usb_wb.cpp (the pico-serial WB stick)
usb_line.cpp now calls into it; without it the JNI library didn't link.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0172Hejd12i4aYikYW9vgpZs
2026-10-27 23:43:39 +00:00
Claude 0c3c87726f Bump d-modem-re to its default branch: V.wb, V.34 answerer fixes
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0172Hejd12i4aYikYW9vgpZs
2026-10-27 23:35:35 +00:00
Claude 03827fac57 The app fades in as it starts (400 ms)
From the window's background, once: not again when it's recreated (as
when turned). Dialogs, as a ringing call's, are their own windows and
show at once.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0172Hejd12i4aYikYW9vgpZs
2026-10-27 13:52:05 +00:00
Claude bcddbe5ee7 Tabs: a longer fade through (out in 100 ms, in over 300 ms)
The 180 ms fade wasn't seen on a phone: the new tab's first frame took
most of it. The old tab now fades out first and the new one in after,
eased.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0172Hejd12i4aYikYW9vgpZs
2026-10-27 13:46:28 +00:00
Claude cab24b18d7 Transitions: tabs fade, Settings' pages slide in and out
A quick fade (180 ms in, 90 ms out) from one tab to the next. Settings:
into a page, it fades in from a twelfth to the right; back, the menu
fades in as the page fades and slides that far out to the right, over
it (220 ms).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0172Hejd12i4aYikYW9vgpZs
2026-10-27 13:38:22 +00:00
Claude e18a3df8e5 Settings' menu as cards: an icon tile, the title in the accent colour
Each page a rounded card on the raised surface, its icon on a tile of
the background's colour, the title in the primary colour with what it's
set to beneath, the cards spaced apart; a Settings title over them, as
each page has its own.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0172Hejd12i4aYikYW9vgpZs
2026-10-27 13:32:33 +00:00
Claude 4d24662752 Comments back above the functions they describe
PeerLine's tone(), XYModem's readBlock() and TransferJob's protocols:
the older comment had a property between it and its function (or
described the next one too); each now sits above what it describes,
and the properties have their own.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0172Hejd12i4aYikYW9vgpZs
2026-10-27 08:32:42 +00:00
Claude 9915decc6d Comments for every function: the last batch; CI checks it
The UI tests, Gradle's script, the iOS app and the native test hosts
(batch 6 of 8, comment lines only) and the checker's own. Every
function in the app is now documented; android.yml's docs job runs
tools/doc_check.py first.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0172Hejd12i4aYikYW9vgpZs
2026-10-27 08:23:54 +00:00
Claude ebbb5eb4a4 Comments for every function: the app's code and tests, batch 3 of 8
Comment lines only.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0172Hejd12i4aYikYW9vgpZs
2026-10-27 08:18:09 +00:00
Claude 96fe07be7e Comments for every function: the shared code, batch 7 of 8
Comment lines only.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0172Hejd12i4aYikYW9vgpZs
2026-10-27 08:17:47 +00:00
Claude d58905f2f2 Comments for every function: the app's code and native layer, batch 1 of 8
Comment lines only.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0172Hejd12i4aYikYW9vgpZs
2026-10-27 08:17:37 +00:00
Claude 6ea650bd84 Comments for every function: the app's code, batch 2 of 8
Comment lines only.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0172Hejd12i4aYikYW9vgpZs
2026-10-27 08:16:56 +00:00
Claude 12d7ae3693 Comments for every function: the app's tests, batch 5 of 8
Comment lines only.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0172Hejd12i4aYikYW9vgpZs
2026-10-27 08:16:38 +00:00
Claude 9b4debf4f5 Comments for every function: the first two batches; doc_check.py stricter
The tests' and shared code's functions in two of eight batches (comment
lines only). doc_check.py skips only lines of annotations alone, so a
function under an annotated property (@Volatile var) needs its own.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0172Hejd12i4aYikYW9vgpZs
2026-10-27 08:16:27 +00:00
Claude 84a7ff0a15 tools/doc_check.py: every function documented
A comment on the line just above each function (or above its
annotations) in Kotlin, Swift and shell, a docstring or comment in
Python; C and C++ through D-Modem-RE's own check. The README says so.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0172Hejd12i4aYikYW9vgpZs
2026-10-27 08:13:10 +00:00
Claude bc8a3b1381 Bump d-modem-re: doc_check passes
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0172Hejd12i4aYikYW9vgpZs
2026-10-27 08:03:56 +00:00
Claude 1a014580ee Bump d-modem-re to its default branch (the Agere work merged, macOS port)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0172Hejd12i4aYikYW9vgpZs
2026-10-27 07:54:25 +00:00
Claude 501275eecf Bump d-modem-re: V.34 no longer takes random training bits for J
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0172Hejd12i4aYikYW9vgpZs
2026-10-27 07:41:34 +00:00
Claude aa2f1cad00 Bump d-modem-re: the Agere modem starts again after a stop
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0172Hejd12i4aYikYW9vgpZs
2026-10-27 07:22:24 +00:00
Claude cac586cbe8 USB line: automatic transmit level, on by default
A switch over the transmit level: on, D-Modem-RE's DMODEM_USB_TX_GAIN=auto
sets it for each call from the remote's answer tone; off, the dB as
before. Bumps d-modem-re for it (and rings no longer hidden by caller
ID's listening).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0172Hejd12i4aYikYW9vgpZs
2026-10-27 07:09:04 +00:00
Claude cf2a34b3a2 Bump d-modem-re: Agere modem restarts; USB errors in the log
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0172Hejd12i4aYikYW9vgpZs
2026-10-27 06:48:20 +00:00
Claude 357a832446 Bump d-modem-re: no phantom ring after hang-up
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0172Hejd12i4aYikYW9vgpZs
2026-10-27 06:32:45 +00:00
Claude f5866e3eda D-Modem-RE: no phantom rings from the Agere Polaris's stuck ring bit; playback lead capped
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0172Hejd12i4aYikYW9vgpZs
2026-10-27 06:11:52 +00:00
Claude 19c5e5c379 D-Modem-RE: the Agere's Polaris rings detected (codec register 0x0a8 bit 1)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0172Hejd12i4aYikYW9vgpZs
2026-10-26 22:16:30 +00:00
Claude 603a9c7016 D-Modem-RE: the Agere's ring registers polled on hook and logged; the samples' range logged
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0172Hejd12i4aYikYW9vgpZs
2026-10-26 22:03:58 +00:00
Claude 394cdaa316 USB line: a transmit level setting (-20 to 20 dB), D-Modem-RE's DMODEM_USB_TX_GAIN
For a line or modem that hears the modem too faintly: the first Agere
device's remote does (V.34 asks for 7200 at most, V.22bis's carrier is
lost there) while its own samples check out.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0172Hejd12i4aYikYW9vgpZs
2026-10-26 21:39:11 +00:00
Claude f06b8095db D-Modem-RE: the Agere's transmit ring kept from paired transfers; 60 ms of playback to spare
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0172Hejd12i4aYikYW9vgpZs
2026-10-26 19:17:40 +00:00
Claude c4dbd56a1a D-Modem-RE: the Agere's transmit ring kept steady (averaged count, corrections past a slack)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0172Hejd12i4aYikYW9vgpZs
2026-10-26 18:48:16 +00:00
Claude ad61c88eb8 Record each call on a USB modem's line, for a bug report; share the latest from the log
A setting (the USB line's "Record each call") sets D-Modem-RE's
DMODEM_USB_REC to the captures folder: each call off hook to on hook a
stereo WAV (the line's, the modem's); the last 5 kept; the log screen's
Recording shares the newest. D-Modem-RE: the recording, and the Agere's
failed IN packets counted.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0172Hejd12i4aYikYW9vgpZs
2026-10-26 18:34:31 +00:00
Claude 02ce8466ad D-Modem-RE: the Agere paced as Windows' driver does (16 transfers in flight, 2 samples a packet)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0172Hejd12i4aYikYW9vgpZs
2026-10-26 18:19:09 +00:00
Claude 9382cf6fe2 A Bluetooth modem as the modem (Dial-Up Networking: a Sony BTA-NW1)
A new line, "A phone line, through a Bluetooth modem": the paired
modem's DUN service (then unencrypted, then its serial port) is
connected in place of D-Modem's modem, its streams on the DTE hub, so
the terminal, the internet and fax talk to it with its own AT commands.
Its status from its result codes (CONNECT and its speed, NO CARRIER,
BUSY...); no tones or adaptive answer of the app's; its connection
dropping, connected again once.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0172Hejd12i4aYikYW9vgpZs
2026-10-26 17:27:06 +00:00
Claude 9d6993a299 USB serial: Exar's XR21V141x, XR21B1411, XR21B142x and XR2280x
They show a CDC-ACM interface, which the library's CDC driver would
take, but their UART is set through Exar's vendor registers (the
XR21V141x ignores CDC's line coding): XrSerialDriver does that, from the
datasheets' register maps (our own code), its lines from its GPIOs.
Registered before the CDC driver; tested against a fake of the
registers (not yet on a real chip).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0172Hejd12i4aYikYW9vgpZs
2026-10-26 12:40:43 +00:00
Claude d716171658 USB serial: the 1100 or so adapters on FTDI, CP210x, PL2303 and CH34x chips under their makers' own IDs
usb-serial-for-android's table has only the chip makers' IDs (18); many
adapters carry their own. tools/usb-serial-ids/generate.py takes the IDs
(only the numbers) from Linux's drivers' tables (v6.12: 823 FTDI, 203
CP210x, 76 PL2303, 6 CH34x; not FTDI's JTAG and infrared boards) into
UsbSerialIds and the device filter, and UsbSerialAdapters' prober adds
them to the library's table for the bridge.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0172Hejd12i4aYikYW9vgpZs
2026-10-26 12:37:37 +00:00
Claude 3209195582 Log: time stamps (a setting, [HH:mm:ss.SSS] by default), a line for each day; the build and USB modems logged from the app's start
Each line's time is kept as it comes; the log screen, Copy and Save
show it in the setting's date pattern (empty: none; one that isn't a
pattern: the default), with a line before each day's first. The app's
first line says its build and when it started, then the USB modems
plugged in, and each as it's plugged in or goes, the modem started or
not (the service's own watch, only while it ran, dropped).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0172Hejd12i4aYikYW9vgpZs
2026-10-26 11:59:51 +00:00
Claude 7f28b05ef7 "Plugged in" follows USB modems plugged in and out while it's on screen
The home card and the line settings looked once, when shown: now they
follow Android's attached/detached broadcasts (one just detached left
out, as Android may still list it).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0172Hejd12i4aYikYW9vgpZs
2026-10-26 11:55:27 +00:00
Claude 482fef123c D-Modem-RE: the Agere's Polaris DAA driven, its hook the right way round
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0172Hejd12i4aYikYW9vgpZs
2026-10-26 11:40:19 +00:00
Claude 601324744c D-Modem-RE: the Agere's OH LED on GPIO 4; the LED probe over all 32 GPIO bits
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0172Hejd12i4aYikYW9vgpZs
2026-10-26 11:04:08 +00:00
Claude d5bab92cf2 A special build to probe the Agere's LEDs (-Pdmodem.special=led-probe); D-Modem-RE: ring indices left alone off hook
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0172Hejd12i4aYikYW9vgpZs
2026-10-26 10:50:43 +00:00
Claude 5cfa4d3ffa D-Modem-RE: the Agere's start-up step from Windows' driver, ring indices off hook, registers logged
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0172Hejd12i4aYikYW9vgpZs
2026-10-26 10:38:50 +00:00
Claude 76dae57d52 Log the build when the modem starts: version, commits, -dirty, special builds
The app's and D-Modem-RE's short commits (with -dirty if tracked files
differ), the build type unless release, and -Pdmodem.special=<name> for
a special build.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0172Hejd12i4aYikYW9vgpZs
2026-10-26 10:22:29 +00:00
Claude 03a196af25 D-Modem-RE: the Agere modem's two LEDs (READY/DATA, OH); its playback catches up after a burst
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0172Hejd12i4aYikYW9vgpZs
2026-10-26 10:09:42 +00:00
Claude e2b9d1ccfe Agere: on its ROM's own isochronous stream (D-Modem-RE), no patches in the app
D-Modem-RE now streams the Agere modem as Agere's Windows driver does:
alternate setting 1, the ROM's command 0x0c, a packet each way every 2
microframes, nothing downloaded into it. So the app ships no Agere
patches: the agereFirmware assets, installAgereFirmware and its test,
and the bring-up's environment variables go. The transfer counts log an
isochronous IN transfer's packets; the host test checks the alternate
setting and the packets.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0172Hejd12i4aYikYW9vgpZs
2026-10-26 09:22:48 +00:00