node-serialport-bindings-cpp/docs/api-overview.md
Francis Gulotta 103498e8dd
feat: move cli tools to their own packages (#1664)
- update cli docs
- fix #1659 close / disconnect error for serialport-terminal
- rename serialport-term to serialport-terminal
- stop `test:require` because it's not necessary and breaks on the cli packages
2018-09-15 04:58:28 -04:00

2 KiB

id title
api-overview Packages Overview

Chances are you're looking for the serialport package which provides a good set of defaults for most projects. However it is quite easy to mix and match the parts of serialport you need.

Bindings

The Bindings provide a low level interface to work with your serialport. It is possible to use them alone but it's usually easier to use them with an interface.

Interfaces

Interfaces take a binding object and provide a different API on top of it. Currently we only ship a Node Stream Interface.

Parsers

Parsers are used to take raw binary data and transform them into usable messages. This may include tasks such as converting the data to text, emitting useful chunks of data when they have been fully received, or even validating protocols.

Parsers are traditionally Transform streams, but Duplex streams and other non stream interfaces are acceptable.

Command Line Tools

The Command Line Tools provide helpful utilities for working with serial ports.