We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bfaafba commit e459ca5Copy full SHA for e459ca5
pymodbus/client/serial.py
@@ -88,7 +88,9 @@ async def close(self): # pylint: disable=invalid-overridden-method
88
89
def _create_protocol(self):
90
"""Create protocol."""
91
- protocol = ModbusClientProtocol(framer=self.params.framer, xframer=self.framer)
+ protocol = ModbusClientProtocol(
92
+ framer=self.params.framer, xframer=self.framer, timeout=self.params.timeout
93
+ )
94
protocol.factory = self
95
return protocol
96
0 commit comments