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)
This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.