extended-nmea
Version:
A TypeScript library for parsing NMEA0183-like sentences with support for custom and proprietary sentences.
12 lines (11 loc) • 546 B
TypeScript
import { RawNmeaSentence } from "../sentences/RawNmeaSentence";
import { ITalkerSentence } from "./ITalkerSentence";
export interface ITalkerSentenceConstructor {
/**
* Create a NMEA0183 "talker sentence" from a string and an optional talker id length.
*
* @param data The data to interpret as an NMEA0183 talker sentence. Can also be an existing Sentence.
* @param talkerIdLength The length of the talker id in this sentence.
*/
new (data: RawNmeaSentence, talkerIdLength: number): ITalkerSentence;
}