pymodbus-dev / pymodbus

A full modbus protocol written in python
Other
2.18k stars 895 forks source link

Test and correct receiving more than one packet #1965

Closed janiversen closed 5 months ago

janiversen commented 5 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