Which means we get a floating point rounding error.
What we expected was that the coordinates remain 0, and are then replaced by the coordinates from the TTN Console.
Recommendation:
If the coordinates are set to 0,0, do not add them to the status message. In other words, replace line 368 of main.cpp with (untested):
When the coordinates are set to lat=0, lon=0, the status packet that are sent looks like:
but on the TTN NOC I see
Which means we get a floating point rounding error.
What we expected was that the coordinates remain 0, and are then replaced by the coordinates from the TTN Console.
Recommendation: If the coordinates are set to 0,0, do not add them to the status message. In other words, replace line 368 of main.cpp with (untested):