Problem with precision
The setup is a physical i-button (1-wire specification) with printed hex value by manufacturer (trusted value). An IoT device encodes the binary as decminal - Golang returns the received value to Hex.
received decimal value is:
var V = 10736581604118680000 fmt.Sprintf("%016X", m.V)[2:14]) // adds uppercase and truncation of output
The expected trusted output is
the engraved Hex on the key is
95 000015877CD0 01
http://www.rapidtables.com/convert/number/decimal-to-hex.htm (trusted?) indicates that the golang function used has lost precision. binary values that encode to 19 decimal digits can be converted to Hex by Golang without loss of precision (using function above)