I need to write a driver which is capable of reading and writing on the serial and the can bus port.
The serial port is realized with a sigaction()
and an event handler. When I try to realize the same thing for the can bus, just the last event handler will be notified as there can be just on event handle assigned to the sigaction()
.
Is there any other possibility to solve this problem?