
MBeckman (Customer) asked a question.
I'm attempting to read 431 bytes coming from a serial device. I'm seeing that the number of bytes I'm able to capture is 255. None the bytes past 255 are made available from Port1.read(). Is there a limit to the number of bytes that can come through the connection over some period of time? I've experimented with 9600 and 57600 baud.
It looks like that buffer size is controlled by a #define in the board core.
To increase it, I believe all you need to to do is increase the value of SERIAL_BUFFER_SIZE in RingBuffer.h that is found here: C:\Users\YOURUSERNAME\AppData\Local\Arduino15\packages\P1AM-100\hardware\samd\1.6.21\cores\arduino
Try increasing that to 512 then close and re-open the Arduino IDE and recompile.