This package has been deprecated

Author message:

Package renamed to @coremarine/septentrio-sbf-nodered

@coremarine/nr-sbf-parser

1.0.2 • Public • Published

@coremarine/nr-sbf-parser

SBF parser component for Septentrio binary protocol.

Installation

Install via the Palette Manager or cli -> @coremarine/nr-sbf-parser

Usage

This component is just a wrap of the library @coremarine/sbf-parser, so please check its info to understand how works the pipes.

The component needs two properties to work:

  • command: to tell what do you want.
  • payload: the data of the command.

The main commands to parser data are:

  1. addData: To add binary data (payload) to parser, which must be Buffer.
  2. getData: To get parsed data (payload it's not necessary).

There are 4 commands more to setup firmware and memory:

At this moment the only Firmware supported (and not completely) is "4.10.1"

  • setFirmware: To set the firmware (payload), which must be string.
  • getFirmware: To get the firmware (payload it's not neccesary).
  • setMemory: To set the memory (payload), which must be boolean.
  • getMemory: To get the memory (payload it's not neccesary).

The output gives the result in the payload. For getData it add the firmware property too, just to for information.

/@coremarine/nr-sbf-parser/

    Package Sidebar

    Install

    npm i @coremarine/nr-sbf-parser

    Weekly Downloads

    0

    Version

    1.0.2

    License

    MIT

    Unpacked Size

    83.2 kB

    Total Files

    7

    Last publish

    Collaborators

    • coremarinedev
    • crisconru
    • valentina-rubane