summaryrefslogtreecommitdiff
path: root/plugins/betriebsform/service
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/betriebsform/service')
-rw-r--r--plugins/betriebsform/service/README.md19
-rw-r--r--plugins/betriebsform/service/plugin.yaml27
2 files changed, 46 insertions, 0 deletions
diff --git a/plugins/betriebsform/service/README.md b/plugins/betriebsform/service/README.md
new file mode 100644
index 0000000..d5befeb
--- /dev/null
+++ b/plugins/betriebsform/service/README.md
@@ -0,0 +1,19 @@
+# Operating mode: Service
+
+Continuous operation with one or two radios. HyBBX Secondary, digipeater, or unattended packet service.
+
+## Requirements
+
+- BayCom/based (PC-COM): **bcpr** — real IRQ, exclusive COM lock, max 2 devices ([docs/BAYCOM.md](../../../docs/BAYCOM.md))
+- TNC path: unique serial device / no shared UART with bcpr
+- No second process on the same UART while `max25-bcprd` holds the lock
+
+## Templates
+
+| Stack | Config |
+|-------|--------|
+| BayCom/based (bcpr) | `stacks/max25-bcpr/share/max25-bcpr.ini.example` |
+| HyBBX dual BayCom | `share/hybbx/service-dual.ini.example` |
+| HyBBX dual TNC | `stacks/tncs/hybbx-dual.ini` |
+
+One `[transport.*N]` per radio channel on HyBBX Secondary.
diff --git a/plugins/betriebsform/service/plugin.yaml b/plugins/betriebsform/service/plugin.yaml
new file mode 100644
index 0000000..a659ad5
--- /dev/null
+++ b/plugins/betriebsform/service/plugin.yaml
@@ -0,0 +1,27 @@
+id: service
+type: betriebsform
+parent_stack: MainAX25-Stack (MAX25-Stack)
+label: Service
+description: 24/7 dual-radio — HyBBX, digipeater, automation
+
+stack_requirements:
+ modems_min: 1
+ modems_max: 2
+ tncs_max: 2
+ unique_irq_per_uart: true
+ staged_start: true
+
+lifecycle:
+ start: scripts/max25-ctl start --mode service
+ recover: stacks/baycom-pr/scripts/baycom-pr-ctl recover
+
+hybbx:
+ role: primary
+ multi_instance: true
+ kiss_paths:
+ - /var/run/baycom-pr/kiss-a
+ - /var/run/baycom-pr/kiss-b
+
+templates:
+ - stacks/baycom-pr/config/examples/baycom-pr.dual.ini
+ - stacks/tncs/hybbx-dual.ini
git clone -b <branch> https://cgit.mode42.com/<repo>.git
git clone -b <branch> git://cgit.mode42.com/<repo>.git

info@mode42.com