Ignore packets above max portnum (511)
Meshtastic defines the maximum PortNum as 511. https://buf.build/meshtastic/protobufs/docs/main:meshtastic Packets using a PortNum above this are not currently useful for mapping - ignore them for now.
This commit is contained in:
parent
9c74130db5
commit
a07ce17dce
1 changed files with 1 additions and 0 deletions
|
|
@ -721,6 +721,7 @@ client.on("message", async (topic, message) => {
|
|||
|| portnum === 66 // ignore RANGE_TEST_APP
|
||||
|| portnum === 72 // ignore ATAK_PLUGIN
|
||||
|| portnum === 257 // ignore ATAK_FORWARDER
|
||||
|| portnum > 511 // ignore above MAX
|
||||
){
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue