SignalK / signalk-to-nmea0183

Signal K Node server plugin to convert Signal K to NMEA 0183
Apache License 2.0
13 stars 28 forks source link

Wrong GGA implementation #39

Closed free-x closed 5 years ago

free-x commented 5 years ago

Hi,

now GGA sentence looks: $IIGGA,085210,5408.7630,N,01328.9580,E,DGNSS fix,8,1,0,M,0,M,,*60

7th field is wrong. It must be numeric

GGA - Global Positioning System Fix Data, Time, Position and fix related data fora GPS receiver.

                                                  11
    1         2       3 4        5 6 7  8   9  10 |  12 13  14   15
    |         |       | |        | | |  |   |   | |   | |   |    |

$--GGA,hhmmss.ss,llll.ll,a,yyyyy.yy,a,x,xx,x.x,x.x,M,x.x,M,x.x,xxxx*hh

Field Number: 1) Universal Time Coordinated (UTC) 2) Latitude 3) N or S (North or South) 4) Longitude 5) E or W (East or West) 6) GPS Quality Indicator, 0 - fix not available, 1 - GPS fix, 2 - Differential GPS fix 7) Number of satellites in view, 00 - 12 8) Horizontal Dilution of precision 9) Antenna Altitude above/below mean-sea-level (geoid) 10) Units of antenna altitude, meters 11) Geoidal separation, the difference between the WGS-84 earth ellipsoid and mean-sea-level (geoid), "-" means mean-sea-level below ellipsoid 12) Units of geoidal separation, meters 13) Age of differential GPS data, time in seconds since last SC104 type 1 or 9 update, null field when DGPS is not used 14) Differential reference station ID, 0000-1023 15) Checksum

free-x commented 5 years ago

40

tkurki commented 5 years ago

@signalk/signalk-to-nmea0183@1.5.1