Closed ericvicenti closed 5 years ago
cc @cinderblock
We should also update the documentation to reflect which version of node-serialport is working with the driver.
@ericvicenti Do you know when this change in the API was introduced?
Looks like this change happend in SerialPort 5.x https://github.com/node-serialport/node-serialport/blob/160cf33bdbf331775ae2ccce8f374ec9e0988048/packages/serialport/UPGRADE_GUIDE.md#upgrading-from-4x-to-5x
Maybe this should be updated to test if isOpen
is a function or not?
I was getting errors about isOpen being a boolean, because apparently serialport has changed the API here