It is the java script from Android app, and my change in java too.
I made a little change in java to get the - sign, so the 2 lines works on my Android.
The old lines in java.
Ruuvi/Android_RuuvitagScanner/app/src/main/java/com/ruuvi/tag/model/RuuviTag.java