Repository navigation
chore: sync dmc-observer-dev with upstream/dev ae283810 (2026-11-23) - #46
Merged
Elektr0Vodka merged 35 commits intoNov 23, 2026
Merged
Conversation
Document the stats-core output fields and decode the `errors` bitmask (shown as "Debug flags" in the app), from the ERR_EVENT_* flags in Dispatcher.h, and note that the flags stay set until reboot or `clear stats`. Fixes meshcore-dev#3039 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…c-1115 chore(sync): merge upstream dev 33cd5db (CLI reply overflow fix)
gps: support time sync on rak i2c gps
* added BaseUITask for common behaviours * ui_task now instantiated in one of the variant's target-*.cpp modules
* only select variants .ini config refactored so far (Heltec V3, MeshTracker V1, LilyGo T-Echo Card)
…arate target-* modules/dirs
…core-error-flags docs: describe stats-core output and its error flags
UI task refactor
* removed various copied 'dirty' members
get/set buzzer was added to the companion CLI in meshcore-dev#3603 but not to docs/companion_cli.md.
…-push Repeater telemetry push
onAckRecv called markDoNotRetransmit(), which sets the header to 0xFF, before testing isRouteFlood(). 0xFF's route bits read as ROUTE_TYPE_TRANSPORT_DIRECT, so the test was always false and handleReturnPathRetry never ran for a flood ACK: the reciprocal path was never re-sent to a node that was still flooding. Mark the packet after the test instead.
…ion-buzzer-cli Document the companion buzzer CLI command
Documentation change to clarify radio settings and individual country requirements.
…th-retry Test a flood ACK's route before marking it, so the reciprocal path retry runs 🤖🤖
20 upstream commits: companion and server UITask moved to src/helpers/ui with BaseUITask, interface manager injected via begin(), variant .ini/target refactors, BaseChatMesh ACK route check before do-not-retransmit, RAK I2C GPS time sync, docs. Conflicts: lilygo_tlora_v2_1, thinknode_m2, thinknode_m5 companion envs; kept DMC_COMPANION_NO_OTA with upstream's src/helpers/ui/companion-new include.
…tion Upstream moved examples/companion_radio/NodePrefs.h to src/helpers/CompanionNodePrefs.h (DMC fields carried over).
Brings upstream/dev ae28381 via chore/dmc-dev-upstream-sync-1123: UITask moved to src/helpers/ui (server + companion-new) with BaseUITask, ui_task now created in each variant's target.cpp, variant .ini refactors, repeater sensor telemetry push, ACK route fix, RAK I2C GPS time sync. Observer adaptation: - The observer display task (activity dashboard, live display.timeout/flip, WebConfig setup screen, touch toggle) now lives in src/helpers/ui/server/UITask.{h,cpp} on BaseUITask, with upstream's (MainBoard*, DisplayDriver*) constructor and role label. The per-example repeater/room-server UITask copies are removed as upstream did; main.cpp keeps the observer setup (setObserverPrefs, setActivityWindow). - Companion observer: the companion UITask holds the mesh as BaseChatMesh*, so the CompanionObserver is passed via ui_task.setObserver() for the "MQTT n/m up" home-screen line. - 53 *_observer_mqtt / *_companion_observer_wifi envs get the UI include/src lines their upstream sibling env has (helpers/ui/server or companion-new, Heltec V3 ui-other/ui-companion target). - CommonRadioPrefs: dirty flags now come from ConfigSerializer (upstream). - Repeater MyMesh: kept the observer OTA/WebConfig loop hooks and upstream's telemetry push. Station G2 / Heltec V3 / V4 R8: both sides kept.
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.
Brings upstream/dev
ae283810intodmc-observer-devby mergingchore/dmc-dev-upstream-sync-1123(#44). Upstream's UI refactor needed real adaptation on this branch.Observer adaptation (review these)
src/helpers/ui/server/UITask.{h,cpp}. Upstream folded the repeater/room/sensorUITaskcopies into one shared file on top ofBaseUITask, and each variant'starget.cppnow createsUITask ui_task(&board, &display). The observer version (activity dashboard, livedisplay.timeout/ flip, WebConfig setup screen, touch toggle) now lives there. It uses upstream's constructor and role label ("< Repeater >"/"< Room Server >"), andrenderCurrScreen()returnslong. The per-example copies are removed, as upstream did.main.cppkeeps the observer setup (setObserverPrefs,setActivityWindow,display_ready).UITasknow holds the mesh asBaseChatMesh*, so theCompanionObserveris passed in viaui_task.setObserver()for the "MQTT n/m up" home-screen line.*_observer_mqtt/*_companion_observer_wifienvs got the UI include and source lines their upstream sibling env has (helpers/ui/serverorhelpers/ui/companion-new, plus Heltec V3'sui-other/ui-companiontarget). They were found by comparing each env's resolved config against its sibling's. The other three extend a fixed env and inherit the change.CommonRadioPrefs: the dirty flags now come fromConfigSerializer(upstream).MyMesh: kept the observer OTA/WebConfig loop hooks and upstream's telemetry push. Station G2 / Heltec V3.iniand V4 R8target.cpp: both sides kept.agessaman hasn't synced this upstream refactor into his observer-firmware yet, so expect conflicts in the same files on the next catch-up.
Testing
native_region_gating31/31,native_jwt_helper8/8,native_ota_channel12/12.Merge after #44.