Files
app/docs/layout.md
T
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

24 lines
1.3 KiB
Markdown

# Source layout
- `external/d-modem-re`: D-Modem (git submodule): the modem core, the
data pumps, the data link layer, the SIP user agent (on libre) and
`libdmodem_sip`, the modem on a SIP line as a library.
- `app/src/main/cpp`: the native library, `libdmodem_jni.so`:
`engine.cpp` runs the modem in a thread of its own with its DTE on a
socket pair whose other end is the app's, on SIP, a peer line
(`peer_modem.cpp`) or a USB modem (`usb/`); `jni.cpp` binds it to
`org.dmodem.app.android.NativeModem`.
- `app/src/main/java/org/dmodem/app/android`: `modem/` the service, the
state the UI observes and `DteHub`, the modem's DTE shared by the
console, the terminal and the bridges; `settings/`; `ui/` (Compose).
- `app/src/main/java/org/dmodem/app/android/terminal`: the terminal:
`TerminalEmulator` (pure Kotlin, unit tested), `TerminalView` (drawing
and input), `TerminalSession` (the emulator on the modem's DTE),
`BoxDrawing`, `Themes`, the directory and snippets.
- `native-test`: the engine on the build host, against a dmodemd over
loopback SIP (dialling out, data both ways, restarting, a call coming
in, the app closing its end) and through the C API, as GoogleTest
tests (`engine_test.cpp`, `c_api_test.cpp`), and on fake USB modems
(`usb_line_test.py`).