Commit Graph
240 Commits
Author SHA1 Message Date
Claude ef13ffbfd3 USB modems: the modem's speaker on the phone's, as on the other lines (the line at 8000 Hz)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRWkXKKQdZ1QTqN43P
2026-11-10 08:08:32 +00:00
Claude cd27cfa05b D-Modem with DSP_V34_LOOP_TIMING=2 (a test: the caller's clock held from the connect on)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRWkXKKQdZ1QTqN43P
2026-11-10 07:39:19 +00:00
Claude fa5221562d Settings pages end above the keyboard (imePadding), so the field being typed in scrolls into view
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRWkXKKQdZ1QTqN43P
2026-11-10 07:02:51 +00:00
Claude f416f90b67 docs/settings.md: testSwitches
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRWkXKKQdZ1QTqN43P
2026-11-10 02:39:21 +00:00
Claude a0daf5f523 Settings: test switches (D-Modem's DSP_* and DMODEM_* settings) for a bug hunt; D-Modem at a6b8703 (V.34 test switches for the precoder)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRWkXKKQdZ1QTqN43P
2026-11-10 02:35:07 +00:00
Neo aac93274a9 Merge pull request #29 from D-Modem/claude/project-thread-qq4o90
Bump D-Modem to 3f7d6b2 (x2 server); bump it automatically
2026-11-09 05:14:32 -08:00
Claude cb095ebe22 DModemKit on Linux: link Mbed TLS's crypto, not OpenSSL
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
2026-11-09 12:58:48 +00:00
Claude ec8a53747a Bump D-Modem to 3f7d6b2 (USRobotics x2 server); bump it automatically
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
2026-11-09 12:53:59 +00:00
Neo 67fff7ef88 Merge pull request #28 from D-Modem/claude/project-thread-xqjct0
Contributor agreement, sign-off check and commercial licence
2026-11-08 17:02:45 -08:00
Claude 9b46e86a9c Contributor agreement check: Claude's commits on this repository's branches are exempt
As bbs: commits by Claude (noreply@anthropic.com) on a branch of the
repository itself are not checked; on a fork's pull request they still are.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSQaj3bYPQDZU4qf9U
2026-11-08 11:42:17 +00:00
Claude f927ca7ad0 Contributor agreement: copyright assigned to D-Modem
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
2026-11-07 11:10:39 +00:00
Claude dc27f3cd52 Licence: AGPL-3.0-only, or a commercial licence from the D-Modem Authors
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
2026-11-07 11:01:35 +00:00
Claude 7efa6813a8 Contributor agreement: CONTRIBUTING.md and a sign-off check on pull requests
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
2026-11-07 10:58:30 +00:00
NeoandClaude dc3fbe8c86 README: link the website (#27)
Claude-Session: https://claude.ai/code/session_01B82eRSqjp9Pn2KBr9N9LAn

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-05 18:21:33 -08:00
NeoandClaude 5a2ca6e164 Add the site, with a settings reference made from the code (#26)
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>
2026-11-05 18:12:28 -08:00
Neo 30cd2e2289 Merge pull request #25 from D-Modem/claude/project-thread-6n8z9z
README: add the header banner
2026-11-05 17:48:34 -08:00
Claude b72452fafc README: add the header banner
The 1280x320 banner from D-Modem/brand (banner/app@2x.png), kept at
.github/banner.png.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRR7XmhWoFbzJFFFqde
2026-11-06 01:32:14 +00:00
Neo e4bfa0b5ad Merge pull request #23 from D-Modem/claude/project-thread-cwmrpa
Landing-page README, D-Modem-RE renamed to D-Modem, CI skips doc-only changes
2026-11-05 17:09:04 -08:00
Claude acff74a8fe Unit tests named as they start in CI, to find the one that hangs
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSqjp9Pn2KBr9N9LAn
2026-11-06 00:51:03 +00:00
Claude f06690336c Merge remote-tracking branch 'origin/main' into claude/project-thread-cwmrpa 2026-11-06 00:50:53 +00:00
Neo 2a6ba3c7a5 Merge pull request #24 from D-Modem/claude/project-thread-s10k5o
D-Modem-RE at main: HST, V.FC, PEP, AT&V1, configurators
2026-11-05 16:50:10 -08:00
Claude c436ebc7f2 D-Modem-RE at main (a3aaade): HST, V.FC, PEP, AT&V1, configurators
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
2026-11-06 00:32:50 +00:00
Claude 71c649bce1 README as a landing page; D-Modem-RE is now D-Modem; CI skips doc-only changes
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
2026-11-05 10:46:04 +00:00
Neo b79b285c6d Merge pull request #22 from D-Modem/claude/project-thread-kqjtul
USB serial adapters: a modem on one as the line, /dev/ttyUSB0 in Linux, Start PPP
2026-11-03 21:43:59 -08:00
Claude 88d1ad0f30 SerialModemTest: say() documented (doc_check)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRTB3RLw6uwCRCpEmpk
2026-11-04 05:29:40 +00:00
Claude 4f01904472 USB serial adapters: a modem on one as the line, /dev/ttyUSB0 in Linux, Start PPP
- 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
2026-11-04 05:27:46 +00:00
Neo 7b2a38b688 Merge pull request #21 from D-Modem/claude/project-thread-yp7cez
Settings: saved as they change, no repeated headings
2026-11-03 21:04:39 -08:00
Claude c717dad7f1 Settings: saved as they change, no repeated headings
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
2026-11-04 04:51:17 +00:00
Neo c71b5e997e Merge pull request #20 from D-Modem/claude/project-thread-m64hjq
D-Modem-RE: the Apple USB Modem rings (notification 0x09)
2026-11-03 20:43:35 -08:00
Claude 546e29de30 D-Modem-RE: the Apple USB Modem rings (notification 0x09)
A real call's log showed the ring as notification 0x09 every 40 ms;
dmodemd now rings on that, so RING (and auto answer) works (D-Modem
#80).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSpDnDnJUjH5xnnnwz
2026-11-04 04:23:20 +00:00
Neo 13c42cc1c7 Merge pull request #19 from D-Modem/claude/project-thread-m64hjq
D-Modem-RE: no phantom rings on the Apple USB Modem
2026-11-03 16:51:55 -08:00
Claude 1772859bd2 D-Modem-RE: no phantom rings on the Apple USB Modem
Its ring detector reports every millisecond with bit 15 set while
nobody calls; dmodemd now takes a ring as both polarities (D-Modem
#79).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSpDnDnJUjH5xnnnwz
2026-11-04 00:40:25 +00:00
Neo 207ec01e96 Merge pull request #18 from D-Modem/claude/project-thread-m64hjq
D-Modem-RE: Apple USB Modem hooks with its DAA when SET_HOOK_STATE stalls
2026-11-03 15:49:16 -08:00
Claude ad288dad4a CI: no release build on a pull request
The release job (R8) is the slowest; a pull request is tried with the
build job's debug APK. main, v* tags and manual runs still build it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSpDnDnJUjH5xnnnwz
2026-11-03 23:30:23 +00:00
Claude 5e6a0cb36d D-Modem-RE: the Apple USB Modem hooks with its DAA when SET_HOOK_STATE stalls
The real device stalled SET_HOOK_STATE at start-up; dmodemd now hooks
with the Si3056's register 5 instead, as Apple's driver can (D-Modem
#78).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSpDnDnJUjH5xnnnwz
2026-11-03 23:27:11 +00:00
Neo 06f6d8b878 Merge pull request #17 from D-Modem/claude/project-thread-m64hjq
Fix the Apple USB Modem not starting (D-Modem update)
2026-11-03 03:45:29 -08:00
Claude 3e29022872 Update D-Modem-RE: the Apple USB Modem's notifications read whole
The first real Apple USB Modem stopped at start-up: a notification
overflowed dmodemd's 16-octet read, then the hook request stalled.
D-Modem/D-Modem#77 reads the interrupt endpoint a whole packet at a
time, as Apple's driver does.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSpDnDnJUjH5xnnnwz
2026-11-03 10:51:01 +00:00
Neo 12ab872d63 Merge pull request #16 from D-Modem/claude/project-thread-m64hjq
Support the Apple USB Modem, on the latest D-Modem
2026-11-03 00:59:11 -08:00
Claude 2d53e019d7 Update D-Modem-RE: dsvd_audio without posix_spawn() on Android API < 28
The release build (minSdk 26) failed on dsvd_audio.cpp's posix_spawn()
calls; D-Modem/D-Modem#76 starts its command with fork() there.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSpDnDnJUjH5xnnnwz
2026-11-03 08:45:18 +00:00
Claude 9183a2d3aa Support the Apple USB Modem (05AC:1401) as the modem's line
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
2026-11-03 08:39:35 +00:00
Claude c88fd1e862 Update D-Modem-RE to its latest main
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
2026-11-03 07:56:22 +00:00
Neo 49e3eb11e1 Merge pull request #15 from D-Modem/claude/project-thread-tc183j
Find dmodemd's sources in D-Modem-RE's frontend/dmodemd
2026-10-31 19:18:40 -07:00
Neo cb0d1c6cd9 Merge pull request #14 from D-Modem/claude/project-thread-hdz9ld
CI: move actions to their Node 24 versions
2026-10-31 19:03:58 -07:00
Claude 0623a656db Find dmodemd's sources in D-Modem-RE's frontend/dmodemd
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
2026-11-01 02:01:59 +00:00
Claude 4b12deab91 CI: move actions to their Node 24 versions
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
2026-11-01 01:51:35 +00:00
Neo 52ac4a4b21 Merge pull request #13 from D-Modem/claude/project-thread-hdz9ld
CI: cache apt and Homebrew downloads
2026-10-31 18:38:02 -07:00
Claude aa3e40e185 CI: key the package caches on the runner image
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
2026-11-01 01:25:21 +00:00
Claude db3c98fd6e CI: cache apt and Homebrew downloads
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
2026-11-01 01:11:52 +00:00
Neo ed1fcd3079 Merge pull request #12 from D-Modem/claude/project-thread-x9hagk
Android signing from CI's secrets
2026-10-31 09:52:59 -07:00
Claude 772cdf3c9a Android signing from CI's secrets
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
2026-10-31 16:36:20 +00:00