Open pcprince opened 4 years ago
Hi @pcprince ! Hope you are doing well. SerialPort
has gone through many iterations of its API and most likely, xmodem.js
is not compatible with the latest releases. Check out https://github.com/exsilium/pxbee-fwup.js project of mine for implementation example with xmodem.js
and SerialPort
4.x - if you have the option to use that version of SP.
PS. Compatibility PRs are very welcome to xmodem.js stack! ;) Cheers! 🍻
I'm attempting to use xmodem to send data to a serial port. The API and code comments suggest this is possible. However if a SerialPort is given to the
send
function:The following error occurs:
Does this package not support
SerialPort
?