From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fc89c,9719223e9006b160 X-Google-Attributes: gidfc89c,public X-Google-Thread: 103376,9719223e9006b160 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-03-01 04:36:24 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!news.maxwell.syr.edu!news.kiev.sovam.com!Svitonline.COM!carrier.kiev.ua!news.lucky.net!not-for-mail From: Valentin Nechayev Newsgroups: comp.lang.ada,comp.unix.programmer Subject: Re: Bit-rates > 38400 bit/s with POSIX/floristlib? Date: Sat, 1 Mar 2003 14:32:20 +0200 Organization: Dark side of coredump Distribution: world Message-ID: <20030301123220.GC353@iv.nn.kiev.ua> References: <1f358d66.0302281619.1fb62598@posting.google.com> Reply-To: netch@segfault.kiev.ua NNTP-Posting-Host: news.lucky.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.lucky.net 1046522183 19311 193.193.193.102 (1 Mar 2003 12:36:23 GMT) X-Complaints-To: usenet@news.lucky.net NNTP-Posting-Date: Sat, 1 Mar 2003 12:36:23 +0000 (UTC) X-Comment-To: Karl Ran X-Return-Path: netch@iv.nn.kiev.ua Xref: archiver1.google.com comp.lang.ada:34765 comp.unix.programmer:42266 Date: 2003-03-01T14:32:20+02:00 List-Id: >>> 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-