Jonathan Bennett and Claude 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-20 14:07:34 +00:00
2026-10-14 15:18:24 +00:00
2026-10-19 00:01:36 +00:00
2026-11-02 18:33:48 +00:00
2026-11-03 05:56:25 +00:00
2026-07-06 14:51:41 -05:00
2026-11-03 10:58:19 -06:00
2026-11-03 10:36:35 +00:00
2026-10-19 13:26:43 +00:00
2026-10-22 01:08:36 +00:00
2026-08-12 18:15:18 -05:00
2026-11-03 05:56:25 +00:00
2026-09-12 10:54:50 +00:00
2026-09-12 10:54:50 +00:00
2026-08-10 01:02:19 +00:00
2026-01-29 05:56:19 -06:00
2026-09-17 09:36:41 +00:00
2026-09-17 09:36:41 +00:00
2026-08-10 01:02:19 +00:00
2026-08-28 23:30:27 +00:00
2026-01-04 05:15:53 -06:00
2026-01-04 05:15:53 -06:00
2026-02-19 07:16:33 -06:00
2026-01-04 05:15:53 -06:00
2026-09-29 11:13:51 +00:00
2026-05-11 11:46:13 -05:00
2026-11-03 05:56:25 +00:00
2026-07-11 08:24:35 -05:00
2026-01-04 05:15:53 -06:00
2026-09-15 07:16:33 +00:00
2026-11-02 18:33:48 +00:00
2026-09-15 07:16:33 +00:00
2026-01-04 05:15:53 -06:00
2026-01-04 05:15:53 -06:00
2026-08-12 00:05:51 +00:00
2026-11-03 05:00:25 +00:00
2026-10-01 21:20:09 +00:00
2026-07-01 19:01:27 -05:00
2026-09-03 08:52:55 +00:00
2026-09-03 08:52:55 +00:00
2026-11-03 05:00:25 +00:00
2026-11-03 05:00:25 +00:00
2026-08-13 13:15:21 -04:00
2026-08-13 13:15:21 -04:00
2026-01-04 05:15:53 -06:00
2026-01-04 05:15:53 -06:00
2026-10-20 14:07:34 +00:00
2026-08-28 23:30:27 +00:00
2026-10-16 21:48:28 +00:00
2026-09-11 16:43:28 +00:00
2026-10-16 21:48:28 +00:00
2026-01-04 05:15:53 -06:00
2026-08-12 16:49:17 -05:00
2026-01-04 05:15:53 -06:00
2026-01-04 05:15:53 -06:00
2026-07-16 18:57:50 -05:00
2026-10-05 17:05:46 +00:00
2026-08-01 16:23:30 +00:00
2026-06-03 18:05:03 -04:00
2026-11-03 05:24:18 +00:00
2026-01-04 05:15:53 -06:00
2026-10-06 16:23:52 +00:00
2026-10-06 16:23:52 +00:00
2026-10-14 17:06:40 +00:00
2026-10-12 19:29:17 +00:00
2026-01-04 05:15:53 -06:00
2026-01-04 05:15:53 -06:00
2026-11-03 05:00:25 +00:00
2026-08-12 16:49:17 -05:00
2026-09-14 12:19:02 +00:00
2026-09-22 11:10:53 +00:00
2026-08-26 16:17:28 +00:00
2026-08-26 16:17:28 +00:00
2026-09-09 13:28:52 +00:00
2026-09-09 13:28:52 +00:00