Commit Graph
301 Commits
Author SHA1 Message Date
Neo 5f3d4dae8b Merge pull request #58 from D-Modem/bot/d-modem-bump
Bump D-Modem to bbeb874
2026-11-19 08:01:13 -08:00
github-actions[bot] 909b576357 Bump D-Modem to bbeb874
external/d-modem-re: 94c55e0 -> bbeb874 (D-Modem's main), and its AT command reference.

Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-11-19 15:48:59 +00:00
Neo b9e1692118 Merge pull request #57 from D-Modem/bot/d-modem-bump
Bump D-Modem to 94c55e0
2026-11-18 07:59:06 -08:00
github-actions[bot] 17694ad24b Bump D-Modem to 94c55e0
external/d-modem-re: 902fba1 -> 94c55e0 (D-Modem's main), and its AT command reference.

Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-11-18 15:43:38 +00:00
Neo 70e645b0b5 Merge pull request #56 from D-Modem/claude/project-thread-2y4er4
Support the MultiTech MT9234MU USB modem (TUSB3410 driver, firmware import)
2026-11-17 03:13:22 -08:00
Claude c02c27c1a5 Ship MultiTech's mts_mt9234mu.fw in the app
The MT9234MU now works with no import step. The app has MultiTech's
firmware file in assets/firmware, with a README that gives its source
(linux-firmware before June 2026) and that its licence is unknown, and
that the AGPL and commercial licences do not apply to it.

TiFirmwareStore uses an imported file first, else the built-in one.
Settings, Line says which one ("built in" / "imported") and has "Use the
built-in file" to remove an import. docs/adapters.md and a unit test
(the asset is the known file and a valid image) follow.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRTNWiwCE3duMg28226
2026-11-16 21:14:44 +00:00
Claude e15e16193a Support the MultiTech MT9234MU USB modem (TUSB3410 driver)
The MT9234MU (06E0:F114) and MT9234ZBA-USB (06E0:F115, 06E0:0319)
have a TI TUSB3410 USB UART between USB and the modem. The chip has
no firmware of its own, so the modem shows only its boot ROM until
the host downloads the firmware.

- TiSerialDriver: our own usb-serial-for-android driver for the
  TUSB3410 (configuration 2, SET_CONFIG, OPEN/START/PURGE, the MCR
  and LCR in XDATA, the lines from GET_PORT_STATUS).
- TiFirmwareLoader: the firmware (header fixed, 64-octet packets) to
  the boot ROM, a usbfs reset (new JNI call), and a wait for the
  modem to come back. SerialAdapters.open does this before it opens
  the port, so the line, the local Linux and the USB bridge all get it.
- TiFirmwareStore and a Settings button: the user imports
  mts_mt9234mu.fw. The app does not ship it: its licence is unknown
  and linux-firmware removed it in 2026.
- The device filter, the probe table, unit tests and docs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRTNWiwCE3duMg28226
2026-11-16 19:52:15 +00:00
Neo 8450fe0399 Merge pull request #55 from D-Modem/bot/d-modem-bump
Bump D-Modem to 902fba1
2026-11-16 08:18:05 -08:00
github-actions[bot] ffeacfad49 Bump D-Modem to 902fba1
external/d-modem-re: 1d7b572 -> 902fba1 (D-Modem's main), and its AT command reference.

Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-11-16 15:53:10 +00:00
Neo e48d2482dd Merge pull request #53 from D-Modem/claude/project-thread-fur9m9
docs: rewrite the documentation in Simplified Technical English
2026-11-15 21:44:17 -08:00
Neo 3f8952328a Merge pull request #52 from D-Modem/bot/d-modem-bump
Bump D-Modem to 1d7b572
2026-11-15 06:13:49 -08:00
github-actions[bot] 332de7f6df Bump D-Modem to 1d7b572
external/d-modem-re: 9a8cb09 -> 1d7b572 (D-Modem's main), and its AT command reference.

Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-11-15 13:59:06 +00:00
Claude 6f3933e6e0 Merge origin/main into the STE docs rewrite
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRRR4BV2CBsQMqfrT6
Signed-off-by: Claude <noreply@anthropic.com>
2026-11-14 21:16:09 +00:00
Neo 2166541907 Merge pull request #54 from D-Modem/claude/project-thread-gxvnan
Bump D-Modem to 9a8cb09: SIP over TCP, RFC 3263 lookups
2026-11-14 07:31:22 -08:00
Claude ecc66ead2b USB engine: D-Modem's usb_cadmus2.cpp built in (usb_line.cpp calls it now)
D-Modem's main has its Cadmus2 soft modem in usb_cadmus2.cpp, which
usb_line.cpp now calls: the Android engine and native-test's USB
engines build it, its transfers counted as the others' are.  native-test
builds, and its 14 tests pass.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSJKSd2kxxKFZAiaXQ
2026-11-14 15:11:36 +00:00
Claude 1854566747 Bump D-Modem to 9a8cb09: SIP over TCP too, and RFC 3263 lookups tested
external/d-modem-re: da07c8d -> 9a8cb09 (D-Modem's main, with
D-Modem/D-Modem#114: a host's name found by NAPTR, then SRV over TCP
or UDP, then A/AAAA), and its AT command reference.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSJKSd2kxxKFZAiaXQ
2026-11-14 15:07:28 +00:00
Claude ebb5267a31 docs: keep the shared suite table the same as in the other repositories
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRRR4BV2CBsQMqfrT6
Signed-off-by: Claude <noreply@anthropic.com>
2026-11-14 10:30:12 +00:00
Claude bbce5ca974 docs: rewrite features, settings intro and fonts notes in Simplified Technical English
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRRR4BV2CBsQMqfrT6
Signed-off-by: Claude <noreply@anthropic.com>
2026-11-14 10:28:04 +00:00
Claude 3acca27cc6 docs: rewrite terminals in Simplified Technical English
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRRR4BV2CBsQMqfrT6
Signed-off-by: Claude <noreply@anthropic.com>
2026-11-14 10:26:45 +00:00
Claude ab1c0a9ae7 docs: rewrite ios and building in Simplified Technical English
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRRR4BV2CBsQMqfrT6
Signed-off-by: Claude <noreply@anthropic.com>
2026-11-14 10:26:06 +00:00
Claude 60051753b1 docs: rewrite voice and adapters in Simplified Technical English
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRRR4BV2CBsQMqfrT6
Signed-off-by: Claude <noreply@anthropic.com>
2026-11-14 10:25:36 +00:00
Claude 582a8221bf docs: rewrite README, lines, fax and layout in Simplified Technical English
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRRR4BV2CBsQMqfrT6
Signed-off-by: Claude <noreply@anthropic.com>
2026-11-14 10:24:53 +00:00
Claude badbe04956 docs: add the STE style guide and require it in CONTRIBUTING.md
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRRR4BV2CBsQMqfrT6
Signed-off-by: Claude <noreply@anthropic.com>
2026-11-14 10:23:59 +00:00
Neo c14c012c7a Merge pull request #50 from D-Modem/claude/project-thread-gxvnan
Anonymous SIP: dial a SIP address with no account (Android, iOS)
2026-11-12 12:16:22 -08:00
Claude a8192515ce Tests: the SIP line's new menu label; anonymous SIP's settings and SIP addresses
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSJKSd2kxxKFZAiaXQ
2026-11-12 19:45:26 +00:00
Claude fda087f72c Bump D-Modem to da07c8d: its anonymous user agent and SIP URIs dialled as they are
external/d-modem-re: ba5ba93 -> da07c8d (D-Modem's main, with
D-Modem/D-Modem#112), and its AT command reference.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSJKSd2kxxKFZAiaXQ
2026-11-12 19:33:07 +00:00
Claude 66b3ad4421 docs/settings.md: the anonymous SIP setting (tools/settings_ref.py)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSJKSd2kxxKFZAiaXQ
2026-11-12 19:26:54 +00:00
Claude c737261367 Anonymous SIP: dial a SIP address with no account (Android, iOS)
The SIP line's "No account: anonymous SIP" switch runs D-Modem's SIP
with no account (an empty user and domain: dmodemd's anonymous user
agent): nothing registered, sip:user@host (or user@host) dialled as it
is from "Anonymous".  The phone's "Call a SIP address" places a voice
call to one (with an account too); a directory entry's number, and ATD
in the terminal, take one for data calls.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSJKSd2kxxKFZAiaXQ
2026-11-12 19:25:44 +00:00
Neo 41c75a5876 Merge pull request #49 from D-Modem/claude/project-thread-eywog3
SSH engine: PuTTY's .ppk keys and agents; iOS logs in with a private key
2026-11-12 10:35:01 -08:00
Claude 1f2aad5720 iOS: SSH logins by a private key, PuTTY's .ppk imported
The Remote screen keeps one key in the app: chosen from Files
(OpenSSH's, PEM, or PuTTY's .ppk turned into OpenSSH's form with the
same passphrase) or made here (Ed25519), its public key to copy, its
passphrase asked when connecting. SSHShell gains the engine's key
helpers (keyEncrypted, publicKey, exportKey, newKey), tested on Linux,
with a .ppk login against CI's sshd.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSV65geuGd6zMt2V6r
2026-11-12 18:11:43 +00:00
Claude e0e1888d17 SSH engine: agent.c's functions documented 2026-11-12 15:48:26 +00:00
Claude d9f3f8a731 SSH engine: PuTTY's .ppk keys read natively, an agent chosen (Pageant and OpenSSH's on Windows), as in D-Modem/gui 2026-11-12 15:46:58 +00:00
Neo 48bf218a07 Merge pull request #48 from D-Modem/claude/project-thread-eywog3
SSH on libssh for iOS and Android (sshj and SwiftNIO SSH gone)
2026-11-12 06:30:46 -08:00
Claude 88b31d5913 iOS: the SSH XCFramework's module map apart from the engine's, universal per slice
Both XCFrameworks' headers land in the app's one include/, so
CDModemSSH's module.modulemap goes in include/CDModemSSH/; each
slice's archive is lipo'd from one archive per arch.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSV65geuGd6zMt2V6r
2026-11-12 14:07:21 +00:00
Claude e567071ad9 Android: SSH on libdmodemssh through JNI, sshj gone
The SSH client is the same as iOS's and the GUI's now: native-ssh, on
libssh, loaded as libdmodem_ssh_jni.so (NativeSsh.kt). SshLink polls
it on its own thread; its channels carry the shell, commands, the
port forwards (-L, -R, -D) and the forwarded agent's requests. Keys
stay the app's: SSH's wire form (SshWire.kt), OpenSSH's and PEM keys
read through the engine, PuTTY's .ppk read here, all on BouncyCastle.

The engine: commands can forward the agent, a write tells what's still
kept for the server (forwards hold back a fast sender), libssh built
WITH_SERVER (its callbacks for the agent's channels need it), and its
remote listen on port 0 patched to take the port from its own reply.

The unit tests build the JNI library for the host (buildHostSsh) and
run against it: OpenSSH's sshd, puttygen and Apache MINA's server.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSV65geuGd6zMt2V6r
2026-11-12 13:46:38 +00:00
Claude 55bd6015da iOS: SSH on libdmodemssh, the apps' own client on libssh
native-ssh is the desktop apps' SSH engine (D-Modem/gui's ssh/), built
here from libssh's and mbedTLS's release tarballs for the host, Android
and Apple's systems.  ios/build-native.sh makes it
DModemSSHNative.xcframework, each arch linked into one object whose only
globals are dmc_ssh_*, so its mbedTLS never meets the engine's.
DModemSSH's SSHShell keeps its API on it (SwiftNIO SSH goes), adding RSA,
keyboard-interactive and private keys; CI runs its tests and the
engine's against a real sshd.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSV65geuGd6zMt2V6r
2026-11-12 13:15:49 +00:00
Neo ef758ec96f Merge pull request #47 from D-Modem/claude/project-thread-eywog3
SSH, Telnet and rlogin: rlogin on Android, all three on iOS
2026-11-12 05:09:43 -08:00
Claude 58b6ab9368 Document the remote login functions
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSV65geuGd6zMt2V6r
2026-11-12 12:44:38 +00:00
Claude f1eb22c591 SSH, Telnet and rlogin: rlogin on Android, all three on iOS
- shared: TelnetCodec and RloginCodec (sans-I/O), and LoginBridge for Swift
- Android: rlogin directory entries (RloginLink on the shared codec)
- iOS: a Remote screen from the Terminal tab; SSH on SwiftNIO SSH
  (ios/DModemSSH, tested against a real sshd), Telnet and rlogin on
  Network with the shared codecs

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSV65geuGd6zMt2V6r
2026-11-12 12:41:55 +00:00
NeoandClaude 93febb3790 Draw the retro terminals in their machines' own fonts (#46)
The BBS and home computer terminal types now draw with their machines'
character ROM fonts, SyncTERM's copies of them from Synchronet's ciolib
(LGPL-2.0-or-later), instead of Unscii's lookalikes: the IBM VGA's code
page 437, RIPterm's 8x8, the C64's and C128's, the Atari 8-bit's, the
Amiga's Topaz, Prestel's and the Atari ST's.

- tools/gen_rom_fonts.py writes RomFonts.kt from allfonts.c; RomFont
  keeps a ROM in its machine's code order and doubles or halves it.
- MachineFonts reads each ROM in its machine's set, so a cell's code
  point gets the glyph its machine drew; what a ROM hasn't got comes
  from Unscii.
- ANSI-BBS takes SyncTERM's font selection (CSI 0 ; n SP D) for the
  fonts here, including the Amiga scene fonts.


Claude-Session: https://claude.ai/code/session_01B82eRSyCmXjaURxSYoHxCY

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-12 04:33:26 -08:00
Neo b61fa7f24b Merge pull request #45 from D-Modem/claude/project-thread-nu12ep
Read greetings from more sound files than WAV
2026-11-11 06:48:42 -08:00
Claude 23ccab3538 Read greetings from more sound files than WAV
The shared code reads WAV of 8 to 32-bit PCM, floats, A-law, mu-law,
IMA and Microsoft ADPCM, AIFF and AIFF-C, and Sun/NeXT .au (SoundFile,
a port of the desktop library's decoder: the same output on the same
files). The rest goes to the phone's own decoders:

- Android: MediaExtractor and MediaCodec (MP3, AAC/M4A, FLAC, Ogg,
  Opus, AMR), off the main thread
- iOS: AVAudioFile (MP3, AAC/M4A, FLAC, ALAC, CAF)

The file pickers take any audio file now.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRTvbHMpudRfQWK4c4H
2026-11-11 14:29:33 +00:00
Neo c730b2b79a Merge pull request #44 from D-Modem/claude/project-thread-nu12ep
Add voice calls and a local answering machine
2026-11-11 06:13:18 -08:00
Claude ad4e865a7e iOS: the greeting's timer is Foundation's (the shared Kotlin has a Timer too)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRTvbHMpudRfQWK4c4H
2026-11-11 13:07:05 +00:00
Claude c37f611b33 Voice test: the microphone and speaker driven by the time gone by
As a sound card is: a sleep that takes longer than asked (the iOS
simulator's) no longer starves the call of the microphone's samples or
leaves the far end's unread.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRTvbHMpudRfQWK4c4H
2026-11-11 12:51:55 +00:00
Claude 0004653763 Voice test: the call's pace measured over the time it ran
On the iOS simulator's three slow CPUs, the fixed bounds of a second's
samples failed; the rates are now taken over the loop's own time.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRTvbHMpudRfQWK4c4H
2026-11-11 12:44:13 +00:00
Claude f16f37d377 AT command reference: D-Modem's, with its voice commands
The submodule's bump brought #109's AT manual (the # voice dialect).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRTvbHMpudRfQWK4c4H
2026-11-11 12:36:05 +00:00
Claude 98aa27f9ea Add voice calls and a local answering machine
Calls through D-Modem's V.253 voice mode, on the phone's earpiece or
loudspeaker and microphone: a number called, the ringing call answered,
the keypad (DTMF), mute. The answering machine, off until the user turns
it on, answers after the rings set, plays the greeting and a beep, and
keeps the caller's message as a WAV file on the phone.

The call is the shared Kotlin's VoiceJob (with G.711, tones and WAV
files, tested against a fake V.253 modem). Android has Home's Phone
section, a settings page and the incoming call popup's two new answers;
iOS a Phone tab. D-Modem bumped to main (Rockwell/USR voice, #109).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRTvbHMpudRfQWK4c4H
2026-11-11 12:34:44 +00:00
Neo 1b37fea6e7 Merge pull request #42 from D-Modem/bot/d-modem-bump
Bump D-Modem to 5729391
2026-11-10 18:28:52 -08:00
NeoandClaude Opus 5.5 24db6fc483 BBS terminals: RIPscrip, Avatar, Amiga ANSI, Atari ST (Phase 7) (#43)
* Atari ST terminals, and pure white kept as a colour

The Atari ST's TOS VT52 in medium resolution (80x25, four colours) and
low (40x25, sixteen): ESC b and ESC c pens, reverse, wrap, the cursor
saved and hidden, the extra erases, line insert and delete, and the ST's
character set. Vt52Interpreter gains a character hook and an argument
hook for it; the machine size and palette set-up is shared with the
byte-oriented machines (useMachine, releaseMachine).

colorOverride's "none" was -1, which is also opaque white, so a machine's
pure white (the ST's screen, Viewdata's and the Minitel's white) fell back
to the theme's colour. "None" is now NO_COLOR (transparent black), and
overrides are kept opaque.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSyCmXjaURxSYoHxCY

* Avatar (AVT/0 and AVT/0+) over ANSI-BBS

FidoNet's compact codes taken in ANSI-BBS's intercept hook: ^L, ^Y's
repeat, ^V's PC attributes (DLE-quoted too), blink, cursor moves and
place, clear to the line's end, and AVT/0+'s insert mode, area scrolls,
clears and fills (through Rectangles), character delete and pattern
repeat. ANSI, music and the rest of ANSI-BBS work underneath.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSyCmXjaURxSYoHxCY

* Amiga ANSI

ANSI-BBS in Latin-1, drawn 8x8 (Unscii's glyphs, Topaz's size; the
generator now adds Latin-1's to the 8x8 set) in colours from the Amiga's
12-bit palette. An ANSI-BBS profile can now carry its own sixteen colours
(AnsiBbsProfile.colors), which its interpreter puts over the theme's and
takes back off when another profile takes over. The per-profile render
test now uses the profile's character set, as connecting does.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSyCmXjaURxSYoHxCY

* RIPscrip 1.54

ANSI-BBS whose lines starting !| (or ^A|, ^B|) are RIP's commands on a
640x350 EGA screen over an 80x43 text window: lines in their styles and
thickness, rectangles, bars, circles, ellipses, arcs, pies, Beziers,
polygons and polylines, flood fills, BGI's fill patterns and the host's,
text, the palette, the viewport and text window, the clipboard, text
blocks, and mouse regions and buttons. ESC [ ! answers RIP's version, and
ESC [ 1 ! and 2 ! turn it off and on. Line continuation and the CR LF
ending a RIP line are the line's own.

Raster gains ellipses, patterned fills, flood fill, a clip rectangle and
grab and put, and draws shrunk glyphs with their rows merged (a thin
stroke was lost). Taps: an interpreter can take a tap at a point on the
screen (TerminalEmulator.tap); Android's view and the iOS screen (through
TerminalBridge.tap) send what it gives, so RIP's buttons work.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSyCmXjaURxSYoHxCY

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-10 18:16:53 -08:00