Files
trail-mate/modules
liu weikai b9e20b2662 Harden Meshtastic BLE flow and cross-target builds
Adjust the Meshtastic BLE transport timing on nRF52, retain pending FROMNUM notifications, and defer local admin/self replies to reduce request/response races during Android settings flows.

Also make the shared chat/UI code compile across non-nRF targets by gating RTOS and Arduino-only helpers and by updating the team page layout to the current page profile fields.

Note: this does not resolve the gat562 Meshtastic Android settings progress bar issue yet; the BLE/admin response path is improved and instrumented, but the root cause of the stuck loading state remains unresolved.
2026-04-12 14:04:18 +08:00
..

Shared Modules

This directory will contain platform-independent business and reusable logic.

Examples of intended module types:

  • chat domain and use cases
  • GPS logic and filtering
  • team/domain/protocol logic
  • hostlink protocol logic
  • shared system abstractions
  • non-visual UI state/presenter logic

Code placed here should not directly depend on Arduino, ESP-IDF, FreeRTOS, LVGL, board headers, or hardware drivers.