Open geogeim opened 5 years ago
I had this issue and worked around it by supplying my own serial port options:
const bridge = new Bridge('COM3', {
sp: {
baudRate: 115200,
rtscts: true
}
});
This is just a workaround and the true solution is for someone to update bridge.js
from zigbee-bridge
line 40:
spCfg.options = opts.hasOwnProperty('sp')
? opts.sp
: {baudrate: 115200, rtscts: true};
EDIT: By the way, source of the change is an intentional option change in node-serialport
https://github.com/serialport/node-serialport/commit/a3b8d35
I'm getting this error with the example from the readme