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,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.58.179.101 with SMTP id df5mr11220269vec.38.1391977788319; Sun, 09 Feb 2014 12:29:48 -0800 (PST) X-Received: by 10.140.95.45 with SMTP id h42mr954qge.22.1391977788269; Sun, 09 Feb 2014 12:29:48 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!newsfeed.fsmpi.rwth-aachen.de!feeder.erje.net!us.feeder.erje.net!news.glorb.com!f11no14133428qae.1!news-out.google.com!y18ni5935qap.1!nntp.google.com!k15no14113188qaq.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sun, 9 Feb 2014 12:29:48 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=206.53.78.59; posting-account=ShYTIAoAAABytvcS76ZrG9GdaV-nXYKy NNTP-Posting-Host: 206.53.78.59 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Hello, and help with GNAT and Windows USB programming From: sbelmont700@gmail.com Injection-Date: Sun, 09 Feb 2014 20:29:48 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Xref: news.eternal-september.org comp.lang.ada:18457 Date: 2014-02-09T12:29:48-08:00 List-Id: Without getting too much into it, no, it's not easier than you are making i= t, and likely much harder. USB is a bus topology, unlike RS-232, so there = are no more point-to-point connections; even if your device is the only one= plugged in. Essentially, you have to 'tag' your data with the ID of the d= evice (et al) and send it to ALL devices, and all the devices except yours = ignore it (similar to Ethernet). You can do it directly through CreateFile= () and IOCTL codes, or by now there are probably high level libraries that = simplify things (it's been awhile for me, as well). Even still, I doubt th= ey would be written in Ada. -sb