Skip to content

Conversation

@chkr-private
Copy link
Contributor

The parameter "-p" is used for both, ModbusTcpServer as well as ModbusSerialServer.

In case of the serial server, the paramter is used to specify the serial port which is typically a string (and not an integer).

Fixes issue #1712.

The parameter "-p" is used for both, ModbusTcpServer as well
as ModbusSerialServer.

In case of the serial server, the paramter is used to specify
the serial port which is typically a string (and not an integer).

Fixes issue pymodbus-dev#1712.
Copy link
Collaborator

@janiversen janiversen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks

@janiversen janiversen merged commit 8419dc7 into pymodbus-dev:dev Jul 30, 2023
@alexrudd2 alexrudd2 linked an issue Jul 31, 2023 that may be closed by this pull request
@alexrudd2 alexrudd2 changed the title pymodbus.server: allow strings for "-p" paramter pymodbus.server: allow strings for "-p" parameter Jul 31, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

pymodbus.server does not work with serial port

2 participants