Skip to content

For radio manufacturers ​

A HamBench radio driver is a radio module: JSON that describes one radio's serial protocol, channel layout, and settings. HamBench already includes the driver that runs that JSON. You do not ship TypeScript, a codec, or an npm plugin.

Create your repository from radio-module-template. On that page, choose Use this template.

The worked example throughout these pages is the shipping Baofeng UV-5R module, configs/baofeng-uv5r.json in radio-module-baofeng. UV-5R and UV-5RE Plus share that one file. Read it to see a finished driver, and put your radio's JSON in the repository you created from the template.

Build one ​

  1. Build a radio driver — capture traffic, draft in the app, write the protocol and memory map, test, pack a zip, install it, publish it.
  2. Radio config reference — every config field, including minApiVersion.
  3. Test a radio driver — fixtures, unit tests, and a hardware checklist (read, write, restore).
  4. Publish a module — one zip per radio, catalog schema version 3.
  5. Protocol DSL and Memory-map DSL — the two JSON languages the generic driver runs.

To hand a tester one radio before you publish, use Build a beta driver (yarn pack:beta). Testers follow Install a beta driver. A beta zip is not a catalog entry.

An outside repository is listed from a pull request on the catalog. The rules are Third-party and manufacturer drivers (ADR 0012). Commits need a DCO Signed-off-by line (CONTRIBUTING). There is no CLA. You do not have to publish confidential specifications. The driver you list has to be publishable under MIT or Apache-2.0.