mirror of
https://github.com/Roslund/meshtastic-map.git
synced 2026-07-04 17:01:31 +02:00
ignore firmware with spammy map reports
This commit is contained in:
@@ -605,6 +605,12 @@ client.on("message", async (topic, message) => {
|
||||
|
||||
const mapReport = MapReport.decode(envelope.packet.decoded.payload);
|
||||
|
||||
// ignore map reports from firmware versions that allowed 0 second interval which spams extreme amounts of map reports
|
||||
if(mapReport.firmwareVersion === "2.3.0.5f47ca1"
|
||||
|| mapReport.firmwareVersion === "2.3.1.4fa7f5a"){
|
||||
return;
|
||||
}
|
||||
|
||||
if(logKnownPacketTypes) {
|
||||
console.log("MAP_REPORT_APP", {
|
||||
from: envelope.packet.from.toString(16),
|
||||
|
||||
Reference in New Issue
Block a user