Skip to content

Loss of 0 when combining Version and SubVersion #6687

Discussion options

You must be logged in to vote

Aeotec delives a firmware expressly called named "1.02"

They call it like this in their documentation. There's no way for Z-Wave JS to know they do, since all the information we get from the stick is a number 1 (major version) and a number 2 (minor version).

Similarly, this is the information we get for the firmware version of end devices:


And this is the SDK version (which Silabs finally started formatting like SemVer does in 7.x.y):

altering what was delivered by the vendor

We alter nothing, we work with the information we've got. I'm not going to hardcode that the minor version should be zero-padded to length 2 for manufacturer A, to length 3 for manufacturer B, not at all for…

Replies: 4 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@josh-m-sharpe
Comment options

Comment options

You must be logged in to vote
3 replies
@josh-m-sharpe
Comment options

@josh-m-sharpe
Comment options

@AlCalzone
Comment options

Answer selected by AlCalzone
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants