Update mesh_bot.py

https://github.com/SpudGunMan/meshing-around/issues/220
This commit is contained in:
SpudGunMan
2025-10-21 09:03:00 -07:00
parent f65a7b7934
commit 4aa65dad6a
+3
View File
@@ -1613,6 +1613,9 @@ def onReceive(packet, interface):
if ((hop_start == 0 and hop_limit >= 0) or via_mqtt or ("mqtt" in str(transport_mechanism).lower())):
hop = "MQTT"
if hop == "" and hop_count ==0 and (snr != 0 or rssi != 0):
hop = "Direct"
if "unknown" in str(transport_mechanism).lower() and (snr == 0 and rssi == 0):
hop = "IP-Network"