wjwwood / serial

Cross-platform, Serial Port library written in C++
http://wjwwood.github.com/serial/
MIT License
2.16k stars 1.05k forks source link

ASYNC_LOW_LATENCY support #210

Open Thordreck opened 5 years ago

Thordreck commented 5 years ago

Hi, I noticed that there's no way (at least that I know of) to somehow access the file descriptor directly or to set flags in the TIOCSSERIAL ioctl call. I'm asking this because recently I had to set ASYNC_LOW_LATENCY to reduce latency considerably. Is there any way for users to specify flags that I'm not aware of?

Thanks!

wjwwood commented 3 years ago

No unfortunately there is not. Probably because there wasn't a good way to do this in a portable way, but maybe that's not so important. It is something that is worth adding though I think.