Closed sperrydd closed 9 years ago
Thanks! Fixed.
2013/12/4 sperrydd notifications@github.com
I was getting Connection Timed Out Error using RTU mode. Found in your src/modbus.js file about line 694 you were not returning device ID.
Should be like:
return { type: 'RTU', id: id, device: device, baud: baud, parity: parity, dataBit: dataBit, stopBit: stopBit };
Thanks for creating module...
— Reply to this email directly or view it on GitHubhttps://github.com/tuxnsk/nodejs_libmodbus/issues/2 .
Contacts: http://tuxnsk.ru/
Fixed.
I was getting Connection Timed Out Error using RTU mode. Found in your modbus.js file about line 694 you were not returning device ID.
Should be like:
return { type: 'RTU', id: id, device: device, baud: baud, parity: parity, dataBit: dataBit, stopBit: stopBit };
Thanks for creating module...