bashwork/pymodbus — Issue #4: Change protocol to only read what it needs
Author: bashwork
Created: 2012-01-14 16:04:55+00:00
State: open

Right now we are just reading until we get a full packet (which made for easy async stream handling), however, it messes with the serial implementations. What needs to happen is the header size needs to be read and then based on that, the exact amount specified there needs to be read. This would make the RTU implementation more reliable and fix the timeout issue with the serial libraries.