R
roxlu
Hi all
I'm using LibSerial
(http://libserial.sourceforge.net/mediawiki/index.php/LibSerial_Tutorial)
for communication with my serial port. I can read and write data. But,
as I've implemented it as a part of a tcp/ip server, I need to use the
signal_handler functionality. Actually I want a function to be called
whenever data arrives at the serial port. But I'm still learning c++
and I really can't figure out how to do this.
Here is a class list:
http://libserial.sourceforge.net/doxygen/annotated.html with a
PosixSignalDispatcher, which I think is needed in my case, but how can
I 'use' this with a SerialStream object?
Thanks in advance,
Greetngs roxlu
I'm using LibSerial
(http://libserial.sourceforge.net/mediawiki/index.php/LibSerial_Tutorial)
for communication with my serial port. I can read and write data. But,
as I've implemented it as a part of a tcp/ip server, I need to use the
signal_handler functionality. Actually I want a function to be called
whenever data arrives at the serial port. But I'm still learning c++
and I really can't figure out how to do this.
Here is a class list:
http://libserial.sourceforge.net/doxygen/annotated.html with a
PosixSignalDispatcher, which I think is needed in my case, but how can
I 'use' this with a SerialStream object?
Thanks in advance,
Greetngs roxlu