On 20.06.2017 11:18, Mark Morgan Lloyd wrote:
I tend to use the lower-level serial.pp unit. The patches I contributed a couple of years ago specifically added a couple of read-with-timeout functions
IMHO, freeing the user from the necessity to poll or do a thread to wait for serial events is a very beneficial strategy.
But Koenraad Lelong said in the other mail that "SDPOSerial" has a OnRxData event. Hopefully by "event" a main thread event is meant.
-Michael _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal