node-modbus
Advanced tools
Comparing version 3.2.4 to 3.2.5
@@ -70,2 +70,9 @@ /** | ||
setTimeout(openSerialPort, this.connectionDelay) | ||
this.log.debug('set on send method') | ||
this.on('send', onSend) | ||
}.bind(this) | ||
let openSerialPort = function () { | ||
if (this.connectionType === 'ASCII') { | ||
@@ -89,3 +96,2 @@ serialport = new SerialPort(this.portName, { | ||
this.log.debug('serialport settings: ' + JSON.stringify(serialport.options)) | ||
serialport.on('open', onOpen) | ||
@@ -96,5 +102,2 @@ serialport.on('disconnect', onDisconnect) | ||
serialport.on('error', onError) | ||
this.log.debug('set on send method') | ||
this.on('send', onSend) | ||
}.bind(this) | ||
@@ -101,0 +104,0 @@ |
{ | ||
"name": "node-modbus", | ||
"version": "3.2.4", | ||
"tag": "3.2.0-alpha-7", | ||
"version": "3.2.5", | ||
"tag": "3.2-alpha-8", | ||
"description": "Sum of implementations for the Serial/TCP Modbus protocol.", | ||
@@ -6,0 +6,0 @@ "author": "Klaus Landsdorf <klaus.landsdorf@bianco-royal.de>", |
86200
1712