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: g2news2.google.com!news1.google.com!news.glorb.com!feeder.erje.net!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: "Alex Mentis" Newsgroups: comp.lang.ada Subject: Re: GNAT.Serial_Communications Date: Wed, 13 Apr 2011 14:12:25 +0000 (UTC) Organization: A noiseless patient Spider Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 7bit Injection-Date: Wed, 13 Apr 2011 14:12:25 +0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="TfaOIE1E70h9psK9x8LxRg"; logging-data="32602"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18B1bgW3l5VwN4ELqu0Erjkj9PMER5bJ3w=" User-Agent: XanaNews/1.19.1.320 Cancel-Lock: sha1:taIXUJHSqjXzyF5BD5mlDVThrRU= Xref: g2news2.google.com comp.lang.ada:19756 Date: 2011-04-13T14:12:25+00:00 List-Id: tonyg wrote: > I was fishing to see if anyone had used the > serial communications and could confirm it was all working etc or had > a suggestion on why etc. Thanks for your help Brian I've used GNAT.Serial_Communications on Windows and Linux to transmit commands to/receive responses from robots via a USB Bluetooth transceiver. The package worked as expected for me. I certainly didn't have any issues with the package blocking on writes. Where is your program blocking? Is it: a) right after the Ada statement prior to the Write, but before any data is transmitted over the serial port b) mid-transmission (i.e., some of the data is received at the distant end, but not all of it) c) after transmitting all data, but before executing the next Ada statement Alex