Join GitHub today
Signed/unsigned configuration values #1324
I've facing a problem with a Fibaro Wall Plug (config\fibaro\fgwpe.xml)
The config parameter "Oveload safety switch" is declared as short type, with a default value of 65535 !
As implied by ZWave spec, vlaues are signed, so the values should be in range [-32766;+32767]
Finally, in software we don't really have a mean to determine which type is to use (signed or unsigned).
I've looked in some other config files from other manufacturers, and found many other discrepancies
Which is the best way to determine the right type ?
This issue is regularly the subject #229 ,...
referenced this issue
Sep 25, 2017
We only support unsigned values currently. With the release of the Spec, we now know that only the Configuration CC supports signed/unsigned values. (version 3 and above). To fix that, we either need to add some signed ValueID's, or some kind of flag to existing values. Putting this on a Todo list.