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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,cc65ab136f46904d X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!feeder.news-service.com!85.214.198.2.MISMATCH!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: Simon Clubley Newsgroups: comp.lang.ada Subject: Re: GNAT.Serial_Communications Date: Sat, 16 Apr 2011 08:29:54 +0000 (UTC) Organization: A noiseless patient Spider Message-ID: References: <9af0087d-9637-40d9-8c30-2e06c2d1e4f4@o26g2000vby.googlegroups.com> <31dd80b2-3fd3-4078-8774-c396a52c94a0@r6g2000vbz.googlegroups.com> <0d509f1c-4ca7-4595-a026-65c108558d76@bl1g2000vbb.googlegroups.com> Injection-Date: Sat, 16 Apr 2011 08:29:54 +0000 (UTC) Injection-Info: mx03.eternal-september.org; posting-host="4pjzwDT2MPp9AkNxUo/C4Q"; logging-data="13916"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18kvhYwJohTPw4h1xTkuHYBfYMbEuREpys=" User-Agent: slrn/0.9.8.1 (VMS/Multinet) Cancel-Lock: sha1:MnIOHMGl4rXWjxXVh5KYyzf1pZ0= Xref: g2news1.google.com comp.lang.ada:18808 Date: 2011-04-16T08:29:54+00:00 List-Id: On 2011-04-15, tonyg wrote: > > This is making a lot of sense to me. Minicom is working perfectly with > setting the commands on the electronics. However for some reason, the > same commands relayed by the ada program are simply not received. > > There does not seem a way in GNAT.Serial_Communications to disable > hardware and software flow control, I'll have a look at how linux does > it. Have you compared the _full_ output from stty yet when Minicom and your program are running ? As I mention above, there are other possible failure modes and the full output from stty will tell you if flow control is enabled on the port or not. Checking the flow control is just the first thing I would check; it is not the only thing. Read the man page for stty. :-) You may save yourself quite a bit of time if the flow control settings are not the problem. Simon. -- Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP Microsoft: Bringing you 1980s technology to a 21st century world