Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wrong time in generated GLL sentence (local time instead of UTC) #96

Open
mschiff opened this issue Mar 30, 2023 · 1 comment
Open

wrong time in generated GLL sentence (local time instead of UTC) #96

mschiff opened this issue Mar 30, 2023 · 1 comment

Comments

@mschiff
Copy link

mschiff commented Mar 30, 2023

There is a bug in the signalk-to-nmea0183 plugin when writing the GLL sentence:

        1       2 3        4 5         6 7
        |       | |        | |         | |
 $--GLL,ddmm.mm,a,dddmm.mm,a,hhmmss.ss,a*hh<CR><LF>

5 must be time in UTC of this position, hh is hours, mm is minutes, ss.ss is seconds

But the plugin is writing just local time into the sentence instead which leads to several problems.

The RMC sentence also has the UTC of the position and there it is implemented correctly.

The fix should be straigt forward in getting the timestamp in the same way as for the RMC sentence

@tkurki tkurki transferred this issue from SignalK/signalk-server Mar 30, 2023
@tkurki
Copy link
Member

tkurki commented Mar 30, 2023

Moved to the correct repository.

@mschiff mschiff changed the title signalk-to-nmea0183 plugin: wrong time in generated GLL sentence (local time instead of UTC) wrong time in generated GLL sentence (local time instead of UTC) Mar 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants