jsmodbus
Advanced tools
Comparing version 1.0.2 to 1.0.3
var modbus = require('../../'), | ||
client = modbus.client.tcp.complete({ 'host' : process.argv[2], 'port' : process.argv[3] , 'logEnabled' : true}); | ||
client = modbus.client.tcp.complete({ | ||
'host' : process.argv[2], | ||
'port' : process.argv[3], | ||
'logEnabled' : true, | ||
'logLevel' : 'debug', | ||
'logTimestamp' : true | ||
}); | ||
@@ -7,3 +13,3 @@ client.on('connect', function () { | ||
client.readCoils(process.argv[4], process.argv[5]).then(function (resp) { | ||
console.log(resp); | ||
@@ -10,0 +16,0 @@ |
{ | ||
"name": "jsmodbus", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "Implementation for the Serial/TCP Modbus protocol.", | ||
@@ -17,3 +17,3 @@ "author": "Stefan Poeter <stefan.poeter@cloud-automation.de>", | ||
"stampit-event-bus": "^0.1.1", | ||
"stampit-log": "^0.2.0", | ||
"stampit-log": "^0.3.0", | ||
"stampit-state-machine": "^0.2.1" | ||
@@ -20,0 +20,0 @@ }, |
98639
2142
+ Addedstampit-log@0.3.0(transitive)
- Removedstampit-log@0.2.0(transitive)
Updatedstampit-log@^0.3.0