Menu

nmealib parsing incorrect time?

Help
2008-01-23
2013-04-24
  • Kevin Williams

    Kevin Williams - 2008-01-23

    When I give it the following message from my garmin gps III:
    $GPRMC,173843,A,3349.896,N,11808.521,W,000.0,360.0,230108,013.4,E*69
    The info structure contains seconds = 16 and longitude = 0?  I get the same answer from there on even when the seconds and lon is changing?  What am I doing wrong?

     
    • Tim

      Tim - 2008-01-24

      According to specification, time field in packet should be in 'Hhmmss.ss' format (there should be hundredth of second after the dot). Unfortunately, developers of your GPS unit decided that just seconds will be enough.
      I agree, that such inaccuracies may occur, and will make appropriate changes to library soon.

       
    • Tim

      Tim - 2008-01-24

      Also you can add the bug to tracker.

       

Log in to post a comment.