pymodbus-dev / pymodbus

A full modbus protocol written in python
Other
2.29k stars 938 forks source link

Test and correct receiving more than one packet #1965

Closed janiversen closed 9 months ago

janiversen commented 9 months ago

fixes #1949

First a new test case is made to show the problem.

There was a problem in advanceFrame, but with this PR we actually silently support multiple parallel calls in async mode.

the suggestion for a change in getFrame, was not correct, it does not work for exception respons