Skip to content

[Feature request] Plugin side de-duplication of Wi-Fi chat packets #60

@Nate-Boyette

Description

@Nate-Boyette

Would like to use Meshtastic as a fallback for Wi-Fi based mesh nodes. Python CLI running on the radio works, but is not as fully featured as the official plugin. Only issue I'm running into is chat messages in the "All chat rooms" are duplicated for units that have both Wi-Fi and Meshtastic connection.
With the plugin running directly in ATAK there's no opportunity to handle de-duplication on the Wi-Fi radio side.

ATAK's normal de-duplication mechanism doesn't work due to the Meshtastic protobuf not preserving the UID of the COT packet.
POI markers do preserve the UID and the position updates are a non-issue in my opinion as you just get slightly more frequent updates.

Tentative thought on a solution is parsing the CoT messages coming over via Wi-Fi at the multicast port. Add the call sign and chat string to a short term dictionary (like 30 seconds or something) and drop any matching packets coming over from Meshtastic as the Wi-Fi, if it has a connection, should always be the first to arrive.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions