According to the Dataminer Development Library, in the CRC we can specify an offset to be added to every single byte of the CRC before applying the other calculations such as sum, mod, etc.
Example:
...
<CRC>
<Type byteoffset="32" mod="95" totaloffset="32">sum</Type>
...
My doubt is:
can we specify in the byteoffset a negative value, so instead an offset is added an offset would be subtracted? Like this: <Type byteoffset="-32" mod="95" totaloffset="32">sum</Type>
I suspect it is not because the obtained result for the CRC doesn't seem to match the expected value.
Hey Paulo,
Negative values are indeed not supported at this moment, to support this some changes would need to be made in the software. So if this is a requirement, you can request this feature to be implemented.
*UPDATE* After further testing by the relevant team, it has been concluded that negative offsets in CRC calculations are fully supported in the released dataminer versions