@coremarine/septentrio-sbf-nodered
v1.0.1
Published
A group of Node-Red components to work with Septentrio SBF protocol
Downloads
13
Readme
Septentrio-SBF-NodeRED
SBF parser component for Septentrio binary protocol.
Installation
Install via the Palette Manager or cli -> @coremarine/septentrio-sbf-nodered
Usage
This component is just a wrap of the library @coremarine/septentrio-sbf, 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 (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 bestring
.getFirmware
: To get the firmware (payload
it's not neccesary).setMemory
: To set the memory (payload
), which must beboolean
.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.