serial icon indicating copy to clipboard operation
serial copied to clipboard

linux low latency

Open lcp5y3 opened this issue 9 months ago • 0 comments

It's not really an issue of zig-serial but an issue of serial port on linux.

When I use serial port with high baudrate (>= 1Mb), I loss a lot of trames. To improve this you can update the serial port configuration to add the flag low_latency. To do that you can use setserial tool.

But I'm wonder if this can't be done by zig-serial by adding a flag low_latency to SerialConfig struct ?

Before implementing this, I want to know what you think about it.

PS: I don't know if this "trick" is needed on mac or bsd.

lcp5y3 avatar Mar 26 '25 14:03 lcp5y3