mirror of
https://github.com/brianshea2/meshmap.net.git
synced 2024-11-14 01:24:13 -08:00
remove old version filter
This commit is contained in:
parent
1b3c3bee5d
commit
d69035cf65
|
@ -133,15 +133,11 @@ func handleMessage(from uint32, topic string, portNum generated.PortNum, payload
|
||||||
log.Printf("[warn] could not parse MapReport payload from %v on %v: %v", from, topic, err)
|
log.Printf("[warn] could not parse MapReport payload from %v on %v: %v", from, topic, err)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
fwVersion := mapReport.GetFirmwareVersion()
|
|
||||||
// 2.3.1 has a bug that spams multiple MapReports every second
|
|
||||||
if len(fwVersion) > 6 && fwVersion[:6] == "2.3.1." {
|
|
||||||
return
|
|
||||||
}
|
|
||||||
longName := mapReport.GetLongName()
|
longName := mapReport.GetLongName()
|
||||||
shortName := mapReport.GetShortName()
|
shortName := mapReport.GetShortName()
|
||||||
hwModel := mapReport.GetHwModel().String()
|
hwModel := mapReport.GetHwModel().String()
|
||||||
role := mapReport.GetRole().String()
|
role := mapReport.GetRole().String()
|
||||||
|
fwVersion := mapReport.GetFirmwareVersion()
|
||||||
region := mapReport.GetRegion().String()
|
region := mapReport.GetRegion().String()
|
||||||
modemPreset := mapReport.GetModemPreset().String()
|
modemPreset := mapReport.GetModemPreset().String()
|
||||||
hasDefaultCh := mapReport.GetHasDefaultChannel()
|
hasDefaultCh := mapReport.GetHasDefaultChannel()
|
||||||
|
|
Loading…
Reference in a new issue