1.0.2 • Published 7 years ago

gsr-parser v1.0.2

Weekly downloads
1
License
ISC
Repository
github
Last release
7 years ago

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