mirror of
https://github.com/agessaman/MeshCore.git
synced 2026-10-10 11:28:21 +00:00
Received packets are uploaded before Mesh::onRecvPacket validates them, so an advert corrupted over the air that still passes the LoRa CRC is published with a mangled name or location. `set mqtt.advert.verify on` verifies each received advert's Ed25519 signature (same message layout as Mesh.cpp, including the 32-byte app-data clamp) and skips publishing failures. Defaults off so collectors keep seeing RF corruption on the mesh. Dropped adverts are counted as badsig= in `get mqtt.stats`. Exposed in the web config Publishing card and persisted as mqtt.advert_verify in prefs JSON.