The flake (no answer to the echoed packet, then needsACall seeing "it's
connected already"): the test sent its packet as soon as openTunnel had
the address, but Internet keeps the tunnel openTunnel returns only after
it returns, so an echo arriving first had no tunnel to go to and was
dropped. It now waits for Internet's state to say connected (set once
the tunnel is kept). tearDown waits for the link to finish its hang-up,
so a failed test's link can't carry over into the next test.
Signed-off-by: Claude <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRgas5TD8Qpbs8x2NK
tools/at_reference.py copies the D-Modem submodule's docs/at_commands.pdf
into the app's assets (and names its commit in their README); --check
fails when the two differ. The D-Modem bump workflow runs it with each
bump, and CI's docs job checks it. The copy here was from 7f53883: now
3f7d6b2's, the submodule's.
Signed-off-by: Claude <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRgas5TD8Qpbs8x2NK
D-Modem's libre now takes its digests and AES from Mbed TLS by default
(DMODEM_CRYPTO=mbedtls), built beside it in the host build: the Swift
tests' link (the native job) needs libmbedcrypto, no longer -lssl
-lcrypto.
Signed-off-by: Claude <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRgas5TD8Qpbs8x2NK
external/d-modem-re: a3aaade -> 3f7d6b2, D-Modem's main (33 commits,
the x2 server from D-Modem#104 among them). The native engine builds
and its tests pass on it (native-test, 14/14).
A D-Modem bump workflow keeps it there: daily, by hand or on a
repository_dispatch from D-Modem it opens a pull request moving the
submodule to D-Modem's main, set to merge once the checks pass. It
needs a DMODEM_BUMP_TOKEN secret.
Signed-off-by: Claude <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRgas5TD8Qpbs8x2NK
Contributors now assign the copyright in their contributions to D-Modem
(the D-Modem organization, its rights held by its owner on its behalf),
with a licence back to them, and an exclusive licence where an
assignment doesn't take effect.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSQaj3bYPQDZU4qf9U
The suite's licence, as D-Modem, bbs, menu and brand: the AGPL-3.0-only
by default, and a commercial licence from the D-Modem Authors for uses
that can't meet its terms (COMMERCIAL-LICENSE.md). The contributor
agreement grants the licence for both.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSQaj3bYPQDZU4qf9U
Each contribution comes with the suite's contributor agreement (the one
bbs, menu and brand already use): the contributor keeps the copyright
and licenses it to the D-Modem Authors under the repository's licence
and any other terms, commercial ones included. Each commit's
Signed-off-by line says they agree. The new workflow checks for that
line on every commit of a pull request, except pull requests from the
owner, the organization's members and bots.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSQaj3bYPQDZU4qf9U
tools/settings_ref.py writes docs/settings.md from the apps'
ModemSettings: on Android each setting's DataStore key, kind, default and
comment (and it fails on a setting with no key); on iOS each setting and
the Keychain name of the secrets. The iOS settings that took the comment
of the one above them get their own.
The Pages workflow builds docs/ and the README with brand's theme, and
fails if docs/settings.md is out of date; the Android and Apple workflows
skip the site's files.
Claude-Session: https://claude.ai/code/session_01B82eRSqjp9Pn2KBr9N9LAn
Co-authored-by: Claude <noreply@anthropic.com>
The submodule moves from dea3628 to a3aaade, 37 commits: HST's link
layer and channel reversal, V.FC's data mode, Telebit's PEP, AT&V1's
call statistics and the AT!C / !CF / !CT / !R configurators.
Home names the new CONNECT parts: VFC as V.FC, HST and PEP.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRQyiDuL1VGGiw4Qnub
The README, titled for Android only, now introduces the app on Android
and iOS with a short feature list, a quick start, the suite's
repositories and the licence. Its sections move to docs/: the modem's
lines, fax, adapters and phone lines, the app screen by screen, building,
the iOS app and the source layout.
D-Modem-RE becomes D-Modem in comments, docs, workflows and the
generator's header, as in brand's naming guide; the build info line says
'D-Modem core <commit>' for the submodule's commit. Identifiers and the
external/d-modem-re path keep their names.
The Android and Apple workflows no longer run for a change to Markdown,
docs/ or COPYING alone (tag pushes still run).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSqjp9Pn2KBr9N9LAn
- A new line, "a phone line, through a modem on a USB serial adapter": an
external Hayes modem on a PL2303 (PL2303GS too), FTDI, CP210x, CH34x or
CDC-ACM adapter takes D-Modem's modem's place, as a Bluetooth modem does.
The terminal, the internet, fax and /dev/ttyDM0 talk to it; its status
from its result codes and DCD; DTR up while it runs, down when it stops.
Its speed (8N1) and RTS/CTS in the line's settings.
- The local Linux gets the adapter as /dev/ttyUSB0: a pty bridged to it,
opened when a program opens the port, closed (DTR down) when it closes;
the speed, stop bits, RTS/CTS and B0 follow the program's termios
(pty.c's new Pty.termios reads the slave's through the master).
- SerialAdapters keeps the modem's line, /dev/ttyUSB0 and the USB bridge
off each other's adapter.
- The terminal's menu: Start PPP, the app's PPP on a call already up
(dialled and logged in by hand), Internet.connect(dial = false).
Tests: SerialTtyTest, SerialModemTest, PppTakeoverTest.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRTB3RLw6uwCRCpEmpk
Every settings page now saves on its own: the line's and the modem's
pages and the dial-up ISP's lose their Save button (a change is stored
half a second after the last edit, and at once when the screen closes),
and the serial bridges' port, password, speed and format fields lose
their Set button (used 1.5 s after typing stops, on Done, or when the
page closes; a value that isn't valid is still ignored). Saves run in a
scope that outlives the screen, so leaving a page right after a change
keeps it.
The pages no longer repeat their title as a heading under it
(Appearance, Terminal, Linux, Fax, SSH keys, Dial-up internet, Serial
bridges), and a page's settings start 8 dp below its title bar.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRUcPSSYn1E8cwS11wj
D-Modem-RE (D-Modem) updated to its main with the Apple USB Modem's
driver (usb_apple.cpp), built into the engine. UsbModems knows it
(05AC:1401 and 05AC:8220, 9600 Hz), the app is offered when one is
plugged in, and native-test's usb_line_test.py runs calls on its fake
(apple_line).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSpDnDnJUjH5xnnnwz
The submodule from 7f53883 to 04a7341 (116 commits: point-of-sale V.22
fast connect and V.29 FastPOS, T.434 and T.44 fax, and the rest since).
The host's engine tests pass on it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSpDnDnJUjH5xnnnwz
D-Modem-RE moved dmodemd/ to frontend/dmodemd/ (D-Modem/D-Modem#49).
DMODEM_RE_DMODEMD is that directory, or dmodemd/ in a tree from before
the move, so the submodule can be bumped whenever. Its build directory
is still d-modem-re/dmodemd (the iOS package's library path).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSnYKZ4hXc7DHCsuMA
GitHub warns that Node 20 actions are deprecated. checkout v6, cache
(and cache/restore, cache/save) v5, setup-java v5, setup-node v6,
upload-artifact v7, gradle setup-gradle v5 (v6 defaults to a proprietary
cache provider).
setup-swift has no Node 24 release yet: the DModemKit test uses the
runner image's Swift instead (6.4 on ubuntu-24.04; the package needs
tools 5.9).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRUAp3wTZAV7UCEiC4S
ImageOS and ImageVersion are the runner's environment variables, not the
workflow's env context, so ${{ env.ImageVersion }} was empty and the
cache key never changed with the image. Build the key in the shell.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRUAp3wTZAV7UCEiC4S
Package installs sometimes stall on GitHub's runners. A local action
(.github/actions/apt, and .github/actions/brew where macOS builds) caches
the downloaded packages, and apt's package lists with them, keyed on the
runner image and the package list. A cache hit installs offline; a miss
installs as before, with retries and timeouts, and saves the cache.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRUAp3wTZAV7UCEiC4S
The debug and release signing configs take a PKCS12 keystore from
ANDROID_KEYSTORE_FILE and its password, alias and key password (the
store's if empty) from the environment; without them debug builds keep
the SDK's debug key and release builds stay unsigned. CI decodes
ANDROID_KEYSTORE_BASE64 into that file: the build job with the
repository's (debug) secrets, a new release job (assembleRelease,
bundleRelease) with the protected release environment's on main and v*
tags, the debug key on a pull request. Fork pull requests, with no
secrets, build as before.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRuUkndpo3FJrWFe84
The application id, namespace and Kotlin package of the Android app
are now org.dmodem.app.android (was com.neodesktop.dmodem), with the
JNI symbols (pty.c, jni.cpp's class name), ProGuard keeps, the USB
permission action, README and the generator scripts to match. The
shared Kotlin Multiplatform code moves to org.dmodem.app alongside it,
so the app now imports what it used to see as its own package.
The iOS bundle ids are unchanged.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRipoddxponCaexwE4