With the current version with a 128KB buffer size I'm unable to copy a file that has a size of 4126 KB : https://github.com/peterhinch/micropython_remote/blob/58acc0a7ffabdb198671619833c20f95cbe42df9/rx/__init__.py I have timeout everytime. I tried increasing the timeout from 20ms to 5 seconds, it did not help but increasing the buffer size to 256kb helped.
But maybe there's a reason behind 128kb which would make this PR not relevant ?
With the current version with a 128KB buffer size I'm unable to copy a file that has a size of 4126 KB : https://github.com/peterhinch/micropython_remote/blob/58acc0a7ffabdb198671619833c20f95cbe42df9/rx/__init__.py I have timeout everytime. I tried increasing the timeout from 20ms to 5 seconds, it did not help but increasing the buffer size to 256kb helped. But maybe there's a reason behind 128kb which would make this PR not relevant ?