Dear all,
I need a help in a realization a simple daemon to serve COM (serial) port on Windows platform.
The task: Computer with Windows have a serial port producing 21-bytes binary data every 16 seconds. This data can be READ in a moment of appearance. COM port doesn't have a WRITE possibility. When I've using TLazSerial component to get a data in a desktop application - everything seems OK (event OnRxData is raising periodically and the procedure in my code can proceed proper binary string/array). But in a daemon code (DaemonApp and so on) it doesn't work. The event OnRxData never raised.
Toolkit: Lazarus IDE 2.2.0, FPC 3.2.2, lazserial 0.5
Would anybody show an example to reach my target? Or maybe there's another free solution to work eventually with COM (serial) port in non-desktop, non-console - especially in daemon application? Thanks in advance!