meshtastic / protobufs

Protobuf definitions for the Meshtastic project
https://meshtastic.org
GNU General Public License v3.0
77 stars 115 forks source link

Add `via_mqtt` tag to MeshPacket and `ignore_mqtt` to LoRa config #423

Closed GUVWAF closed 7 months ago

GUVWAF commented 7 months ago

This adds a via_mqtt tag to the MeshPacket, which indicates whether a packet has passed via MQTT anywhere on the path towards a node. Furthermore, it adds a ignore_mqtt option to the LoRa config, to allow users to ignore packets that came via MQTT somewhere. I specifically chose the LoRa config, because it is to ensure packets only arrive via LoRa.

The via_mqtt tag can also be used to show on a Traceroute that it didn’t go purely via LoRa if you don’t want to ignore MQTT.

See https://github.com/meshtastic/firmware/pull/3117.