UsbSerial icon indicating copy to clipboard operation
UsbSerial copied to clipboard

Add new read() method that sets read buffer size

Open tihomirleka opened this issue 4 years ago • 2 comments

New read(UsbReadCallback, int) method added that takes additional parameter which defines size of the read buffer when communicating asynchronously.

tihomirleka avatar Aug 06 '19 14:08 tihomirleka

@tihomirleka Thanks for the PR. I will check it out as soon as possible

felHR85 avatar Aug 06 '19 14:08 felHR85

Think this could be merged and released if it looks good? The 16kb buffer size with callbacks is a showstopper for me. If this isn't releasable, is there a workaround to change the size of the buffer once the callback is set? I looked but didn't see anything.

subvertallchris avatar Dec 29 '20 02:12 subvertallchris