Skip to content

Latest commit

 

History

History
executable file
·
23 lines (15 loc) · 860 Bytes

README.md

File metadata and controls

executable file
·
23 lines (15 loc) · 860 Bytes

node-isotp

Most rudimentary binding there is
As this is my learning repo i woudn't recommend it for production use.

Library is a wrapper around isotp-can module.

to import it:
const { IsotpWrapper } = require('./index');

Constructor
const isotp = new IsotpWrapper(CAN_INTERFACE)

send
isotp.send((string)data, tx_id, rx_id)

read
let handle = isotp.read((data, rx, tx) => {}, tx_id, rx_id)

stop reading
isotp.stopReading(handle)

Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.