UsbSerial
UsbSerial copied to clipboard
write large data problem ~15kB
I have old project with STM32F10x USB CDC , it is 100% working with felHR85/USBSerial. Async communication no problem. Now I have ARM CortexM0 project (based on YICHIP YC3121) and USB works only with small packets.
Tried async and sync communication, Android sent 15kB, valid return code of connection.bulkTransfer(..... But device receive only 2kB.
10 hours lost, and solution is set MAX_BULK_BUFFER to 64 bytes.
Why there is no option (without manual package import and rewriting source) modify bulkTransfer packet size ?