Hi Rohit,
GPS time starts from UTC 01/06/1980(MM/DD/YYYY) and includes 2 fields: week and tow.
For a given GPS time, week is the passed week number since the GPS start time, and tow(time of week) is the passed seconds since the last Sunday.
For example, a given UTC time [10/30/3014 01:10:00](MM/DD/YYYY HH:MM:SS) can be converted into GPS time [1816, 4200](week, seconds).
GPS time can be used as a quite accurate time once position is fixed.
GPS location usually includes longitude, latitude, altitude. We can show the point on the map with these coordinates information.
In my demo application, time will be outputted in UTC format with NMEA protocol and in GPS time format with OSP protocol. So I use a union for the time field.
I think we can add some comments in case of some confusions to users.
Thanks.
Hello,
Here's a proposal for an API for GPS providers. Please comment.