Skip to content

p;arsing error fix from mysticpants develop branch #2

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

Merged
merged 5 commits into from
Aug 24, 2017

Conversation

betzrhodes
Copy link

No description provided.

blindman2k and others added 5 commits April 6, 2017 11:08
A new test case was written for it

2. Added notes to advise users of the TCP connection dropout after a
certain amount of idle time

3. Added notes to inform users that the order of operation in
readWriteMultipleRegisters may differ from the modus spec in reality .
# Conflicts:
#	ModbusTCPMaster/README.md
@betzrhodes betzrhodes requested a review from ppetrosh August 23, 2017 16:45
@betzrhodes
Copy link
Author

This fix seems to be on mystic pants branch but not ours. Changes look like they fix the issue filed when we reviewed the library, but never got bubbled up to our repo.

@betzrhodes
Copy link
Author

when library update is available we should update this forum post.
https://forums.electricimp.com/t/modbus-tcp/4401

@@ -253,7 +253,7 @@ modbus.maskWriteRegister(0x01, 0x10, 0xFFFF, 0x0000, function(error, result) {

Function Code : 23

This method performs a combination of one read operation and one write operation in a single Modbus transaction. The write operation is performed before the read. It takes the following parameters:
This method performs a combination of one read operation and one write operation in a single Modbus transaction. The write operation is performed before the read ^. It takes the following parameters:

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this changed by mistake?

@@ -286,7 +289,7 @@ modbus.maskWriteRegister(0x10, 0xFFFF, 0x0000, function(error, result) {

Function Code : 23

This method performs a combination of one read operation and one write operation in a single Modbus transaction. The write operation is performed before the read. It takes the following parameters:
This method performs a combination of one read operation and one write operation in a single Modbus transaction. The write operation is performed before the read ^. It takes the following parameters:

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo?

Copy link

@ppetrosh ppetrosh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me except for the two minor comments.

@betzrhodes betzrhodes merged commit 943ce58 into electricimp:develop Aug 24, 2017
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.

4 participants