I’m running SodaqOne-UniversalTracker-v3 on the Cattle Tracker and sending data to TTN. I’m using a payload decoder based on the decoder examples here for TTN: Interpreting payload data from the SodaqOne-UniversalTracker
However, the Longitude value returned is consistently off by 1.5Km east. Other values (Latitude, altitude) seem reasonable.
var long = (bytes << 24) | (bytes << 16) | (bytes << 8) | bytes;
var lat = (bytes << 24) | (bytes << 16) | (bytes << 8) | bytes;
Any ideas on how to fix this? Thanks