@jbroll/nmea-simple
Version:
NMEA 0183 sentence parser and encoder
9 lines (8 loc) • 341 B
TypeScript
export interface PacketStub<IdType = string> {
sentenceId: IdType;
talkerId?: string;
chxOk?: true;
sentenceName?: string;
}
export declare function initStubFields<IdType>(stub: PacketStub, id: IdType, sentenceName?: string): PacketStub<IdType>;
export declare function parseStub(field0: string, chxOk: boolean): PacketStub;