mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-07-26 23:08:11 +00:00
Four opt-in filters, all default off, consulted only when the repeater is on (MyMesh::allowPacketForward) and shown under Settings > Radio only while it is: - Skip advert: don't re-flood ADVERT packets (highest-volume flood traffic). - Max hops: drop a flood packet once it has travelled N hops. - Yield: scale the FORWARDED flood retransmit delay so a mobile companion defers to better-sited fixed repeaters; never touches the node's own sends. - Min SNR: drop a flood copy received below a dB threshold so marginal fringe traffic isn't re-flooded. All four are flood-only — on a direct route this node is the named next hop, so dropping there would kill delivery. Persisted behind a new schema sentinel (0xC0DE000E) with stray-byte clamps; min-SNR uses a -128 "disabled" sentinel so an upgraded file can't read as "filter at 0 dB". Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>