MeshCore/examples
Wessel Nieboer f4c568b615
Fix orphan blob accumulation on firmware upgrade
Before PR#1495, blobs were written for every advert regardless of
whether the advertiser became a contact. Nodes upgrading from older
firmware (e.g., v1.11.0) have thousands of orphan blobs consuming
storage space.

This adds a one-time cleanup on first boot that:
- Iterates all blob files in /bl/
- Deletes any blob that doesn't match a current contact's pub_key
- Creates a marker file to prevent running again

Affects ESP32 and RP2040 platforms (which use /bl/ directory).
2026-04-04 13:19:15 +02:00
..
companion_radio Fix orphan blob accumulation on firmware upgrade 2026-04-04 13:19:15 +02:00
kiss_modem simplify kiss noise floor sampling 2026-02-07 07:42:52 -08:00
simple_repeater Make sendNodeDiscoverReq() public for post-boot discovery 2026-03-30 22:35:05 +03:00
simple_room_server * version 1.14.1 2026-03-20 12:32:41 +11:00
simple_secure_chat Merge pull request #1297 from ViezeVingertjes/feature/duty-cycle-token-bucket 2026-03-08 23:54:32 +11:00
simple_sensor * version 1.14.1 2026-03-20 12:32:41 +11:00