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.
-
Mo ha ha... I will take over ALL your sensors.