summaryrefslogtreecommitdiff
path: root/stacks/max25-bcpr/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'stacks/max25-bcpr/README.md')
-rw-r--r--stacks/max25-bcpr/README.md69
1 files changed, 69 insertions, 0 deletions
diff --git a/stacks/max25-bcpr/README.md b/stacks/max25-bcpr/README.md
new file mode 100644
index 0000000..375f15a
--- /dev/null
+++ b/stacks/max25-bcpr/README.md
@@ -0,0 +1,69 @@
+# max25-bcpr — BayCom/based PC-COM SER12 (MAX25 userspace)
+
+**Status: available · usable** — default CMake build ON (`MAX25_BUILD_MAX25_BCPR=ON`).
+
+Public mark: **BayCom/based**. Product path: **max25-bcpr** / daemon **max25-bcprd**. Host device: **`max25e0`** (forks `max25e0:bcN` only).
+
+| Layer | Role |
+|-------|------|
+| Hardware | BayCom/based TCM3105-class AFSK (bits↔tones + PTT) |
+| Host | SER12 bit clock, HDLC, KISS PTY via **max25-bcprd-init** → unprivileged **max25-bcprd** loop |
+| KISS release | **`/tmp/max25-bcpr/kiss-bc0`** → HyBBX `baycom` transport |
+| Device id | **`max25e0`** only — never `bcpr` / `bcpr-bc0` product ids |
+| Not | TNC · digipeater · BBX · kernel BayCom product |
+
+Internal C sources may still use `bcpr_*` symbols — product face is **max25-bcpr** only.
+
+## Build (default)
+
+```bash
+cmake -S . -B build
+cmake --build build --target max25-bcprd max25-bcprd-init test_hdlc_offline
+install sets **setuid** on `max25-bcprd-init` (chmod 4755).
+```
+
+Opt-out: `-DMAX25_BUILD_MAX25_BCPR=OFF`.
+
+## Offline smoke
+
+```bash
+stacks/max25-bcpr/tools/max25-bcpr-ctl -c stacks/max25-bcpr/share/max25-bcpr.ini.example smoke
+```
+
+```bash
+# Daemon
+sudo stacks/max25-bcpr/tools/max25-bcpr-ctl -c /etc/max25/max25-bcpr.ini start
+sudo stacks/max25-bcpr/tools/max25-bcpr-ctl -c /etc/max25/max25-bcpr.ini status
+sudo stacks/max25-bcpr/tools/max25-bcpr-ctl -c /etc/max25/max25-bcpr.ini stop
+
+# Interactive diag / force-TX ladder (operator — prove RX first)
+sudo -n stacks/max25-bcpr/tools/max25-bcpr-ultimate-diag.sh --menu
+```
+
+## Localhost standalone (Lite)
+
+```ini
+[features]
+max25_bcpr = yes
+
+[devices]
+default = max25e0
+max25e0 = max25-bcpr:bc0
+
+[device.max25e0]
+kiss_link = /tmp/max25-bcpr/kiss-bc0
+max25_bcpr_ini = /etc/max25/max25-bcpr.ini
+```
+
+max25d starts **max25-bcprd-init** (live) or **max25-bcprd** (dry-run) and keeps the KISS PTY on this machine for `max25-terminal` — no co-host attach. Multi-RF co-host modes (`mode = hybbx-cohost` and similar) are a full **MAX25-Stack** feature, not part of Lite — see [wizard.md](https://github.com/ngteq/MAX25-Stack-Lite) / vault `baycom-based.md`.
+
+## Related
+
+| Goal | Doc |
+|------|-----|
+| Build · wizard | [../../README.md](../../README.md) · [../../docs/README.md](../../docs/README.md) |
+| Plain messages | `max25-bcpr-ctl` — new Linux user level |
+
+## License
+
+Algorithms from Linux `baycom_ser_fdx` / `hdlcdrv` (GPL) — `NOTICE.md`.
git clone -b <branch> https://cgit.mode42.com/<repo>.git
git clone -b <branch> git://cgit.mode42.com/<repo>.git

info@mode42.com