Skip to content

merge head repo#1

Merged
flottokarotto merged 24 commits intoflottokarotto:masterfrom
node-modbus:master
May 17, 2019
Merged

merge head repo#1
flottokarotto merged 24 commits intoflottokarotto:masterfrom
node-modbus:master

Conversation

@flottokarotto
Copy link
Copy Markdown
Owner

No description provided.

dresende and others added 24 commits May 9, 2018 14:36
Allows updates to modbus-pdu and mocha, serialport limited to <7 for continued node 4 & 5 support
- extended NodeJS version
- excluded dtslint for Node 4 & 5
- removed NodeJS version > 8 as modbus-pdu tests fail
- moved dtslint condition to stage
- removed stages
- moved condition to job
- updated build matrix to not run DTS lint for node v4/v5
- fixed env check
It looks the call signature for `readCoils` in the first example uses the ([old](https://github.com/dresende/node-modbus-tcp#client-methods)) `{ from: ..., to: ... }` syntax instead of `{ address: ..., quantity: ... }`. I couldn't find the `test.js` file mentioned, but the tests that I did see used the latter syntax (except for the predecessor project [`node-modbus-tcp`](https://github.com/dresende/node-modbus-tcp/blob/master/test/integration/read-coils.js#L27)):

* [`pdu` test for "read coils" operation](https://github.com/node-modbus/pdu/blob/master/test/integration/read-coils.js#L4)
* [`quirks.js`](https://github.com/node-modbus/stream/blob/master/test/integration/quirks.js#L24)
doc: correct syntax contradiction in README.md example
@flottokarotto flottokarotto merged commit 1370396 into flottokarotto:master May 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants