vsergeev / python-periphery

A pure Python 2/3 library for peripheral I/O (GPIO, LED, PWM, SPI, I2C, MMIO, Serial) in Linux.
MIT License
519 stars 139 forks source link

Data from consecutive packets are merged in serial module #30

Closed xrombik closed 4 years ago

xrombik commented 5 years ago

Serial module. Data from consecutive packets are merged until the number of bytes specified in read is reached, or timeout is reached. This is wrong behavior, because when using native open/read/write system calls data is not messed up from consecutive packets. With this PR problem is solved: https://github.com/vsergeev/python-periphery/pull/28

vsergeev commented 4 years ago

Resolved by 0f97423.