Closed testert1ng closed 6 years ago
The encoding part for hdop looks not correct in TheThingsUno-GPSshield-TTN-Mapper-binary.ino example.
As the decoder part dividing by 10, the encoder should multiply by 10.
// should be multiplication (*) here hdopGps = gps.hdop.value()/10;
This is actually correct, because the library gives the HDOP in "hundredths". And because 100/10 == 1*10, this is in fact correct.
100/10 == 1*10
The encoding part for hdop looks not correct in TheThingsUno-GPSshield-TTN-Mapper-binary.ino example.
As the decoder part dividing by 10, the encoder should multiply by 10.