Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

merge head repo #1

Merged
merged 24 commits into from
May 17, 2019
Merged

merge head repo #1

merged 24 commits into from
May 17, 2019

Conversation

flottokarotto
Copy link
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