Files
trail-mate/modules/core_chat
liu weikai 86e07c0d7f Add APRS asset, expand System controls, and harden GAT562 self-position persistence
Bundle the current workspace changes into a single checkpoint covering the in-progress shared UI, settings, and GAT562 runtime work.

What this includes:

- add the APRS asset source and image resource currently used by the shared UI asset set

- extend the shared System/settings flow so vibration and screen brightness can be surfaced through the device runtime and settings UI plumbing

- update the mono 128x64 runtime and the GAT562 platform bindings so the new settings controls are available in the GAT562 experience

- wire the ESP runtime/startup helpers needed to support the same device-runtime settings path on the ESP side

- persist the GAT562 self GPS position into the node store during core service updates so a device that already obtained a fix can retain its own last known position across reboot

- add an explicit node-store flush interface and implement it in both the nRF52 and ESP Meshtastic node-store backends so critical self-position updates can be forced to persistent storage immediately instead of waiting for the normal debounce window

- keep the existing debounced persistence behavior for ordinary node-store churn while allowing targeted immediate flushes for data that would otherwise be easy to lose during restart or power loss
2026-03-26 21:30:54 +08:00
..

modules/core_chat

Shared chat/domain/protocol core for all targets.

Layout

modules/core_chat/
  include/chat/
  src/
    domain/
    usecase/
    infra/
  third_party/
    nanopb/
  generated/
    meshtastic/

Notes

  • include/chat/... is the stable public include surface
  • src/domain, src/usecase, and src/infra hold the shared implementation
  • generated/meshtastic holds generated Meshtastic protobuf sources
  • third_party/nanopb holds vendored nanopb runtime sources
  • platform-bound chat shells live in platform/esp/arduino_common/src/chat/...