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,XPRIO autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,856bbc914c544442,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-03-20 03:22:01 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeed.berkeley.edu!ucberkeley!btnet-peer1!btnet-peer0!btnet-feed5!btnet!news.btopenworld.com!not-for-mail From: "Les" Newsgroups: comp.lang.ada Subject: Ada, Com Ports and Modems Date: Thu, 20 Mar 2003 11:21:45 +0000 (UTC) Organization: BT Openworld Message-ID: NNTP-Posting-Host: host213-122-191-205.in-addr.btopenworld.com X-Trace: sparta.btinternet.com 1048159305 23874 213.122.191.205 (20 Mar 2003 11:21:45 GMT) X-Complaints-To: news-complaints@lists.btinternet.com NNTP-Posting-Date: Thu, 20 Mar 2003 11:21:45 +0000 (UTC) X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MSMail-Priority: Normal X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Xref: archiver1.google.com comp.lang.ada:35559 Date: 2003-03-20T11:21:45+00:00 List-Id: Hi all, I am a final year student studying at the University of Portsmouth. I am trying to get Ada to communicate to my modem with query AT or ATI and get a response OK back.. I have tried direct_IO and sequential_IO but to no luck. I have had a look at Stephe's COM port stuff (http://users.erols.com/leakstan/Stephe/) and it looked like it will be harder to do than I first thought. Do I need to go though modem drivers or can I just send the AT command to the COM port (witch the modem is on) and get the response back. I'm not a great programmer (more of a business student) so any help, example code would be very grateful, and if you can keep it relatively simple I'd really appreciate it. Thanks in advance Les