Skip to contentSkip to conversation

serial transimission/reception buffer infos

DISCUSSION Massimiliano Cialdi 1 participant 1 message Oct 4, 2004

lore
Share & tools
lore
#0 lore raw

I need to use ttyS? serial port. I need to "read" some information from rx/tx buffers, like dimensions of buffers (is dimensions settable by my application?), how many characters are still in transmission buffer (not already send), if there was an overrun in reception buffer.

There exist FIONREAD requesto of ioctl(), but it only work on reception buffer.

there exist some low leve function?

thanks

Signature · 3 lines
Massimiliano Cialdi
[email protected]
[email protected]