by berndnoetscher » Wed Dec 15, 2010 10:55 am
Well, the feature QextSerialBase::EventDriven is not supported by QextSerialBase, because this feature is alpha implemented by the QextSerialBase team and not to work on Linux.
According to the source code of the serialport control kbasic provides, the OnEvent is used by an internal timer. The best solution seems to use bytesavailable and so on checking if data has arrived. PollingInterval must be set. If you need more ideas, try to read the source code of _serialport.h in kbshared in the source package of kbasic available as separate download.