I am attaching a sensor( recognized as: /dev/ttyUSB0) that continuously send data to raspberry pi 3 B.
I want to increase the UART (serial) USB receive input buffer to be able to store data more than the current (4095); is there anyway to do this in C under Linux?
I used to do it in C under windows using:
Status = SetupComm(hComm, 51200000,4096);
Is there any equivalent to this command in Linux?