UNPKG

extended-nmea

Version:

A TypeScript library for parsing NMEA0183-like sentences with support for custom and proprietary sentences.

25 lines (24 loc) 708 B
import { TalkerSentence } from "../../types/sentences/TalkerSentence"; import { RawNmeaSentence } from "../../types/sentences/RawNmeaSentence"; export declare enum GsaMode { Manual = "M", Automatic = "A" } export declare enum GsaFix { NoFix = 1, Fix2D = 2, Fix3D = 3 } export declare class GSA extends TalkerSentence { static readonly ID: string; constructor(data: RawNmeaSentence); get mode(): GsaMode; get fix(): GsaFix; get ids(): number[]; get positionalDop(): number; get horizontalDop(): number; get verticalDop(): number; get systemId(): null | string; get valid(): boolean; get invalidReason(): null | string; }