@serialpilot/bindings-cpp
v1.0.1
Published
SerialPilot hardware bindings for Node.js written in C++
Downloads
13,566
Maintainers
Readme
Access serial ports with JavaScript on Linux, macOS, and Windows.
Quick Links
Bindings
This package provides low-level hardware bindings. It can be used directly or through a higher-level interface.
@serialpilot/bindings-cppfor Linux, macOS, and Windows bindings@serialpilot/bindings-interfacefor common binding interfaces@serialpilot/binding-mockfor testing and mocking
Developing
Developing SerialPilot bindings
- Clone this repo:
git clone [email protected]:serialpilot/bindings-cpp.git - Run
npm install - Run
npm test - If you have a serial loopback device (TX to RX), run
TEST_PORT=/path/to/port npm testfor a more comprehensive suite. Default baud is 115200 and can be customized withTEST_BAUD.
License
MIT, see LICENSE.
Code of Conduct
This project follows the Nodebots Code of Conduct.
