mirror of
https://github.com/liquidraver/ZephCore.git
synced 2026-09-02 06:33:42 +00:00
The phone app interprets path_len with an unconditional `& 63`, so the OUT_PATH_SENT (0xFE) sentinel we were writing into the offline-queue frame became "62 hops" + 4 bogus path bytes in the app's UI. There are 0 LoRa hops between the sender (us) and the phone viewing the message — path_len = 0 is both correct and renders cleanly as "direct / 0 hops". The "(>>✓) " / "(>>✗) " body prefix still distinguishes wio-originated messages from incoming. OUT_PATH_SENT remains the marker for the joystick UI's own local entries (UnreadScreen, _ch_previews) — formatHopCount handles it explicitly so it's safe there.