1.0.2 • Published 2 years ago
@coremarine/nr-sbf-parser v1.0.2
@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:
addData: To add binary data (payload) to parser, which must beBuffer.getData: To get parsed data (payloadit'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 bestring.getFirmware: To get the firmware (payloadit's not neccesary).setMemory: To set the memory (payload), which must beboolean.getMemory: To get the memory (payloadit's not neccesary).
The output gives the result in the payload. For getData it add the firmware property too, just to for information.