Getting "ver mismatch"
-
Hi,
I noticed that I am getting a lot of "ver mismatch"
0;0;3;0;9;gateway started, id=0, parent=0, distance=0 0;0;3;0;9;read: 0-0-0 s=0,c=0,t=0,pt=0,l=0,sg=0: 0;0;3;0;9;ver mismatch 0;0;3;0;9;read: 0-0-0 s=0,c=0,t=0,pt=0,l=0,sg=0: 0;0;3;0;9;ver mismatch 0;0;3;0;9;read: 0-1-0 s=0,c=0,t=0,pt=0,l=0,sg=0: 0;0;3;0;9;ver mismatch ...etc
The ethernet gateway is running Lib Ver 1.5 and sensors 1.4; is that the reason?
How should I solve this?
-
Yes, upgrade.
-
Out of interest - do differing versions work? Ie is "ver mismatch" a warning or an error?
-
It's an error. Messages with the wrong version will not be processed. But it's is only updated when the over-the-air format has been changed.
-
Thanks @hek. Is there a way to tell from the version when the OTA format changes from versions? ie do you bump the major version etc? I have some sensors buried away so need to be cautious of using later versions.
-
Yes you can look in the following file:
https://github.com/mysensors/Arduino/blob/development/libraries/MySensors/core/MyMessage.h#L39We try to keep the OTA updates to a minimum (because of the problems you describe). I don't even think we need to bump this when going to 2.0.
-
Any by OTA updates you mean over the air protocol updates, not over the air firmware updates, right?
-
Yes - the serial protocol.
-
Suggested Topics
-
Arduino Celebrates 10 years (Malmö/Sweden)
Announcements • 29 Mar 2014, 17:08 • hek 29 Mar 2014, 17:08 -
Radio waking up for no reason.
Development • 4 Jul 2020, 21:09 • Sasquatch 15 Jan 2025, 08:33 -
Gateway without a radio
Development • 12 Jan 2025, 23:19 • OldSurferDude 14 Jan 2025, 22:07 -
Sending offset to node
Development • 31 Jan 2025, 00:59 • bsl88k 4 Feb 2025, 12:14 -
[mysensors] Not a valid message: invalid literal for int() with base 10: '\x00\x000'
Development • 18 Sept 2024, 20:34 • kiesel 20 Sept 2024, 08:28 -
LAN8720A - will mysensors work with this module
Development • 13 Nov 2024, 17:06 • Marcin 15 Nov 2024, 10:59