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

Refactor modbus in #4

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

gemini86
Copy link
Contributor

Are there any issues addressed by this pull-request?

What are you doing in this pull-request in general?

fixing linter issues and reducing CC of modbusIn node. Simplifying code to use same callbacks and handlers for read and write functions.

What are possible side-effect?

none that I could see.

Did you write tests and what are you testing?

existing units tests have been fixed (issue where client connection wasn't being closed properly) and pass tests. Tested with separate node-red instance running a client connection to read/write data.

gemini86 and others added 2 commits December 17, 2019 15:40
update fork from master repo
- refactored modbusIn, modbusServer to reduce CC
- adjusted tests to suit
@gemini86
Copy link
Contributor Author

Hopefully this resolves the remaining issues with the add_write PR which was already merged. Thanks for the opportunity to work with you on this. I think this node will be useful for so many people, and is very approachable.

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.

1 participant