tillitis / tkey-libs

TKey device libs
GNU General Public License v2.0
4 stars 2 forks source link

Add read function with a timeout #32

Open dehanj opened 4 months ago

dehanj commented 4 months ago

Adding a function that reads from the uart without blocking forever is useful in a lot of cases. It can allow for error recovery if just parts of a frame arrives etc.