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,b321573c2e5269d2 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!goblin1!goblin.stu.neva.ru!news.tornevall.net!news.jacob-sparre.dk!pnx.dk!jacob-sparre.dk!ada-dk.org!.POSTED!not-for-mail From: Kim Rostgaard Christensen Newsgroups: comp.lang.ada Subject: Re: Asynchronous I/O on a serial device Date: Tue, 14 Jun 2011 08:37:30 +0200 Organization: Jacob Sparre Andersen Research & Innovation Message-ID: References: NNTP-Posting-Host: 2506ds1-so.0.fullrate.dk Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: munin.nbi.dk 1308033451 18521 90.184.227.68 (14 Jun 2011 06:37:31 GMT) X-Complaints-To: news@jacob-sparre.dk NNTP-Posting-Date: Tue, 14 Jun 2011 06:37:31 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.15) Gecko/20110402 Icedove/3.1.9 In-Reply-To: Xref: g2news2.google.com comp.lang.ada:20782 Date: 2011-06-14T08:37:30+02:00 List-Id: On 2011-06-12 23:01, anon@att.net wrote: > To connect to the UART device directly you should use to use the > Gnat.Sockets.* or AdaSockets packages. > > Or you could use PolyORB packages which contains a number of serial > I/O packages. Like: GNAT.Serial_Communications; The GNAT.Serial_Communications is just what I needed, although It gives some extra conversion overhead. Can anyone give an example on how to use Gnat.Sockets/AdaSockets for accessing a UART device? I have only used it for IPv4 networking and Bluetooth. Best Kim