Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2007-06

Serial Programming

7 messages · 5 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Rainer Stratmann

Hello,

porting to the new 2.1.4 Version, I tried to convert the serial stuff, because there is nomore oldlinux unit.
I can not find the equivalent unit(s) for the serial stuff. Is there someone who is serial interface experienced?

Kind regards

Rainer

Reply by email

Luca Olivetti
to Rainer Stratmann

En/na Rainer Stratmann ha escrit:

Show quoted text 6 lines
Hello, porting to the new 2.1.4 Version, I tried to convert the serial stuff, because there is nomore oldlinux unit. I can not find the equivalent unit(s) for the serial stuff. Is there someone who is serial interface experienced?

I've used synaser in the past (and I plan using it again):

http://synapse.ararat.cz/

Bye

Luca

Reply by email

Rainer Stratmann
to Marco van de Voort
Marco van de Voort wrote 7 lines
> porting to the new 2.1.4 Version, I tried to convert the serial stuff, > because there is nomore oldlinux unit. > I can not find the equivalent unit(s) for the serial stuff. > Is there someone who is serial interface experienced? The terminal IO stuff in unit Linux moved to unit termio, and was cleaned up and expanded.

Yes, this work now also like before, thanks.

Is there existing simple example code for accessing the serial interface?

Kind regards,
Rainer

Reply by email

Marco van de Voort
to Rainer Stratmann
Show quoted text 12 lines
Am Sonntag, 3. Juni 2007 09:38 schrieb Marco van de Voort: > > porting to the new 2.1.4 Version, I tried to convert the serial stuff, > > because there is nomore oldlinux unit. > > I can not find the equivalent unit(s) for the serial stuff. > > Is there someone who is serial interface experienced? > > The terminal IO stuff in unit Linux moved to unit termio, and was cleaned > up and expanded. Yes, this work now also like before, thanks. Is there existing simple example code for accessing the serial interface?

Only unit serial I guess. And maybe fpasync in the fcl.

Reply by email

Marc Santhoff
to Rainer Stratmann: Yes, this work now also like before, thanks. Is there existing simple example code for…
Rainer Stratmann wrote 12 lines
Am Sonntag, 3. Juni 2007 09:38 schrieb Marco van de Voort: > > porting to the new 2.1.4 Version, I tried to convert the serial stuff, > > because there is nomore oldlinux unit. > > I can not find the equivalent unit(s) for the serial stuff. > > Is there someone who is serial interface experienced? > > The terminal IO stuff in unit Linux moved to unit termio, and was cleaned > up and expanded. Yes, this work now also like before, thanks. Is there existing simple example code for accessing the serial interface?

I've been doing some very, very simple communications on three wires without any handshake using the serial unit (rtl/unix or baseunix or so) using 2.0.4. If that is sufficient I could show some code snippet.

But there is a sophisticated text on serial communications, "Serial Programming Guide for POSIX Operating Systems" by Michael R. Sweet, that has nearly anything. Search on the Web, IIRC it has it's own site.

HTH,
Marc

Reply by email