Skip to content

GerritSe/teltonika-decoder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published