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.1 required=5.0 tests=BAYES_00,FREEMAIL_FROM, PP_MIME_FAKE_ASCII_TEXT autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,856bbc914c544442 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-03-20 06:31:47 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!newsfeed.icl.net!newsfeed.fjserv.net!oleane.net!oleane!wanadoo.fr!not-for-mail From: "abdel" Newsgroups: comp.lang.ada Subject: Re: Ada, Com Ports and Modems Date: Thu, 20 Mar 2003 15:31:45 +0100 Organization: Wanadoo, l'internet avec France Telecom Message-ID: References: NNTP-Posting-Host: alagny-106-2-1-11.abo.wanadoo.fr X-Trace: news-reader11.wanadoo.fr 1048170706 20502 80.13.8.11 (20 Mar 2003 14:31:46 GMT) X-Complaints-To: abuse@wanadoo.fr NNTP-Posting-Date: 20 Mar 2003 14:31:46 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Xref: archiver1.google.com comp.lang.ada:35564 Date: 2003-03-20T14:31:46+00:00 List-Id: "Les" a �crit dans le message news: b5c888$na2$1@sparta.btinternet.com... > 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 > > "Les" a �crit dans le message news:... > 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 > Hello I'm French and in the same case. It would be very grateful If you have some documentation or other things about the COM port but for me I have to send and receive information from or to a modem.