feat: Add Inhero MR-2 repeater board variant#2316
Draft
liekmarflow wants to merge 2 commits intomeshcore-dev:devfrom
Draft
feat: Add Inhero MR-2 repeater board variant#2316liekmarflow wants to merge 2 commits intomeshcore-dev:devfrom
liekmarflow wants to merge 2 commits intomeshcore-dev:devfrom
Conversation
2714460 to
90a714c
Compare
784dfcf to
19b5907
Compare
…I commands Add virtual methods to MainBoard (tick, getCustomGetter, setCustomSetter, queryBoardTelemetry) enabling board variants to hook into the main loop, CLI get/set commands, and telemetry queries without modifying core code. - MeshCore.h: CayenneLPP forward decl + 4 virtual methods with default no-op implementations - CommonCLI.cpp: dispatch 'get board.*' and 'set board.*' to board methods - simple_repeater: call board.tick() and board.queryBoardTelemetry() - simple_sensor: call board.tick()
19b5907 to
5a698ca
Compare
Author
|
Restructured — commit 1 is now 32 lines of pure extension hooks, no behavioral changes for existing boards |
Inhero MR-2 is a solar-powered LoRa repeater board based on RAK4630 (nRF52840 + SX1262) with BQ25798 MPPT charger, INA228 fuel gauge, BME280 environment sensor, RV-3028 RTC, and hardware watchdog. Key features: multi-chemistry battery support (Li-Ion, LiFePO4, LTO) with Coulomb-counted SOC, MPPT solar charging with adaptive IINDPM, low-voltage sleep with RTC wake (< 500uA), custom CLI commands (get/set board.*), board telemetry, USB auto-management, and hardware watchdog with I2C health monitoring. Full documentation: https://docs.inhero.de
5a698ca to
ab13893
Compare
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.
Summary
Adds the Inhero MR-2, a purpose-built MeshCore repeater board for off-grid solar deployments. This PR introduces two commits:
MainBoardfortick(),get/set board.*CLI dispatch, andqueryBoardTelemetry(). These are no-ops by default and don't affect existing boards.Hardware
Key Features
get/set board.*(battery config, telemetry, diagnostics)Build Environments
Inhero_MR2_repeaterInhero_MR2_repeater_bridge_rs232Inhero_MR2_sensorChanges to Core
Commit 1 adds 30 lines across 4 files — all additive, no existing behavior changed:
src/MeshCore.h—CayenneLPPforward declaration + 4 virtual methods onMainBoardsrc/helpers/CommonCLI.cpp—get board.*/set board.*dispatch (2 blocks)examples/simple_repeater/MyMesh.cpp—board.queryBoardTelemetry()callexamples/simple_repeater/main.cpp—board.tick()callDocumentation
variants/inhero_mr2/README.md— compact board overview with key specsTesting