comp.lang.ada
 help / color / mirror / Atom feed
* Bit-rates > 38400 bit/s with POSIX/floristlib?
@ 2003-03-01  0:19 Karl Ran
  2003-03-01 12:32 ` Valentin Nechayev
  0 siblings, 1 reply; 2+ messages in thread
From: Karl Ran @ 2003-03-01  0:19 UTC (permalink / raw)


Hi,
I'm using the floristlib to access the RS232 port on my PC.
Everything works fine at 19200 bit/s :-)

Now I'd like to switch to 115200 bit/s.
This seems to be not possible, because it's not a POSIX bit-rate, AFAIK.

Does anybody know a (maybe portable) workaround for this configuration?
GCC, Floristlib, Linux


Thanks,
Karl



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Bit-rates > 38400 bit/s with POSIX/floristlib?
  2003-03-01  0:19 Bit-rates > 38400 bit/s with POSIX/floristlib? Karl Ran
@ 2003-03-01 12:32 ` Valentin Nechayev
  0 siblings, 0 replies; 2+ messages in thread
From: Valentin Nechayev @ 2003-03-01 12:32 UTC (permalink / raw)


>>> Karl Ran wrote:

KR> I'm using the floristlib to access the RS232 port on my PC.
KR> Everything works fine at 19200 bit/s :-)
KR> Now I'd like to switch to 115200 bit/s.
KR> This seems to be not possible, because it's not a POSIX bit-rate, AFAIK.

Linux supports higher rates.

#define    B57600 0010001
#define   B115200 0010002
#define   B230400 0010003
#define   B460800 0010004
#define   B500000 0010005
#define   B576000 0010006
#define   B921600 0010007

 ... and even more speeds are defined...

KR> Does anybody know a (maybe portable) workaround for this configuration?

Does floristlib use standard termios constants?


-netch-



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-03-01 12:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-03-01  0:19 Bit-rates > 38400 bit/s with POSIX/floristlib? Karl Ran
2003-03-01 12:32 ` Valentin Nechayev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox