diff --git a/README.md b/README.md index 4497e03..4ce49b8 100644 --- a/README.md +++ b/README.md @@ -7,10 +7,11 @@ configuration. It aims to be a general-purpose codeplug compiler: SSRF data plus a profile compiles deterministically into a validated, radio-neutral codeplug, and vendor CPS tools are replaceable export or programming backends rather than the workflow. It targets analog radios CHIRP supports, -DMR radios qdmr supports (Baofeng DM-32, DM-1701, OpenGD77), the Retevis -MateTalk P4, and Benshi Bluetooth radios; `codeplugger radios` lists the -current set, and the [project site](https://codeplugger.chicagooffline.com/) -shows which of them have been programmed on hardware. +DMR radios qdmr supports (Baofeng DM-32, DM-1701, OpenGD77), radios running +RadioFoundry firmware, the Retevis MateTalk P4, and Benshi Bluetooth radios; +`codeplugger radios` lists the current set, and the +[project site](https://codeplugger.chicagooffline.com/) shows which of them +have been programmed on hardware. Intent, guiding principles, current state, and the roadmap live in [docs/plan.md](docs/plan.md). The site source is in `site/`. @@ -110,7 +111,7 @@ flowchart LR registry["Instance registry
fleet radios, optional"] resolve["codeplugger
Resolve and validate against radio capabilities"] resolved["Resolved codeplug
radio-neutral, deterministic"] - backend["Programming backend
gated write: dmrconf, p64tool, chirp-writer, benlink"] + backend["Programming backend
gated write: dmrconf, radiofoundry-cps, p64tool, chirp-writer, benlink"] exporter["Exporter
CHIRP CSV / qdmr YAML / P4 TOML / benlink plan"] cps["CPS tool
CHIRP / vendor CPS"] artifacts["Artifacts
HTML reference + operation log"] @@ -130,12 +131,15 @@ The diagram source is also available in [docs/workflow.mmd](docs/workflow.mmd). ## Documentation -- [docs/profiles.md](docs/profiles.md): the profile format, inheritance, - SSRF roots and overlays, exporter extensions (CHIRP scan skip, qdmr - settings and DMR APRS), and the instance registry. +- [docs/profiles.md](docs/profiles.md): the profile format, per-assignment + settings (receive-only channels, contacts, timeslots), RX groups and scan + lists, inheritance, SSRF roots and overlays, exporter extensions (CHIRP + scan skip, qdmr settings and DMR APRS), and the instance registry with + multiple DMR IDs. - [docs/backends.md](docs/backends.md): each exporter and programming backend, with the write gates it enforces: CHIRP CSV and `chirp-writer`, - qdmr YAML and `dmrconf`, P4 TOML and `p64tool`, benlink. + qdmr YAML and `dmrconf`, qdmr YAML and `radiofoundry-cps` for RadioFoundry + firmware, P4 TOML and `p64tool`, benlink. - [docs/operations.md](docs/operations.md): HTML reference artifacts, operation logs, and the registry-driven fleet dry run. - [docs/architecture.md](docs/architecture.md): which repository owns which @@ -148,7 +152,7 @@ The diagram source is also available in [docs/workflow.mmd](docs/workflow.mmd). ## Status Profile resolution and validation, use-case fitting, the fleet dry run, the -four exporters and their gated write backends, and HTML/operation-log +four exporters, the five gated write backends, and HTML/operation-log artifacts are working today. Which radios have had a codeplugger-generated codeplug written to them and read back is recorded per radio on the [project site](https://codeplugger.chicagooffline.com/); the benlink path has diff --git a/docs/backends.md b/docs/backends.md index 170b0d0..7062d83 100644 --- a/docs/backends.md +++ b/docs/backends.md @@ -3,22 +3,28 @@ A resolved codeplug leaves codeplugger one of two ways: as a file an external CPS tool imports, or through a programming backend that drives the radio itself. The GPL tools (`chirp-writer`, `dmrconf`, `p64tool`) are reached as -separate processes, never imports; `benlink` is Apache-2.0 and is imported. -Every write is gated: an explicit `confirm`, a backup taken before anything is -overwritten, and a read-back afterwards. `codeplugger program` wires these -gates for you; this page documents each path for when you need the pieces -directly. +separate processes, never imports; `benlink` is Apache-2.0 and is imported; +RadioFoundry's MIT-licensed CPS tools are run out of a checkout of that +project. Every write is gated: an explicit `confirm`, a backup taken before +anything is overwritten, and a read-back afterwards. `codeplugger program` +wires these gates for you; this page documents each path for when you need the +pieces directly. | Radio family | Exporter | Backend | Write verified on hardware | |---|---|---|---| | Analog (CHIRP-supported) | CHIRP CSV | `chirp-writer` | FT-2800M, BF-1909 (driver round trip) | | Baofeng DM-32 | qdmr YAML | `dmrconf` | yes | | DM-1701, OpenGD77 | qdmr YAML | `dmrconf` | DM-1701 OEM, RT3S OpenGD77 | -| RadioFoundry (DM-1701, RT3S) | qdmr YAML | `dmrconf` | DM-1701 | -| RadioFoundry (DM-32UV) | qdmr YAML | none; RadioFoundry's `dm32_migrate.py` | no | +| RadioFoundry (DM-1701, RT3S, DM-32UV) | qdmr YAML | `radiofoundry-cps` | DM-1701, DM-32UV | | Retevis MateTalk P4 | P4 TOML | `p64tool` | yes | | Benshi (VR-N76, UV-Pro) | benlink plan | `benlink` | no | +Which backend a radio gets is decided by the blocks in its +`capabilities.json` (`chirp`, `benlink`, `radiofoundry_cps`, `dmrconf`, +`p64tool`), and `codeplugger radios` prints the answer for every radio. A +radio that carries both a `radiofoundry_cps` and a `dmrconf` block resolves to +`radiofoundry-cps`. + Per-radio status, with the evidence behind each badge, is on the [project site](https://codeplugger.chicagooffline.com/) and in [plan.md](plan.md). @@ -42,9 +48,11 @@ Then import `output.csv` in CHIRP and upload from CHIRP to the radio. Notes: -- CHIRP CSV export currently supports FM channels only. -- Any non-FM channel selected by the profile fails export with an explicit - error. +- CHIRP CSV export supports analog channels only: FM, NFM, and receive-only + AM. NFM is treated as a bandwidth of FM, so an NFM channel always exports + narrow, even when its SSRF record publishes a wide bandwidth. +- An AM channel that is transmit-permitted fails export, as does any other + mode (DMR, for example), each with an explicit error. - Channel order in the CSV matches resolved profile order. - Scan exclusion is set per assignment through `extensions.chirp`; see [profiles.md](profiles.md#excluding-channels-from-scan-chirp). @@ -114,6 +122,12 @@ The qdmr YAML exporter produces a codeplug for qdmr's `dmrconf` command-line tool. Radio-wide settings and DMR APRS go through `extensions.qdmr` in the profile; see [profiles.md](profiles.md#qdmr-settings-and-dmr-aprs-dm-32). +When an instance registry is supplied, every registered radio's DMR ID is +added as a private-call contact so other radios in the fleet show a name +instead of a number. That covers each entry in a radio's `dmr_ids` list as +well as its primary `dmr_id`: a secondary identity is named from its `name`, +falling back to its `key`. + The `dmrconf` backend wraps the external binary. Its write gates, in order: `confirm=True`; a headless `dmrconf verify` against the radio key, because dmrconf's own write-time check does not abort; `detect` must report the @@ -136,29 +150,140 @@ was correct. Open-firmware radios reboot on dmrconf's closing control command and vanish from USB for a few seconds, so the read-back is retried before it is reported as a failure. -### RadioFoundry firmware +## qdmr YAML and `radiofoundry-cps` [RadioFoundry](https://radiofoundry.org/) is MIT-licensed multi-mode firmware -that stores its codeplug in the OpenGD77 image layout and answers qdmr's -open-firmware CPS protocol, so a RadioFoundry radio is a separate radio id -(`*_radiofoundry`) with OpenGD77 limits, not a flag on the OEM entry. The STM32 -radios (`baofeng_dm1701_radiofoundry`, `retevis_rt3s_radiofoundry`) enumerate -as USB `1FC9:0094` and take the ordinary `dmrconf` path under key `openuv380`; -`detect` reports `Open MD-UV380`, the same name as OpenGD77. The DM-32UV -(`baofeng_dm32_radiofoundry`) has no USB and keeps the image 7 MB into its data -flash, where qdmr's driver cannot write, so that entry carries no `dmrconf` -block: codeplugger exports qdmr YAML and RadioFoundry's own -`tools/dm32_migrate.py restore --yaml FILE` (or the browser Codeplug Editor) -writes it over the programming cable. `dmrconf verify --radio=opengd77` still -checks that YAML offline. P25, NXDN and Tier III channels are not representable -through this path; RadioFoundry carries them in a YAML block qdmr ignores. - -**Hardware-verified 2026-11-30** on a DM-1701: a 278-channel, 30-zone write -through `codeplugger program --port /dev/cu.usbmodem21101 --confirm`, read -back and decoded to the same channels, zones and TG lists as an offline encode -of the sent YAML. The one decoded difference was contact `timeSlotOverride` -reading `None` where qdmr encodes `TS1`; RadioFoundry's qdmr-yaml spec says -that is how it reads a contact without an `openGD77` block. +for the Baofeng DM-1701, the Retevis RT3S and the Baofeng DM-32UV. It stores +its codeplug in the OpenGD77 image layout, so a RadioFoundry radio is a +separate radio id (`*_radiofoundry`) with OpenGD77 limits, not a flag on the +OEM entry, and it takes the same qdmr YAML export as the other DMR radios. +What differs is the transport. `codeplugger program` writes these radios with +the `radiofoundry-cps` backend, which drives RadioFoundry's own +`tools/cps_client.py` instead of letting `dmrconf` talk to the radio: + +- The DM-32UV is only reachable this way. It has no USB of its own, and + RadioFoundry keeps the image 7 MB into the data flash (wire offset + `0x700000`), where qdmr's driver cannot address it. Before this backend the + entry was export-only. +- dmrconf's transport is unreliable against this firmware. The radio reboots + and drops off USB for several seconds when a session closes, so a cold read + fails with `Device not configured`. +- `cps_client verify` compares the radio against an image. dmrconf has no + equivalent, and its read-back is only an archive. + +`dmrconf` is still required, for encoding only. Rendering YAML into an image +stays with qdmr's encoder, reached through RadioFoundry's +`tools/codeplug_port.py`, which puts back the TX contacts that encoder drops +from DMR channels. The backend imports that module from the checkout rather +than keeping a copy of it. Its optional group-list cleanup is switched off: it +mangles the block-style `groupLists` qdmr 0.15.1 exports and drops every list. + +What it needs: + +- A RadioFoundry checkout containing `tools/cps_client.py`, found through + `--rfoundry-root`, then `$RFOUNDRY_ROOT`, then a `RadioFoundry` directory + next to the codeplugger checkout. The checkout's `.venv/bin/python` is used + when it exists, since that is where its dependencies are installed. +- `dmrconf` on the path, or named with `--dmrconf`. +- `--port` for a radio on a programming cable, which means every DM-32UV. + Without it `cps_client` only finds a single USB `1FC9:0094` device, which is + how the DM-1701 and RT3S enumerate. + +`--init-codeplug` belongs to the `dmrconf` backend and has no effect here. + +```bash +uv run codeplugger program --radio baofeng_dm32_radiofoundry \ + --profile path/to/profile.yml \ + --rfoundry-root ../RadioFoundry \ + --port /dev/cu.usbserial-2120 --confirm +``` + +The radio's `capabilities.json` says how to address it: + +```json +"radiofoundry_cps": { + "dmrconf_radio_key": "openuv380", + "regions": "codeplug", + "offset": "0x700000" +} +``` + +| Field | Meaning | +|---|---| +| `dmrconf_radio_key` | qdmr radio key for the encode and decode legs only, never for transport. Required. | +| `regions` | Flash regions `cps_client` moves. The default, `codeplug`, covers channels, zones, contacts and group lists and leaves calibration and the radio's own settings alone. | +| `offset` | Base address of the image on the wire, as a hex string, when the firmware does not map it at zero. The DM-32UV needs `0x700000`. | +| `board` | Board id passed to `cps_client --board`. Omit it to let the client derive one from the radio type. | +| `model` | Substring the radio must report in `cps_client info` before a write. Set it only from a string read off real hardware; only the DM-1701 has one. | +| `block` | Bytes per CPS data request, 1 to 32. Omit it unless a cable cannot hold the default 32-byte block. | + +The write gates, in order: + +1. `confirm=True`, and a backup path that does not already exist. +2. `cps_client info` must answer, and the reported model must contain `model` + when the entry declares one. The identity read is retried, because the + link is not always awake on the first frame. A radio reporting radio type 6 + skips the model check, because 6 is what the firmware sends for any board + that declares no type of its own (the DM-32UV is one), so it identifies + nothing. +3. A full read of the configured regions into the backup, retried across the + post-session reboot. +4. The export is encoded and flattened into the image the CPS wire wants. +5. The write. A serial fault mid-write is retried up to three times; a resumed + attempt only re-sends sectors that still differ. A refusal from the radio + is not retried. +6. A read-back into the read-back path, with the same retry as the backup. +7. `cps_client verify`, a byte-for-byte compare. If it disagrees, the + read-back is decoded with `dmrconf` and compared against the codeplug that + was sent, and only a mismatch there fails the write. + +The fallback in step 7 exists because a byte compare flags good writes. On a +DM-1701 whose decoded read-back was identical to the YAML sent, the compare +still reported 8,634 differing bytes: 26 in the VFO A scratch area, which the +radio rewrites, and 8,608 of padding between image sections that is never +sent. The decoded compare checks channel, zone, contact and group-list counts +first; matching counts with differing YAML text still pass, and the output and +the operation log say which of the two it was. + +**Hardware-verified 2026-12-01** on both radios that have been tried: + +- DM-32UV (`eam_dm32_02`, over a USB-serial programming cable): 279 channels, + 30 zones, 23 contacts and 5 group lists written at offset `0x700000`. The + pre-write backup and the read-back were both 1,179,648 bytes, and the + decoded read-back was identical to the codeplug sent. +- DM-1701: the same codeplug shape, with the decoded read-back identical to + the YAML sent line for line. This is the write the byte-compare figures + above come from. + +Both ran RadioFoundry at git `62db1bae`. The RT3S entry has not been written +on this firmware. The DM-32's progress bar is not evidence either way: it sat +at 5% long after a read had finished on disk. + +When a cabled radio answers nothing, `tools/dm32_cps_probe.py PORT` separates +the two directions of the link. It sends commands that change the radio's +display, so the screen shows whether host-to-radio works without needing a +reply. Run it with the RadioFoundry checkout's interpreter, which has +`pyserial`. + +P25, NXDN and Tier III channels are not representable through this path; +RadioFoundry carries them in a YAML block qdmr ignores. `dmrconf verify +--radio=opengd77` checks the exported YAML offline, and RadioFoundry's manual +routes still accept the same file: `tools/dm32_migrate.py restore --yaml FILE` +over the programming cable, or the browser Codeplug Editor. + +### Through `dmrconf` instead + +The DM-1701 and RT3S entries also keep a `dmrconf` block (key `openuv380`), +because they enumerate as USB `1FC9:0094` and answer qdmr's open-firmware CPS +protocol, with `detect` reporting `Open MD-UV380` as OpenGD77 does. That path +is what first wrote a RadioFoundry radio, on 2026-11-30: a 278-channel, +30-zone write to a DM-1701 through `codeplugger program --port +/dev/cu.usbmodem21101 --confirm`, read back and decoded to the same channels, +zones and TG lists as an offline encode of the sent YAML. The one decoded +difference was contact `timeSlotOverride` reading `None` where qdmr encodes +`TS1`; RadioFoundry's qdmr-yaml spec says that is how it reads a contact +without an `openGD77` block. `codeplugger program` no longer takes this path +for these radios, but the `dmrconf` backend can still be driven directly. ## P4 TOML and `p64tool` diff --git a/docs/plan.md b/docs/plan.md index a5c9b93..2d0f20f 100644 --- a/docs/plan.md +++ b/docs/plan.md @@ -44,7 +44,7 @@ Working today: - One command from a boxed radio to a programmed one (`codeplugger`): `radios`, `use-cases` and `profiles` list what is supported, `build` compiles a use case or a community profile onto a radio, and `program` - writes it through whichever of the four backends that radio's + writes it through whichever of the five backends that radio's capabilities declare. No profile, no instance registry and no format knowledge required, which is the gap between "codeplugger supports your radio" and "you can use codeplugger". Nothing here is a second code @@ -52,8 +52,8 @@ Working today: radio-support checks as a hand-written one, and writes go through the backends' existing confirm / backup / read-back gates. Which exporter and backend a radio uses is derived from its `capabilities.json` blocks - (`chirp`, `benlink`, `dmrconf`, `p64tool`), so adding a radio stays a - capabilities file. + (`chirp`, `benlink`, `radiofoundry_cps`, `dmrconf`, `p64tool`), so adding + a radio stays a capabilities file. - Fitting a use case to a radio does what the committed per-radio example profiles do by hand: drop the assignments the radio physically cannot use, then whole zones in the order the use case ranks them, until the @@ -68,8 +68,10 @@ Working today: programmed directly; `--radio` picks the profile inside the collection, and two candidates for one radio is a question rather than a guess. A git URL is cloned once into a cache and its profiles are found by content - (schema 0.1 with a `radio`). Only git's ordinary transports are accepted, - because `ext::` would let a URL run commands. + (schema 0.1 with a `radio`); a file in the tree that is not parseable + YAML is skipped like any other non-profile, where a qdmr backup carrying + `!default` tags used to end the scan in a traceback. Only git's ordinary + transports are accepted, because `ext::` would let a URL run commands. - The registry (`site/codeplug-sources.json`) stays a reviewed allowlist -- being listed is what gets a collection published as downloads -- but it is not a gate on use: a group can hand out a URL before anyone reviews @@ -88,13 +90,21 @@ Working today: - Profile policy beyond plain channel lists: RX group lists, scan lists (membership only), per-assignment TX contact, profile inheritance (`extends`, with `zones_only`/`omit_zones` variants, radio-agnostic - abstract base profiles, and `--print-merged-profile` for review), and + abstract base profiles, and `--print-merged-profile` for review), namespaced `extensions` at the profile and assignment level for - exporter-native settings. + exporter-native settings, and a per-assignment `tx_permitted: false` that + makes a transmittable channel receive-only on one radio. That last one is + revoke-only: the schema pins it to `false` and `true` is a validation + error, because transmit permission comes from SSRF and a profile must + never be able to grant it. It is what lets the radios with `rx_only` + bands carry monitor-only channels without failing the TX band check. - Multi-identity DMR IDs: a registry instance may carry several `dmr_ids` (for example a licensed ID and an unregistered simplex ID) with a `default_dmr_id`; profiles bind one per zone or per assignment. Both the - qdmr and P4 exporters emit one radio ID per identity actually used. + qdmr and P4 exporters emit one radio ID per identity actually used, and + the qdmr exporter gives every identity in the registry a private-call + contact, so a transmission under a secondary ID shows a name rather than + a bare number on the fleet's other radios. - Channel facts derived from SSRF: bandwidth from the ITU emission designator, AM mode for airband receive-only assignments. - Registry-driven fleet dry run (`codeplugger-fleet`): resolves every @@ -166,23 +176,48 @@ Working today: names, zones and DCS tones intact). The DM-1701 OpenGD77 entry is not badged: that firmware has never been flashed on the radio here. - RadioFoundry (MIT multi-mode firmware, radiofoundry.org) on the same - hardware: `baofeng_dm1701_radiofoundry` and `retevis_rt3s_radiofoundry` - are capabilities-only entries on the `openuv380` dmrconf path, because the - firmware stores the OpenGD77 image and speaks qdmr's open-firmware protocol - over USB `1FC9:0094`. `baofeng_dm32_radiofoundry` is export-only: no USB, - and the image sits 7 MB into flash where qdmr's driver cannot write, so - the YAML goes through RadioFoundry's `dm32_migrate.py restore --yaml`. - A test pins all three to the OpenGD77 limits. **DM-1701 hardware-verified - 2026-11-30** (`eam_dm1701_01`, 278 channels / 30 zones, read-back decoded - equal to the intended image); that run added `--port` -> `--device` - plumbing to the dmrconf backend (macOS lists `cu.*` and `tty.*` as two - devices and qdmr refuses to choose), a CLI `--init-codeplug` flag, and a - read-back retry because the radio reboots off USB on dmrconf's closing - command. RT3S and DM-32UV entries remain unbadged. + hardware and on the DM-32UV: `baofeng_dm1701_radiofoundry`, + `retevis_rt3s_radiofoundry` and `baofeng_dm32_radiofoundry`. The firmware + stores the OpenGD77 image, so all three export qdmr YAML against the + OpenGD77 limits (a test pins them together), but `codeplugger program` + writes them with a fifth backend, `radiofoundry-cps` + (`backends/radiofoundry.py`), which drives RadioFoundry's own + `tools/cps_client.py` out of a checkout (`--rfoundry-root`, + `$RFOUNDRY_ROOT`, or a sibling directory). The transport moved for three + reasons. The DM-32UV has no USB and keeps the image at wire offset + `0x700000`, where qdmr's driver cannot reach, so the entry was + export-only until this backend existed. dmrconf's sessions leave the + radio rebooting off USB, so cold reads fail. And CPS can compare the + radio against an image, where dmrconf can only archive a read-back. + dmrconf keeps the one job only it can do, encoding the YAML, through + RadioFoundry's `codeplug_port.py`, which is imported from the checkout + rather than copied and which restores the TX contacts qdmr's encoder + drops. The gates are the house pattern (confirm, identity, mandatory + backup, write, read-back, verify) with two bench lessons built in. A + byte compare is the wrong judge of a write: a DM-1701 whose decoded + read-back matched the YAML sent line for line still differed in 8,634 + bytes, all of them VFO A scratch the radio rewrites or padding that is + never sent, so a failed byte compare falls back to decoding the read-back + and comparing that. And radio type 6 is not an identity: it is the + firmware's fallback for a board that declares none, the DM-32UV is such + a board, and reading it as "MD-UV380" refused every correct DM-32 write. + **Hardware-verified 2026-12-01** on the DM-32UV (`eam_dm32_02`, 279 + channels / 30 zones / 23 contacts / 5 group lists, decoded read-back + identical to the codeplug sent) and on the DM-1701 (the same counts, + decoded read-back identical). The DM-1701 had been verified the day + before over the `dmrconf` path, which both STM32 entries still carry a + block for (**2026-11-30**, `eam_dm1701_01`, 278 channels / 30 zones, + read-back decoded equal to the intended image); that run added `--port` + -> `--device` plumbing to the dmrconf backend (macOS lists `cu.*` and + `tty.*` as two devices and qdmr refuses to choose), a CLI + `--init-codeplug` flag, and a read-back retry because the radio reboots + off USB on dmrconf's closing command. The RT3S entry remains unbadged: + `eam_rt3s_01` runs OpenGD77, and nothing has been written to an RT3S on + this firmware. - Analog radios (UV-5R Mini, Ailunce HA2, Retevis C64, Baofeng BF-888S, Baofeng - W31E, Yaesu FT-270R / FT-277R / FT-2800M): CHIRP CSV export (FM only), either imported in - the CHIRP GUI or written headlessly by the `chirp-writer` backend described - below. + W31E, Yaesu FT-270R / FT-277R / FT-2800M): CHIRP CSV export (FM, with NFM + as its narrow bandwidth, and receive-only AM), either imported in the CHIRP + GUI or written headlessly by the `chirp-writer` backend described below. The HA2 has capabilities (1024 channels / 16 zones, AM airband RX) but no HA2-specific exporter yet; it uses the generic CHIRP path. The C64 (64 channels, 136-174 / 400-480 MHz, @@ -301,7 +336,11 @@ Working today: driver is an `ExperimentalRadio` whose own prompt tells the operator to keep an OEM backup, and anything codeplugger emits for it inherits that warning. Neither has been read or written here. The FT-270R also has its - `yaesu_ft270_mars` twin now, on the same reasoning as the FT-277R. + `yaesu_ft270_mars` twin now, on the same reasoning as the FT-277R, and so + does the VX-6R: `yaesu_vx6r_mars` is identical to `yaesu_vx6r` except for + the band table, where 137-174 and 420-470 MHz become transmit bands. That + span is published, not measured, and the mod widens the PA without + conferring type acceptance for any service it now reaches. - Headless analog writes: a gated `chirp-writer` backend (`backends/chirp.py`) mirroring the `dmrconf` / `p64tool` safety pattern — explicit confirmation, a mandatory pre-write backup that doubles as the @@ -382,7 +421,7 @@ Working today: ## Now: publish community codeplugs, get off fork pins, finish analog acceptance -Every stage of the pipeline works and four write backends exist, but the +Every stage of the pipeline works and five write backends exist, but the only operator who has ever run it is the maintainer, on the bench. The priority now is getting the output into other people's hands with nothing to install, and making the ecosystem the project depends on outlast a @@ -390,7 +429,8 @@ single maintainer's forks: 1. **Run `codeplugger program` against a physical radio, once per backend.** The README leads with this command, and it wires the same - four backends the bench work verified, but until 2026-10-16 the wiring + backends the bench work verified (five, now that `radiofoundry-cps` + exists), but until 2026-10-16 the wiring itself (port handling, backup and read-back paths, the operation log it opens) had only been exercised against stubbed subprocesses; every hardware result recorded above was produced by the backend or helper @@ -400,9 +440,22 @@ single maintainer's forks: backup matching what the previous run left. The first attempts failed at the read-back gate with the write already on the radio, which is exactly the class of bug this item exists to find (see item 4). - Remaining: `dmrconf` on a DM-32 or DM-1701, `p64tool` on the P4, - `benlink` once item 4 has a radio -- each one write with a clean - read-back diff and the operation-log entry it produced. + **`dmrconf` done 2026-11-30 on the DM-1701 running RadioFoundry**: a + 278-channel, 30-zone write through `codeplugger program --port ... + --confirm`, read back and decoded equal to an offline encode of the + sent YAML apart from one contact field the firmware documents reading + differently. It found its own wiring gaps, as the BF-1909 run did: + `--port` never reached dmrconf, there was no way to pass + `--init-codeplug`, and the read-back was not retried across the radio's + reboot. That was an open-firmware radio; no OEM DM-32 or DM-1701 has + been written through this command yet. **`radiofoundry-cps` was + written and verified on hardware 2026-12-01** on the DM-32UV and the + DM-1701 (see Current state). What that record lacks is the thing this + item asks for, the `codeplugger program` run and the operation-log + entry it produced, so it stays open until one is logged. Remaining: + that, `p64tool` on the P4, and `benlink` once item 4 has a radio -- + each one write with a clean read-back and the operation-log entry it + produced. 2. **Serve prebuilt community codeplugs from the site.** **Landed 2026-09-21 for the DM-32; every shared profile with a source-buildable export is published as of 2026-10-14.** The Pages workflow checks out @@ -602,6 +655,14 @@ Known gaps not tracked by an item above: - Several real capabilities (call-sign database size, APRS positioning systems, encryption key slots, SSB receive on the UV-K5) have no schema field and live only in `notes`. Fine until a check needs one. +- The `radiofoundry-cps` backend runs whatever RadioFoundry checkout it is + pointed at. Nothing pins or checks the revision, and both hardware runs + were against one (`62db1bae`). It imports `codeplug_port.py` rather than + copying it, so upstream changes arrive unreviewed, and it carries two + workarounds for behaviour at that revision: the group-list cleanup is + switched off because it drops every list from qdmr 0.15.1's export, and + serial faults are retried around a write loop that does not catch them + itself. ## Later @@ -629,8 +690,8 @@ Until the explicit-ID workflow is proven end to end on more radios: they arrive first as `extensions.qdmr` passthrough once the upstream qdmr work in the Now section lands - Scan-list priority channels -- Radios outside the qdmr / CHIRP / p64tool / benlink backends already in - the tree +- Radios outside the qdmr / CHIRP / p64tool / benlink / RadioFoundry CPS + backends already in the tree ## Non-goals diff --git a/docs/profiles.md b/docs/profiles.md index 5f321d3..d9cc4f4 100644 --- a/docs/profiles.md +++ b/docs/profiles.md @@ -2,8 +2,9 @@ A profile selects ordered SSRF assignments by stable ID and groups them into ordered zones for one target radio. This page covers the file format, -inheritance, how SSRF data is located and layered, per-assignment exporter -extensions, and the optional instance registry. Starter profiles live in +per-assignment settings, RX groups and scan lists, inheritance, how SSRF data +is located and layered, exporter extensions, and the optional instance +registry. Starter profiles live in [../examples/](../examples/README.md). ## Profile format @@ -31,9 +32,11 @@ but stable, such as `dm32_green_01` or `d01`. Profiles that omit it retain backward compatibility by using their profile `id` as the instance ID. Profiles contain selection and ordering policy, not RF facts or per-user DMR -identities. Display-name or RF changes belong in an SSRF overlay. Version `0.1` -intentionally excludes selectors, scan lists, contacts, button mappings, and -exporter settings until the explicit-ID workflow is proven end to end. +identities. Display-name or RF changes belong in an SSRF overlay, and DMR IDs +belong in the instance registry. Version `0.1` selects assignments by explicit +ID only: there are no selectors, and button mappings and display settings are +not part of the schema. Settings one exporter understands go through +[`extensions`](#exporter-extensions). An assignment may appear in more than one zone. A repeat is the same channel shown in another zone: it takes no new channel number and counts once against @@ -41,6 +44,99 @@ the radio's channel limit, but against each zone's per-zone limit. Every occurrence must ask for the same channel (identical per-assignment settings), and a repeat inside a single zone is rejected. +## Per-assignment settings + +A bare string selects an assignment as SSRF describes it. The object form +selects the same assignment and adjusts how it lands on this radio: + +```yaml +zones: + - id: "ham" + name: "Ham" + assignments: + - "us_ham_vhf_call" + - id: "asgn_murs_4" + display_name: "MURS 4 Blue Dot" + - id: "asg_dmr_smpx_446500" + contact: "ct_dmr_simplex" + rx_group: "simplex" + - id: "asgn_gmrs_01" + tx_permitted: false +``` + +| Key | Meaning | +|---|---| +| `id` | The SSRF assignment ID. Required, along with at least one other key. | +| `display_name` | Channel name on this radio only; the SSRF record is unchanged. | +| `contact` | SSRF contact ID used as the DMR TX contact. Its `default_timeslot` places the channel on a slot. | +| `rx_group` | ID of one of the profile's [`rx_groups`](#rx-groups-and-scan-lists). | +| `scan_list` | ID of one of the profile's [`scan_lists`](#rx-groups-and-scan-lists). | +| `timeslot` | DMR timeslot, `1` or `2`. Must be a slot the SSRF chain declares; overrides the contact's default. | +| `dmr_id` | Key of one of the radio instance's [`dmr_ids`](#multiple-dmr-ids), overriding the zone and instance defaults. | +| `tx_permitted` | Only `false` is accepted. Makes the channel [receive-only](#receive-only-channels) on this radio. | +| `extensions` | Exporter-native settings; see [Exporter extensions](#exporter-extensions). | + +A zone may also carry `dmr_id`, which sets the default identity for every +assignment in it. + +A `{next_channel: N}` entry in an assignment list is a spacer, not a channel: +the next assignment takes channel number `N`. Numbers can only move forward, +and the radio's channel limit applies to the highest number reached rather +than to how many channels are filled. Only formats that store a channel number +can keep the gap. CHIRP CSV does; the qdmr YAML, P4 TOML and benlink plan +exporters reject a profile with spacers rather than silently renumber it. + +### Receive-only channels + +Transmit permission is derived from SSRF: an assignment is transmittable when +it is a simplex or calling channel, or when the station it reaches listens on +a frequency of its own, as a repeater does. A broadcast such as NOAA weather +is not. A profile can take the permission away for one radio, and cannot grant +it: + +```yaml + - id: "asgn_gmrs_01" + tx_permitted: false +``` + +Use it where the assignment is transmittable but this radio or its operator +should only listen, such as GMRS channels on a radio that is not certified for +that service. The channel is then exempt from the radio's transmit band check, +so it validates on a radio that can receive the frequency but declares the +band `rx_only`. `tx_permitted: true` is a validation error rather than a +no-op, so a band-check failure cannot be cleared by asserting a permission. + +How firmly the radio enforces it depends on the export. qdmr YAML marks the +channel `rxOnly`, P4 TOML marks it `rx_only`, and the benlink plan sets the +radio's transmit-disable bit. CHIRP CSV has no transmit-inhibit field, so the +channel is written as an ordinary simplex memory and nothing in the radio +stops it keying up; there the setting records intent and satisfies validation, +and that is all. + +## RX groups and scan lists + +Talkgroups are SSRF facts. Grouping them, and choosing which channels scan +together, is profile policy: + +```yaml +rx_groups: + - id: "simplex" + name: "Simplex" + contacts: ["ct_dmr_simplex"] +scan_lists: + - id: "local" + name: "Local" + channels: ["us_ham_vhf_call", "asg_dmr_smpx_446500"] +``` + +An RX group's `contacts` are SSRF contact IDs and must be group calls. A scan +list's `channels` are assignment IDs that are also selected in a zone. A +channel is given the RX group and the scan list it uses through its +assignment's `rx_group` and `scan_list` keys. Both kinds of list are checked +against the radio's limits, and a radio that declares `max_scan_lists: 0` (the +OpenGD77 and RadioFoundry entries, which scan by zone) rejects a profile that +carries any. Scan lists are membership only; there are no priority channels. + ## Inheritance Profiles may inherit from another profile in the same directory or a relative @@ -124,9 +220,10 @@ uv run codeplugger-profile path/to/profile.yml \ The normalized model contains ordered channels and zones, radio-facing RX/TX frequencies, mode, service, analog tones, overlay-resolved notes, and explicit -TX permission. It intentionally excludes scan lists, contacts, DMR identities, -button settings, and NeonPlug fields; exporters translate this stable model -without participating in input resolution. +TX permission, plus the contacts, RX groups and scan lists the profile uses +and the DMR ID each channel transmits under. It intentionally excludes button +settings and anything specific to one file format; exporters translate this +stable model without participating in input resolution. ## Exporter extensions @@ -240,3 +337,28 @@ than rebound. If no registry is provided, behavior stays backward compatible with existing profile-only workflows. The registry is also what drives the fleet dry run; see [operations.md](operations.md). + +### Multiple DMR IDs + +A radio's DMR ID lives in the registry, never in a profile. An instance with +one identity sets `dmr_id`. An instance with several, such as a licensed +amateur ID and an unregistered ID for a family simplex net, lists them under +`dmr_ids` and names the default: + +```yaml +instances: + dm32_green_01: + radio: baofeng_dm32 + dmr_ids: + - {key: ham, id: 1234567, name: "K9ABC"} + - {key: family, id: 7654321, name: "Family 1"} + default_dmr_id: ham +``` + +A zone or an assignment picks one by `key` with `dmr_id`. The order of +precedence is assignment, then zone, then `default_dmr_id`, then the +instance's single `dmr_id`. An unknown key is an error, and a DMR channel that +ends up with no identity at all is a warning. The qdmr and P4 exporters emit +one radio ID per identity actually used, and the qdmr exporter adds every +identity in the registry as a private-call contact, so a transmission under a +secondary ID shows a name on the fleet's other radios. diff --git a/docs/workflow.mmd b/docs/workflow.mmd index 5dd592f..ba13520 100644 --- a/docs/workflow.mmd +++ b/docs/workflow.mmd @@ -5,7 +5,7 @@ flowchart LR registry["Instance registry
fleet radios, optional"] resolve["codeplugger
Resolve and validate against radio capabilities"] resolved["Resolved codeplug
radio-neutral, deterministic"] - backend["Programming backend
gated write: dmrconf, p64tool, chirp-writer, benlink"] + backend["Programming backend
gated write: dmrconf, radiofoundry-cps, p64tool, chirp-writer, benlink"] exporter["Exporter
CHIRP CSV / qdmr YAML / P4 TOML / benlink plan"] cps["CPS tool
CHIRP / vendor CPS"] artifacts["Artifacts
HTML reference + operation log"] diff --git a/radios/baofeng_dm1701_radiofoundry/capabilities.json b/radios/baofeng_dm1701_radiofoundry/capabilities.json index 53b1363..46453a5 100644 --- a/radios/baofeng_dm1701_radiofoundry/capabilities.json +++ b/radios/baofeng_dm1701_radiofoundry/capabilities.json @@ -42,5 +42,5 @@ "regions": "codeplug", "model": "DM-1701" }, - "notes": "Baofeng DM-1701 (also sold as the Retevis RT84) after installing RadioFoundry, the MIT-licensed multi-mode firmware (radiofoundry.org). To the toolchain it is a third radio beside baofeng_dm1701 (OEM) and baofeng_dm1701_opengd77: RadioFoundry stores the codeplug in the open-firmware layout and speaks qdmr's open-firmware CPS protocol through a compatibility shim (RadioFoundry docs/spec/open-firmware-cps.md and cps-protocol.md), so it is programmed with the dmrconf backend under radio key openuv380 exactly like the OpenGD77 entries. On this STM32 radio the host port is USB CDC-ACM at VID 0x1FC9 PID 0x0094, which is the only identity qdmr auto-detects; the radio reports open-firmware radio type 8 (10 on the other panel variant), which qdmr's driver maps to its OpenUV380 model, so detect prints 'Open MD-UV380' and the backend's RADIO_NAMES gate holds unchanged. The radio must be in USB serial mode, not RadioFoundry's USB network mode (PID 0x0095/0x0096), which qdmr cannot see. Limits are qdmr v0.15.1 OpenGD77Limits, the same singleton the opengd77 entries cite, and they match what RadioFoundry itself reads from the image (RadioFoundry docs/user/04-programming.md): 1024 channels, 68 zones of 80 channels (RadioFoundry always writes the 80-channel zone layout), 1024 contacts, 76 RX group lists of 32, 16-character names. max_scan_lists is 0 on purpose: RadioFoundry's qdmr import drops scanLists (docs/spec/qdmr-yaml.md section 2) and qdmr marks them ignored on this key, so a profile carrying scan lists is refused loudly rather than silently trimmed. The UHF ceiling is 470 MHz because qdmr's OpenGD77Limits rejects anything above it on this key, although the hardware and RadioFoundry both cover 400-480. Modes are FM and DMR only: RadioFoundry's P25, NXDN and Tier III channels live in a radioFoundry block of the YAML that qdmr ignores and this exporter never writes, and the OpenGD77 limits define no AM channel class. The dmrconf verify stand-in (openuv380 -> opengd77) and the never-pass---radio-on-write rule in the backend apply as for OpenGD77. Flashing RadioFoundry over an OEM codeplug is a capacity downgrade (1024 channels and contacts against 3000 and 10000), so a profile built for baofeng_dm1701 has to be rebuilt against this entry, not reused. BENCH-VERIFIED 2026-11-30 on eam_dm1701_01 (MuehlMini, dmrconf 0.15.1): detect 'Open MD-UV380', pre-write backup, a 278-channel / 30-zone write, read-back decoded to the same channels, zones and TG lists as an offline encode of the sent YAML; the only decoded difference was contact timeSlotOverride reading None where qdmr had encoded TS1, which RadioFoundry's qdmr-yaml spec documents as the firmware's reading of a contact without an openGD77 block. Two operational facts from that run: on macOS the port must be passed (--port /dev/cu.usbmodem21101) because qdmr lists the cu.* and tty.* nodes as two devices and refuses to auto-detect; and the radio reboots on dmrconf's closing C 6 0 and drops off USB for a few seconds, so the backend retries the read-back. Sources: RadioFoundry docs at commit 62db1bae (2026-11-30)." + "notes": "Baofeng DM-1701 (also sold as the Retevis RT84) after installing RadioFoundry, the MIT-licensed multi-mode firmware (radiofoundry.org). To the toolchain it is a third radio beside baofeng_dm1701 (OEM) and baofeng_dm1701_opengd77: RadioFoundry stores the codeplug in the open-firmware layout and speaks qdmr's open-firmware CPS protocol through a compatibility shim (RadioFoundry docs/spec/open-firmware-cps.md and cps-protocol.md), so dmrconf can program it under radio key openuv380 exactly like the OpenGD77 entries, and the dmrconf block above is kept for that. codeplugger program no longer goes that way: the radiofoundry_cps block takes precedence, so dmrconf only encodes the image and RadioFoundry's own tools/cps_client.py moves it, which avoids dmrconf's cold-read failures against this firmware and adds a verify step. Its model assertion, 'DM-1701', is a string read off this radio. The USB details that follow describe the dmrconf path. On this STM32 radio the host port is USB CDC-ACM at VID 0x1FC9 PID 0x0094, which is the only identity qdmr auto-detects; the radio reports open-firmware radio type 8 (10 on the other panel variant), which qdmr's driver maps to its OpenUV380 model, so detect prints 'Open MD-UV380' and the backend's RADIO_NAMES gate holds unchanged. The radio must be in USB serial mode, not RadioFoundry's USB network mode (PID 0x0095/0x0096), which qdmr cannot see. Limits are qdmr v0.15.1 OpenGD77Limits, the same singleton the opengd77 entries cite, and they match what RadioFoundry itself reads from the image (RadioFoundry docs/user/04-programming.md): 1024 channels, 68 zones of 80 channels (RadioFoundry always writes the 80-channel zone layout), 1024 contacts, 76 RX group lists of 32, 16-character names. max_scan_lists is 0 on purpose: RadioFoundry's qdmr import drops scanLists (docs/spec/qdmr-yaml.md section 2) and qdmr marks them ignored on this key, so a profile carrying scan lists is refused loudly rather than silently trimmed. The UHF ceiling is 470 MHz because qdmr's OpenGD77Limits rejects anything above it on this key, although the hardware and RadioFoundry both cover 400-480. Modes are FM and DMR only: RadioFoundry's P25, NXDN and Tier III channels live in a radioFoundry block of the YAML that qdmr ignores and this exporter never writes, and the OpenGD77 limits define no AM channel class. The dmrconf verify stand-in (openuv380 -> opengd77) and the never-pass---radio-on-write rule in the backend apply as for OpenGD77. Flashing RadioFoundry over an OEM codeplug is a capacity downgrade (1024 channels and contacts against 3000 and 10000), so a profile built for baofeng_dm1701 has to be rebuilt against this entry, not reused. BENCH-VERIFIED 2026-11-30 on eam_dm1701_01 (MuehlMini, dmrconf 0.15.1): detect 'Open MD-UV380', pre-write backup, a 278-channel / 30-zone write, read-back decoded to the same channels, zones and TG lists as an offline encode of the sent YAML; the only decoded difference was contact timeSlotOverride reading None where qdmr had encoded TS1, which RadioFoundry's qdmr-yaml spec documents as the firmware's reading of a contact without an openGD77 block. Two operational facts from that run: on macOS the port must be passed (--port /dev/cu.usbmodem21101) because qdmr lists the cu.* and tty.* nodes as two devices and refuses to auto-detect; and the radio reboots on dmrconf's closing C 6 0 and drops off USB for a few seconds, so the backend retries the read-back. BENCH-VERIFIED 2026-12-01 over the radiofoundry_cps path (RadioFoundry git 62db1bae): 279 channels, 30 zones, 23 contacts and 5 group lists written, and the read-back decoded to YAML identical to what was sent. The byte compare still reported 8,634 differing bytes, 26 in the VFO_A scratch area the radio rewrites and 8,608 of padding that is never sent, which is why that backend verifies semantically. Sources: RadioFoundry docs at commit 62db1bae (2026-11-30)." } diff --git a/radios/retevis_rt3s_radiofoundry/capabilities.json b/radios/retevis_rt3s_radiofoundry/capabilities.json index 6b994f7..53a85da 100644 --- a/radios/retevis_rt3s_radiofoundry/capabilities.json +++ b/radios/retevis_rt3s_radiofoundry/capabilities.json @@ -41,5 +41,5 @@ "dmrconf_radio_key": "openuv380", "regions": "codeplug" }, - "notes": "Retevis RT3S (TYT MD-UV380 family, RadioFoundry board mduv380) after installing RadioFoundry, the MIT-licensed multi-mode firmware (radiofoundry.org). As with retevis_rt3s_opengd77 this is a different radio from the OEM one as far as the toolchain is concerned: RadioFoundry keeps the codeplug in the open-firmware layout and answers qdmr's open-firmware CPS protocol through a compatibility shim, so it is programmed with the dmrconf backend under radio key openuv380 and detect reports 'Open MD-UV380' (the radio reports open-firmware radio type 6, qdmr's OpenUV380 model). The host port is USB CDC-ACM at VID 0x1FC9 PID 0x0094, the only identity qdmr auto-detects; the radio must be in USB serial mode, not RadioFoundry's USB network mode. Limits are qdmr v0.15.1 OpenGD77Limits, identical to the opengd77 entries and to what RadioFoundry reads from the image: 1024 channels, 68 zones of 80, 1024 contacts, 76 RX group lists of 32, 16-character names, FM and DMR frequency ranges 136-174 and 400-470 MHz (qdmr rejects above 470 on this key; 470 still covers GMRS). max_scan_lists is 0 because RadioFoundry drops qdmr scanLists on import and scans by zone, so codeplugger refuses scan lists loudly instead of letting them vanish. Modes are FM and DMR only: RadioFoundry's P25/NXDN/Tier III channels travel in a radioFoundry YAML block that qdmr ignores and this exporter does not write, and OpenGD77Limits has no AM class. RadioFoundry ships two MD-UV380 images, 5 W (MD-UV380, MD-UV390, RT3S) and 10 W (MD-UV390 Plus); that choice matters for flashing, not for this file. RadioFoundry's own status for this board (2026-11-30) is 'run on radios by community testers' and its manual still calls it bring-up, so expect firmware churn. NOT BENCH-VERIFIED: eam_rt3s_01 runs OpenGD77, not RadioFoundry, and nothing has been written through this path; the site row carries no hw flag. Sources: RadioFoundry docs at commit 62db1bae." + "notes": "Retevis RT3S (TYT MD-UV380 family, RadioFoundry board mduv380) after installing RadioFoundry, the MIT-licensed multi-mode firmware (radiofoundry.org). As with retevis_rt3s_opengd77 this is a different radio from the OEM one as far as the toolchain is concerned: RadioFoundry keeps the codeplug in the open-firmware layout and answers qdmr's open-firmware CPS protocol through a compatibility shim, so dmrconf can program it under radio key openuv380 and detect reports 'Open MD-UV380' (the radio reports open-firmware radio type 6, qdmr's OpenUV380 model). The dmrconf block above is kept for that, but codeplugger program does not use it: the radiofoundry_cps block takes precedence, so dmrconf only encodes the image and RadioFoundry's own tools/cps_client.py moves it. That block carries no model assertion, because no model string has been read off an RT3S running this firmware and a guess would refuse a good radio; type 6 is also what the firmware sends for a board that declares no type, so it proves nothing by itself. The host port is USB CDC-ACM at VID 0x1FC9 PID 0x0094, the only identity qdmr auto-detects; the radio must be in USB serial mode, not RadioFoundry's USB network mode. Limits are qdmr v0.15.1 OpenGD77Limits, identical to the opengd77 entries and to what RadioFoundry reads from the image: 1024 channels, 68 zones of 80, 1024 contacts, 76 RX group lists of 32, 16-character names, FM and DMR frequency ranges 136-174 and 400-470 MHz (qdmr rejects above 470 on this key; 470 still covers GMRS). max_scan_lists is 0 because RadioFoundry drops qdmr scanLists on import and scans by zone, so codeplugger refuses scan lists loudly instead of letting them vanish. Modes are FM and DMR only: RadioFoundry's P25/NXDN/Tier III channels travel in a radioFoundry YAML block that qdmr ignores and this exporter does not write, and OpenGD77Limits has no AM class. RadioFoundry ships two MD-UV380 images, 5 W (MD-UV380, MD-UV390, RT3S) and 10 W (MD-UV390 Plus); that choice matters for flashing, not for this file. RadioFoundry's own status for this board (2026-11-30) is 'run on radios by community testers' and its manual still calls it bring-up, so expect firmware churn. NOT BENCH-VERIFIED: eam_rt3s_01 runs OpenGD77, not RadioFoundry, and nothing has been written to an RT3S on this firmware through either backend; the site row carries no hw flag. Sources: RadioFoundry docs at commit 62db1bae." } diff --git a/site/es/index.html b/site/es/index.html index fda1497..1c85b22 100644 --- a/site/es/index.html +++ b/site/es/index.html @@ -406,7 +406,7 @@

plan benlink

Escritura directa

-

Las escrituras requieren confirmación explícita y comprobaciones de seguridad propias de cada backend. La copia de seguridad y la relectura varían según el backend; las operaciones pueden registrarse. Backends: dmrconf, p64tool, chirp-writer y benlink por Bluetooth.

+

Las escrituras requieren confirmación explícita y comprobaciones de seguridad propias de cada backend. La copia de seguridad y la relectura varían según el backend; las operaciones pueden registrarse. Backends: dmrconf, radiofoundry-cps, p64tool, chirp-writer y benlink por Bluetooth.

@@ -478,7 +478,7 @@

Cómo fluyen los datos

prof["👤 perfiles"] --> cp cp -- "exportar: CHIRP CSV · qdmr YAML · P4 TOML · plan benlink" --> files(["archivos de radio"]) files --> radios(["📻 radios"]) - cp -- "escribir: dmrconf · p64tool · chirp-writer · benlink" --> radios + cp -- "escribir: dmrconf · radiofoundry-cps · p64tool · chirp-writer · benlink" --> radios click rf "https://chicago-offline.github.io/rf-survey/" _blank click ssrf "https://chicago-offline.github.io/ssrf-lite/" _blank click cp "https://chicago-offline.github.io/codeplugger/" _blank @@ -510,7 +510,7 @@

rf-survey

qdmr / dmrconf

-

Programación DMR de código abierto. codeplugger emite su YAML extensible y maneja dmrconf para la DM-32.

+

Programación DMR de código abierto. codeplugger emite su YAML extensible y maneja dmrconf para la DM-32, la DM-1701 y las radios con OpenGD77.

CHIRP

diff --git a/site/index.html b/site/index.html index b8887b9..93e2d07 100644 --- a/site/index.html +++ b/site/index.html @@ -403,7 +403,7 @@

benlink plan

Headless write

-

Writes require explicit confirmation and backend-specific safety checks. Backup and read-back support vary; operations can be logged. Backends: dmrconf, p64tool, chirp-writer, and Bluetooth benlink.

+

Writes require explicit confirmation and backend-specific safety checks. Backup and read-back support vary; operations can be logged. Backends: dmrconf, radiofoundry-cps, p64tool, chirp-writer, and Bluetooth benlink.

@@ -475,7 +475,7 @@

How the data flows

prof["👤 profiles"] --> cp cp -- "export: CHIRP CSV · qdmr YAML · P4 TOML · benlink plan" --> files(["radio files"]) files --> radios(["📻 radios"]) - cp -- "write: dmrconf · p64tool · chirp-writer · benlink" --> radios + cp -- "write: dmrconf · radiofoundry-cps · p64tool · chirp-writer · benlink" --> radios click rf "https://chicago-offline.github.io/rf-survey/" _blank click ssrf "https://chicago-offline.github.io/ssrf-lite/" _blank click cp "https://chicago-offline.github.io/codeplugger/" _blank @@ -507,7 +507,7 @@

rf-survey

qdmr / dmrconf

-

Open source DMR programming. codeplugger emits its extensible YAML and drives dmrconf for the DM-32.

+

Open source DMR programming. codeplugger emits its extensible YAML and drives dmrconf for the DM-32, the DM-1701 and OpenGD77 radios.

CHIRP

diff --git a/site/radios.json b/site/radios.json index 4592ea5..e2dc470 100644 --- a/site/radios.json +++ b/site/radios.json @@ -9,9 +9,12 @@ "Columns generated from capabilities.json (never listed here):", " Radio name <- capabilities.name", " Modes <- capabilities.modes (DMR, FM, then 'AM RX' -- AM is RX-only)", - " Headless write backend <- the capabilities block that declares it:", - " chirp -> chirp-writer, benlink -> benlink,", - " dmrconf -> dmrconf, p64tool -> p64tool.", + " Headless write backend <- whatever codeplugger.catalog.programming_path()", + " resolves from the capabilities blocks: chirp ->", + " chirp-writer, benlink -> benlink, radiofoundry_cps", + " -> radiofoundry-cps, dmrconf -> dmrconf, p64tool ->", + " p64tool. radiofoundry_cps wins over dmrconf when a", + " radio carries both.", "", "What lives here is what capabilities.json deliberately does not model: the", "vendor blurb, the 'hw' (verified on a physical radio) badges, and the",