Skip to content

connect for different unitId with the same host and port #353

Description

@dyaacov

Hi,

I need to connect to the same host and port, but different unitIds

In the code, it looks like the connection is based on unitId as well.
new Modbus.client.TCP(socket, unitId)

Is there a best practice to reuse the same connection for different unitId?

Thanks
Dekel

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions