Node driver for Sensirion HDLC devices. This package is largely modeled after Sensirion/python-shdlc-driver: Python Driver for Sensirion SHDLC Devices.
Please note Mytos Bio has no affiliation with Sensirion.
For basic module documentation please see Sensirion HDLC Node Documentation. This documentation is automatically generated code is committed to the main branch.
Currently this package only includes commands to communicate with the Liquid Flow Sensor using the Sensirion RS485 and USB Sensor Cable. For more information on either of the products this package is designed to work with please refer to the following links.
- Liquid Flow Sensor SLF3x | Sensirion
- Sensirion_Liquid_Flow_Meters_SCC1-RS485_Sensor_Cable_Datasheet.pdf
Install using npm or yarn.
npm install @mytosbio/kern-communications
yarn add @mytosbio/kern-communications
Include a basic example to connect with and configure a Kern balance.
// TODO: Add example of using kern-communications
Please feel free to fork and modify this code. We have attempted to add some basic code quality checks to the process. When creating commits the Typescript files are built and linted to check they conform to the correct standards. If using VSCode then we highly recommend installing the prettier and eslint extensions.
For more details on how to contribute to this project please see [Contributing][contributing.md] guidelines.
There are extensive tests to assert correct functionality. The test runner used
is jest
which accepts a number of arguments to watch the test files and filter
tests based on filename. The following command will run all the tests for the
repository.
yarn run test
Documentation can be built using typedoc.
yarn run typedoc
Please see LICENSE.