mirror of
https://github.com/ALLFATHER-BV/wadamesh.git
synced 2026-11-07 14:17:18 +00:00
Pins move from core-v1.17.4 to core-v1.18.0, cut from the main meshcomod companion-v1.18.0.1 was released from. The companion changes are ported from meshcomod's rebase into wadamesh's own MyMesh: - onCLICommandRecv: a contact's remote CLI command runs when the user granted that contact remote CLI, and lands in the chat as a CLI message otherwise. - CMD_RUN_CLI_COMMAND (66) / RESP_CODE_CLI_REPLY (29) and the local companion CLI (name, pin, Wi-Fi, radio, af/dutycycle, rxgain, tx, rxdelay, path.hash.mode, multi.acks, board, ver), also reachable from the serial CLI. Settings without a prefs field answer "unsupported". NodePrefs layout unchanged. - TXT_TYPE_CLI_COMMAND is accepted for sending; sendCommandData (and our queue- preserving wrapper) carry the text type. - Channel data is delivered to the app (onChannelDataRecv), unsolicited responses (pushed telemetry) reach it as PUSH_CODE_BINARY_RESPONSE, and raw-data sends decode multi-byte-hash paths. Clock: 1.18 seeds an unsynced ESP32 clock at 1 Mar 2026, so ClockFloorRTC's MIN_VALID_EPOCH follows it (a set equal to the seed must stay invalid). Pager LR1121: the AGC reset re-applies the boosted-gain setting (new core arg). IDF builds exclude the new CommonRadioPrefs.cpp (needs <target.h>/radio_driver). The 2 MB Heltec V4 went to 100.0% with the CLI. Its built-in language table is now one raw-deflated blob per language (895 KB -> 312 KB), inflated into PSRAM by the S3 ROM on first use (~10 ms, ~75 KB for the active language): 91.7% flash. Checked on a T-Deck forced onto the table (nl, hu, el) and by the post-link key check. Builds: all 15 S3 touch envs, Tanmatsu (3,237,024 B), T-Display P4 SX1262 + LR2021. T-Deck boots and runs on 1.18. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>