Skip to content

chore: sync dmc-observer-dev with upstream/dev ae283810 (2026-11-23) - #46

Merged
Elektr0Vodka merged 35 commits into
dmc-observer-devfrom
chore/dmc-observer-dev-sync-1123
Nov 23, 2026
Merged

Elektr0Vodka merged 35 commits into
dmc-observer-devfrom
chore/dmc-observer-dev-sync-1123

Conversation

@Elektr0Vodka

Copy link
Copy Markdown

Brings upstream/dev ae283810 into dmc-observer-dev by merging chore/dmc-dev-upstream-sync-1123 (#44). Upstream's UI refactor needed real adaptation on this branch.

Observer adaptation (review these)

  • Observer display task moved to src/helpers/ui/server/UITask.{h,cpp}. Upstream folded the repeater/room/sensor UITask copies into one shared file on top of BaseUITask, and each variant's target.cpp now creates UITask ui_task(&board, &display). The observer version (activity dashboard, live display.timeout / flip, WebConfig setup screen, touch toggle) now lives there. It uses upstream's constructor and role label ("< Repeater >" / "< Room Server >"), and renderCurrScreen() returns long. The per-example copies are removed, as upstream did. main.cpp keeps the observer setup (setObserverPrefs, setActivityWindow, display_ready).
  • Companion observer: the companion UITask now holds the mesh as BaseChatMesh*, so the CompanionObserver is passed in via ui_task.setObserver() for the "MQTT n/m up" home-screen line.
  • 53 *_observer_mqtt / *_companion_observer_wifi envs got the UI include and source lines their upstream sibling env has (helpers/ui/server or helpers/ui/companion-new, plus Heltec V3's ui-other / ui-companion target). 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 from ConfigSerializer (upstream).
  • Repeater MyMesh: kept the observer OTA/WebConfig loop hooks and upstream's telemetry push. Station G2 / Heltec V3 .ini and V4 R8 target.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

  • Builds (19/19): Heltec V3 repeater, room and companion observer; Heltec V4 repeater observer; companion observers for V4, V4 expansion kit, Xiao S3 WIO and Waveshare S3 LR1121; V4 R8 TFT portrait (dashboard); T190; Tracker v1.1; Heltec V2; T-LoRa V2.1 (single slot); Station G2; ThinkNode M7; Wireless Paper (e-ink); plain Heltec V3 repeater and companion wifi; RAK4631 repeater.
  • Native 1020/1020, native_region_gating 31/31, native_jwt_helper 8/8, native_ota_channel 12/12.
  • Not tested on hardware. The display paths (boot screen role label, dashboard, companion "MQTT n/m up") are worth a look on a device.

Merge after #44.

KPrivitt and others added 30 commits August 28, 2026 14:14
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)
* 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)
…core-error-flags

docs: describe stats-core output and its error flags
get/set buzzer was added to the companion CLI in meshcore-dev#3603 but not to
docs/companion_cli.md.
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
liamcottle and others added 5 commits November 23, 2026 00:01
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.
@Elektr0Vodka
Elektr0Vodka merged commit 76c0a0d into dmc-observer-dev Nov 23, 2026
1 check passed
@Elektr0Vodka
Elektr0Vodka deleted the chore/dmc-observer-dev-sync-1123 branch December 1, 2026 19:14
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.

7 participants