0.1.1 • Published 3 years ago

teltonika-decoder v0.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

teltonika-decoder

Decodes messages from Teltonika devices that use either Codec8 or Codec8Extended.

Installation

yarn add teltonika-decoder

Usage

const { decode } = require("teltonika-decoder")

const result = decode(Buffer.from("...", "hex"))

if (result.isImei) {
  // The imei number of the device was sent
  console.log(result.imei)
} else {
  // Telemetry data was sent
  console.log(result.data)
}
0.1.0

3 years ago

0.1.1

3 years ago

0.0.6

4 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago