Claude cddb085d4e firmware: Bluetooth for pico-serial W (BLE NUS, SPP, pairing)
PS_BOARD=w builds for the W board: the RM2 wired as on Pico W, with
BTstack polled from the main loop.

- Classic SPP server ("pico-serial", RFCOMM 1) with credit-based flow
  control; LE Nordic UART Service plus the pico-serial control service
  (line coding, outputs, inputs, mode, break, flow, credits, info).
- Port ownership (SPEC-W 4.6) in a new portable links layer
  (src/core/link.c): USB with its port open, else the first wireless
  link, else USB. The wired boards behave as before.
- Over SPP, DCD follows the phone's CONNECT / NO CARRIER.
- Pairing only in a 2-minute window (at power-up with no bonds, PAIR
  button, or a new USB request); hold PAIR 10 s to forget. Up to 4 bonds
  in flash, below the settings sector. Just Works with LE Secure
  Connections / SSP; data and control need an encrypted link.
- BT LED shows advertising, the pairing window or a connection; RD/SD go
  to the RM2's GPIOs.
- Host tests for the links layer; CI builds the W image.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013PRsUCpxazyipPn5UGGkF8
2026-10-18 10:53:28 +00:00

pico-serial

A USB-C to DB25 RS-232 adapter built on a bare RP2040. One female DB25 works as either a modem (DCE, plugs straight into a computer) or a computer port (DTE, via a male-male gender changer), auto-detected. Made so a phone running dmodem-android can plug straight into a vintage computer's serial port.

Status: spec only. See SPEC.md.

Wireless variant (Bluetooth LE for iPhone, classic Bluetooth serial for Android): see SPEC-W.md.

Licence

Firmware: AGPL-3.0-only, or a commercial licence from Neo-Desktop. Hardware: CERN-OHL-S-2.0, or a commercial licence from Neo-Desktop. See LICENSING.md.

S
Description
Open source hardware modem designs. Supported by the D-Modem suite
https://d-modem.github.io/hardware
Readme
16 MiB
0 Stars 1 Watchers 0 Forks
Languages
C 49.5%
Python 35%
Common Lisp 11.7%
TypeScript 1.8%
CMake 1.7%
Other 0.3%