Open ptorrent opened 5 years ago
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
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 });
});
So. no, not included at the moment ... I would be happy to take PRs :-)
Sorry, but what does "PRs" mean ? :D
PR=Pull Request ... code it and I will be happy to check and include it :-) Else I leave the request here for later
Hello !
THanks for your great work :)
Is there a way to make work this driver as modbus slave ?