Skip to content

Added support for multiple slaves#87

Open
mvkvl wants to merge 3 commits intogoburrow:masterfrom
mvkvl:feature/multi-slave-support
Open

Added support for multiple slaves#87
mvkvl wants to merge 3 commits intogoburrow:masterfrom
mvkvl:feature/multi-slave-support

Conversation

@mvkvl
Copy link
Copy Markdown

@mvkvl mvkvl commented Sep 17, 2022

Changed base Client interface to pass slaveId as an argument to all the methods, to allow communication with multiple slaves on a bus in on session. Mainly this is required for ENC (encapsulated RTU over TCP) mode, when we access a bus via TCP-gateway. Previous implementation required us to establish new TCP session for each slaveId, now we can establish one TCP session and communicate with multiple devices.

@mehmetali10
Copy link
Copy Markdown

It works well. Thank you for your contribution!

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.

2 participants