Files
meshtastic_firmware/src/mesh
Ben MeadorsandGitHub b93239bb0a fix(phone-api): skip manifest scan for node-info-only requests; bound getFiles (#10778)
Forward-port of #10754 and #10757 from master (2.7) into develop, so the
develop->master 2.8 promotion (#10777) doesn't drop them.

#10754: PhoneAPI no longer walks the filesystem to build the file manifest on
node-info-only config requests (SPECIAL_NONCE_ONLY_NODES), which never consume
it. getFiles() is now bounded (default 64 entries, depth 3) via collectFiles(),
takes an optional wasLimited out-param, and reserves capacity with a bad_alloc/
length_error fallback. The manifest vector is freed via swap (releaseFilesManifest).

#10757: getFiles()/collectFiles() now guard against empty file names returned by
the Adafruit LittleFS nRF52 glue (issue 4395).

Ported by hand rather than cherry-picked: master had reflowed FSCommon.cpp to a
different brace style (every line conflicted), #10754 already subsumes #10757,
and develop carries a MESHTASTIC_EXCLUDE_FILES_MANIFEST path (nRF54L15) that
master lacks. The exclude path is preserved and now also short-circuits + frees
the manifest. Verified: native Docker suite 448/448, clang-format clean.
2026-06-24 12:38:46 -05:00
..
2026-02-19 07:16:33 -06:00
2026-05-11 11:46:13 -05:00
2026-05-28 19:39:41 -05:00
2026-05-28 19:39:41 -05:00
2026-05-28 19:39:41 -05:00
2026-05-28 19:39:41 -05:00
2026-06-19 19:56:24 -05:00
2026-06-19 19:52:58 -05:00
2026-06-19 19:52:58 -05:00
2026-06-19 19:52:58 -05:00
2026-06-19 19:52:58 -05:00
2026-06-19 19:56:24 -05:00
2023-01-21 21:23:24 +01:00
2026-06-13 12:18:22 -05:00
2026-06-13 12:18:22 -05:00
2026-05-28 19:39:41 -05:00
2026-06-19 19:52:58 -05:00
2026-05-28 19:39:41 -05:00
2026-05-28 19:39:41 -05:00
2026-05-28 19:39:41 -05:00
2026-05-28 19:39:41 -05:00
2026-05-28 19:39:41 -05:00
2026-06-10 18:37:14 +01:00
2026-06-19 19:52:58 -05:00
2026-06-19 19:52:58 -05:00