Files
app/app
Claude be435b52fa The modem as a serial port on TCP and Bluetooth
A client has the modem's DTE as if on a serial cable, one at a time:
- TCP, raw or Telnet with RFC 2217's port control (the speed and format
  answered, DTR dropped hanging up, DCD/RI/DSR/CTS notified and polled),
  this phone only unless other devices are allowed, an optional password
- Bluetooth SPP: the phone offers the port, or connects to a paired
  device's (an HC-05 on a vintage computer, say), again when it drops
The client going hangs up a call (as DTR dropping would), if set.
They run while the modem is on, set in the settings' new section.
Tested with sockets, pyserial's rfc2217:// client and Robolectric's
Bluetooth.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0172Hejd12i4aYikYW9vgpZs
2026-10-16 23:22:28 +00:00
..