ignore firmware with spammy map reports

This commit is contained in:
liamcottle
2024-03-31 23:49:34 +13:00
parent ec5607de12
commit 16da561470

View File

@ -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),