UNPKG

astra-protocol-x-parser

Version:

A lightweight NodeJS package for parsing data from Astra Telematics IoT devices

15 lines (14 loc) 607 B
var ProtocolXGpsData = /** @class */ (function () { function ProtocolXGpsData(latitude, longitude, speedKph, maxSpeedSinceLastReportKph, headingDeg, altitudeM, journeyDistanceKm) { this.latitude = latitude; this.longitude = longitude; this.speedKph = speedKph; this.maxSpeedSinceLastReportKph = maxSpeedSinceLastReportKph; this.journeyDistanceKm = journeyDistanceKm; this.headingDeg = headingDeg; this.altitudeM = altitudeM; } ProtocolXGpsData.mask = BigInt(1) << BigInt(1); return ProtocolXGpsData; }()); export { ProtocolXGpsData };