Skip to content

can't use slave ID with TCP Client? #14

Open
@HollyGates

Description

@HollyGates

Hi there, thanks for this library. I have got the example going on my ESP32 for modbus TCP client and I can read and write registers from my PC using modbus TCP query program from SimplyModbus. However, the client (ESP32) behaves the same no matter what I set the modbus slave ID to - it doesn't seem to pay any attention to that number.

In this application I'm working on I need to be able to respond differently depending on which slave ID the query is sent to. Is there a way to check ID for an incoming request?

Thanks for any thoughts.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions