mirror of
https://github.com/vicliu624/trail-mate.git
synced 2026-09-16 08:52:37 +00:00
- extract Meshtastic and MeshCore phone/business flows into shared core_chat BLE cores with owner hook seams for ESP and nRF backends - replace nrf-specific lite adapters with board/platform adapters that consume shared cores and shared storage contracts - extend nrf Meshtastic radio path with packet history dedupe, flooding rebroadcast, route discovery/traceroute responses, routing ACK/error handling, observed relay learning, retransmit queueing, and next-hop persistence - persist nrf device identity and node metadata more explicitly, including next-hop state and node-id initialization support - move nrf chat/contact/blob storage further toward InternalFS-backed persistence and update contact/node store behavior accordingly - wire gat562 protocol/app facade pieces to the concrete nrf stores/adapters and add supporting app time-sync hooks used by platform runtimes - add owner-hook split files and planning/status docs to document the ongoing alignment with the reference meshtastic-firmware multi-platform structure
apps/esp_pio
PlatformIO application shell for the current Arduino-based ESP targets.
Current responsibilities:
- own the Arduino
setup/loopimplementation plus startup composition for the active PlatformIO shell - own the thin PlatformIO/Arduino loop + startup adapters that assemble board/runtime hooks
- own the current shared app-catalog composition for the Arduino/PlatformIO product shell
- own only PlatformIO-side startup / loop / runtime composition, not per-page wrapper implementations
- consume shared
modules/* - consume
platform/esp/*runtime adapters
Current status:
- now wired into the active PlatformIO build through the thin
src/main.cpptrampoline, with the real Arduino entry living inapps/esp_pio/src/arduino_entry.cppplus startup and loop runtime - now treats the menu shell/profile/runtime, boot overlay, watch face, status shell, and startup/loop skeleton as shared
modules/ui_sharedcode - now mainly owns PlatformIO-specific composition: board bring-up order, Arduino loop hooks, runtime bootstrap, and app-catalog feature gating
- no longer keeps per-page wrapper files under
apps/esp_pio; menu entries resolve into sharedmodules/ui_sharedpage shells - the authoritative PlatformIO build entry remains root
platformio.ini, but the app-shell/page boundary is now settled