MeshCore bearer: settings UI + device-control status/reset (#159) - #164
Merged
Conversation
Make the MeshCore bearer operable from the dashboard, not just DAPPS_MESHCORE_* env vars: - Settings page: a "MeshCore bearer" panel with every MeshCore option (enable, port, region preset, TX power, channel/PSK, node name, airtime budget, compression, congestion/LBT, reliability), rendered from and saved back through /Config. - A live status line (link state, freq/SF/CR, occupancy, delivered, reliability confirmed/pending, resets) polling /MeshCore/status, plus a "Reset radio" button that drives the watchdog recovery via /MeshCore/reset. - MeshCoreController: GET /MeshCore/status, POST /MeshCore/reset. MeshCoreBearer exposes GetStatus() + ResetRadioAsync(). Also closes a latent trap: /Config model-binds and SaveAsync upserts the WHOLE SystemOptions, so once SaveAsync learned the MeshCore keys (#162), a save from the form (which didn't render them) would have written MeshCore defaults and clobbered the config. Rendering them in the form fixes that. uitest: the Settings panel-groups spot-check now includes MeshCoreEnabled/Region. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KLbwvhE2cKCe8WPZNg8k17
This was referenced Jul 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Makes the MeshCore bearer operable from the dashboard (#159), not just
DAPPS_MESHCORE_*env vars.What
/Config.GET /MeshCore/status, plus a Reset radio button (POST /MeshCore/reset) that drives the watchdog recovery.MeshCoreController+MeshCoreBearer.GetStatus()/ResetRadioAsync().Also fixes a latent trap
/Configmodel-binds andSaveAsyncupserts the wholeSystemOptions. OnceSaveAsynclearned the MeshCore keys (#162), a save from the form — which didn't render them — would have written MeshCore defaults and clobbered the config. Rendering all MeshCore fields in the form fixes that.Validation
SettingsTestsuitest drives/Settings(panel-groups + save round-trip) and its spot-check now includesMeshCoreEnabled/MeshCoreRegion, so CI'sui-testverifies the panel renders + saves.Builds on #163.
🤖 Generated with Claude Code
https://claude.ai/code/session_01KLbwvhE2cKCe8WPZNg8k17