Synapse and fpc works great with serial port, I have a daemon I wrote 4 years ago that reads serial data from a phone PBX runs 24X7 and never an issue.
On Jun 18, 2017 11:17 AM, "Bo Berglund" <bo.bergl...@gmail.com> wrote: > On Sun, 18 Jun 2017 09:46:06 -0500, Snorkl e > <tony.cad...@gmail.com> wrote: > > >Couldn't you read the serial port data and then stream it with Synapse to > >the remote location? > >You can use Synapse to read the serial port data and sent via TCP/IP. > > > > Probably, but I was hoping for some ready-made example to get going a > bit faster... > I did another piece of software a year or so ago only involving > TCP/IP, also for remote control, but then I used an Indy TCP client > component. > My problem is getting my head around serial port handlers, which I > have so-so experience of in the past. No RS232 work with FPC/Lazarus > earlier and in Delphi I used AsyncPro components, but these are so > complex that one is lost amongst all properties to set... > > I would like a dead simple serial component where I could just specify > the comm parameters (baud, start/stop bits, handshaking and port) then > just open the connection and wait for receive *events*. > > Yes, it is easier for me to have components with event generation on > data reception rather than using blocking components, which I must > make threads for and then figure out how to channel the data from the > thread into the main application... > > > -- > Bo Berglund > Developer in Sweden > > _______________________________________________ > fpc-pascal maillist - fpc-pascal@lists.freepascal.org > http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal