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.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Received: by 2002:a6b:2712:: with SMTP id n18-v6mr21640950ion.90.1534792223381; Mon, 20 Aug 2018 12:10:23 -0700 (PDT) X-Received: by 2002:aca:eb15:: with SMTP id j21-v6mr1088939oih.6.1534792223290; Mon, 20 Aug 2018 12:10:23 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!feeder.eternal-september.org!weretis.net!feeder4.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!peer02.ams1!peer.ams1.xlned.com!news.xlned.com!peer02.am4!peer.am4.highwinds-media.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!g24-v6no18360iti.0!news-out.google.com!g5-v6ni44iti.0!nntp.google.com!g24-v6no18357iti.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Mon, 20 Aug 2018 12:10:23 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=165.255.63.4; posting-account=orbgeAkAAADzWCTlruxuX_Ts4lIq8C5J NNTP-Posting-Host: 165.255.63.4 References: <8e67da71-4f34-497e-9593-d2409c6ba7e0@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <924e2695-87a2-46e3-ad3c-637cc0d6d31f@googlegroups.com> Subject: Re: file descriptor of a serial port From: jan.de.kruyf@gmail.com Injection-Date: Mon, 20 Aug 2018 19:10:23 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Received-Bytes: 2577 X-Received-Body-CRC: 3466402850 Xref: reader02.eternal-september.org comp.lang.ada:54194 Date: 2018-08-20T12:10:23-07:00 List-Id: On Monday, August 20, 2018 at 6:36:31 PM UTC+2, Dmitry A. Kazakov wrote: > On 2018-08-20 16:33, jan......com wrote: > > On Monday, August 20, 2018 at 4:21:20 PM UTC+2, J-P. Rosen wrote: > >> Le 20/08/2018 =C3=A0 15:56, jan.....com a =C3=A9crit : > >>> Hallo, > >>> > >>> I try to set up a custom baudrate on a serial port, which I believe > >>> is done with the C ioctl procedure. > >>> > >> GNAT.Serial_Communications has a Set procedure to set various > >> parameters, including baud rate. No need to play with the low level. > >> > >> --=20 > >> J-P. Rosen > >> Adalog > >> 2 rue du Docteur Lombard, 92441 Issy-les-Moulineaux CEDEX > >> Tel: +33 1 45 29 21 52, Fax: +33 1 45 29 25 00 > >> http://www.adalog.fr > >=20 > > Pity, does not work. >=20 > How do you know it does not? The call goes right to the OS, at least=20 > under Windows. There is little one could do wrong or differently to the= =20 > GNAT implementation. >=20 > Maybe the settings you are using are incorrect or the way you are=20 > reading from the port. >=20 > --=20 > Regards, > Dmitry A. Kazakov > http://www.dmitry-kazakov.de You did not comprehend the bottom line of that post Dmitry! j.