mirror of
https://github.com/D-Modem/app.git
synced 2026-11-28 17:38:05 -08:00
The modem's DTE lent to a job as Swift drives it: octets as Latin-1 strings, callbacks through fun interfaces (DteOut, LogOut, Changed) rather than Kotlin lambdas, state read when it says it changed. - FaxJob: send pages to a number, or answer and save the pages as a PDF - TransferJob: ZMODEM/YMODEM/XMODEM/Kermit on the shared Transfer, now in common code (the Android terminal uses the same one) - DialUpJob: ISP dialled, login script, PPP, packets to a PacketTunnel - FaxImage: grey pixels as fax pages, at a threshold or dithered - nativeMain: PosixFiles/PosixFolderIncoming for files by path, and UdpPacketTunnel relaying packets to iOS's packet tunnel extension - PeerHost takes LogOut for its events and log (Swift can't pass a Unit-returning Kotlin lambda as a plain closure) JobsTest runs each job on the JVM and natively (the fax both ways on the fake class 1 line, ZMODEM between two jobs, PPP to a fake ISP); NativeJobsTest covers the files and the UDP relay. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0172Hejd12i4aYikYW9vgpZs