esp3-parser

0.0.6 • Public • Published

esp3-parser

Checks if the received buffer is a vaild EnOcean Serial Protocol 3 packet.

Requirements

This parser is made for >= serialport@5.0.0

Usage

Only create a new parser:

const ESP3Parser = require('esp3-parser');
...
const parser = new ESP3Parser();

Then pipe it to serialport.

Note

This parser only validates if a packet is a vaild ESP3 packet.

Changes

0.0.6

Splitted packets will be concated. Safe-Buffer will be used.

0.0.5

Catch if the length of the buffer isn't correct.

Package Sidebar

Install

npm i esp3-parser

Weekly Downloads

12

Version

0.0.6

License

ISC

Last publish

Collaborators

  • softwareschmiede