0.1.1 • Published 2 years ago

teltonika-decoder v0.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 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

2 years ago

0.1.1

2 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago