Files
firmware/src
Jonathan BennettandClaude Opus 5.5 ebda44c677 NodeDB: hold environment satellites protobuf-encoded
Each environment satellite held a full meshtastic_EnvironmentMetrics,
304 B for 38 optional fields, of which a real sensor sets a handful. At
the nRF52 cap of 40 that is ~12 KB of heap holding about 1 KB of data.

Store the encoded bytes instead (~15-40 B per entry) and decode on read:
copyNodeEnvironment() keeps its signature. The save writes the stored
bytes straight out as the entry's environment_metrics, so nodes.proto
is unchanged; the load packs each decoded entry. hasNodeEnvironment()
becomes a key lookup, and MemAudit counts the real blob sizes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 10:58:19 -06:00
..
2026-08-20 12:28:57 +00:00
2026-10-14 15:18:24 +00:00
2026-01-29 05:56:19 -06:00
2026-02-19 07:16:33 -06:00
2026-05-11 11:46:13 -05:00
…
2026-07-01 19:01:27 -05:00
2026-07-16 18:57:50 -05:00
…