mirror of
https://github.com/meshtastic/python.git
synced 2026-09-14 22:39:18 -04:00
only warn about downrev device firmware (because most users are not using position parsing probably)
This commit is contained in:
1 parent
afbfd4fe80
commit
2c27b51b50
1 file changed
+1
-1
@@ -453,7 +453,7 @@ class MeshInterface:
|
||||
# Warn users if firmware doesn't use new portnum based data encodings
|
||||
# But do not crash, because the lib will still basically work and ignore those packet types
|
||||
if meshPacket.decoded.HasField("user") or meshPacket.decoded.HasField("position"):
|
||||
logging.error("The device firmware is too old to work with this version of the python library. Please update firmware to 1.20 or later")
|
||||
logging.warn("The device firmware is using the old position/user format. Recommend you update firmware to 1.1.20 or later")
|
||||
|
||||
if meshPacket.decoded.HasField("data"):
|
||||
|
||||
|
||||
Reference in new issue
Block a user