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

Set MODBUS_ERROR_RECOVERY_LINK #44

Open
timoteo7 opened this issue Jun 28, 2018 · 0 comments
Open

Set MODBUS_ERROR_RECOVERY_LINK #44

timoteo7 opened this issue Jun 28, 2018 · 0 comments

Comments

@timoteo7
Copy link

Hi!
First, I would to thank you for your wonderful library.
I'm using it from Node.JS and I'm trying to call the: modbus_set_error_recovery() function as described here:
http://libmodbus.org/docs/v3.0.6/modbus_set_error_recovery.html
from Node.JS, but it seems that that function is not exposed for external use.

I need that configuration set in order to exit from this loop when I unplug the device:

    Waiting for a indication...
    ERROR Connection reset by peer: read

I'm using the library as a slave in RTU mode.

Can you give some help with that?

Thanks in advance,

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

No branches or pull requests

1 participant