npm.io
1.0.2 • Published 9 years ago

gsr-parser

Licence
ISC
Version
1.0.2
Deps
0
Vulns
0
Weekly
0
Stars
19

Parser for GSR packets, supports CDHS, PWR, ADCS and COM packet types.

There is one method, parseGsrData that accepts string with hex data and returns an object with parsed data

Example usage

const gsrDecoder = require('gsr-parser').parseGsrData;
// or
// import { parseGsrData as gsrDecoder } from 'gsr-parser';
const decodedPacketData = gsrDecoder(dataInHex);