Skip to content

fix(region-gating): describe dc.gate as true TX duty, default 35 - #11

Merged
Elektr0Vodka merged 1 commit into
mainfrom
fix/main-dc-gate-true-duty-strings
Oct 19, 2026
Merged

Elektr0Vodka merged 1 commit into
mainfrom
fix/main-dc-gate-true-duty-strings

Conversation

@Elektr0Vodka

Copy link
Copy Markdown
Contributor

Why

The firmware now measures dc.gate against the true TX duty cycle: the share of wall-clock time spent transmitting over the last 60 s. It used to measure a share of the duty-cycle budget. The default threshold changed from 70 to 35. This came in with Dutch-MeshCore/MeshCore#25 (dmc-dev), and on 2026-10-19 it was propagated to dmc-observer-dev and dmc-dev-packetlog. The toolbox still said "budget, default 70".

Changes

  • CLI Wiki: the dc.gate.thresh and dc.gate.status descriptions (firmwareRegistry.ts, descriptions.nl/de.ts) now say true TX duty, default 35.
  • Region Gating help panel (NL/EN/DE): explains what is measured and how it differs from set dutycycle. It now says regions re-open below 25%, suggests 10-15 on a 1% sub-band, and adds an upgrade note.
  • i18n: the threshold label reads "% TX duty".
  • regionCommands.ts: the default and the clamp fallback go from 70 to 35, and the tests follow.
  • RegionGatingForm: the live status reads duty, not budget.
  • Changelog: a 2026-10-19 firmware entry covering the dc.gate change, with the note that the threshold resets to 35 after the update. It also lists code-0 floods, the filter limiter fix, SenseCAP GPS default on and the observer MQTT prefs fix. There is also a toolbox entry. All in EN/NL/DE.

Test

  • npm run test:run: 289/289 pass.
  • tsc -b: clean.
  • docs/ is not rebuilt in this PR.

🤖 Generated with Claude Code

The firmware (dmc-dev PR #25, propagated to observer and packetlog on
2026-10-19) now measures dc.gate against the true TX duty cycle over 60 s
instead of a share of the duty-cycle budget, with default threshold 35.

- CLI Wiki (firmwareRegistry, nl/de descriptions), Region Gating help
  panel and i18n labels: true TX duty wording, default 35, re-open below 25%,
  1% sub-band hint and the upgrade note.
- regionCommands: default and clamp fallback 70 -> 35; tests follow.
- RegionGatingForm: live status reads "duty", not "budget".
- Changelog: firmware entry for the 10-19 merges (dc.gate threshold reset to
  35 on upgrade, code-0 floods, filter limiters, SenseCAP GPS, observer MQTT
  prefs) and a toolbox entry, in EN/NL/DE.
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying dutch-meshcore-toolbox with  Cloudflare Pages  Cloudflare Pages

Latest commit: 90a5b9c
Status: ✅  Deploy successful!
Preview URL: https://93083ae9.dutch-meshcore-toolbox.pages.dev
Branch Preview URL: https://fix-main-dc-gate-true-duty-s.dutch-meshcore-toolbox.pages.dev

View logs

@Elektr0Vodka
Elektr0Vodka merged commit 13b0a6d into main Oct 19, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant