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

mbus Slave #25

Open
ptorrent opened this issue Jan 23, 2019 · 5 comments
Open

mbus Slave #25

ptorrent opened this issue Jan 23, 2019 · 5 comments
Labels
enhancement New feature or request

Comments

@ptorrent
Copy link

Hello !

THanks for your great work :)

Is there a way to make work this driver as modbus slave ?

@ptorrent ptorrent changed the title Modbus Slave mbus Slave Jan 23, 2019
@Apollon77
Copy link
Owner

Apollon77 commented Jan 23, 2019

What would be the purpose to have it running via Slave? A Slave is requested for data only, correct? What data the module should deliver?

So, no not at tthe moment

@ptorrent
Copy link
Author

Yes, the slave should answer the requests of the master.

It should work like a modbus slave I think, something like that:

var slave = new require("mbus-node").Slave();
slave.on("read", function (device, reply) {
    return reply(null, { blablabla });
});

@Apollon77
Copy link
Owner

So. no, not included at the moment ... I would be happy to take PRs :-)

@Apollon77 Apollon77 added the enhancement New feature or request label Jan 23, 2019
@ptorrent
Copy link
Author

Sorry, but what does "PRs" mean ? :D

@Apollon77
Copy link
Owner

PR=Pull Request ... code it and I will be happy to check and include it :-) Else I leave the request here for later

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants