Article View: borland.public.cppbuilder.nativeapi
Article #10515Re: Serial Communications issue
From: tomdas
Date: Tue, 13 Apr 2004 20:09
Date: Tue, 13 Apr 2004 20:09
24 lines
1681 bytes
1681 bytes
Thank you for the reply Remy, But I want to use the RTS pin as I/O pin to my external hardware, and not use it for hardware flow control. Before transmitting I am clearing the Receive buffer using PurgeCom function. "Remy Lebeau (TeamB)" <gambit47.no.spam@no.spam.yahoo.com> wrote in message news:407c3492$1@newsgroups.borland.com... > > "tomdas" <tomdais@otenet.gr> wrote in message > news:407c11a7@newsgroups.borland.com... > > > After a while I am setting the RTS pin using the: > > You should be setting DTR, otherwise the other party may not know that you > are ready to receive incoming data. > > Also make sure that you are calling PurgeComm() as well so that you are > starting out with fresh buffers and such. > > > Gambit > >
Technical Details
Message-ID:
<407c48e2$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<407c11a7@newsgroups.borland.com> <407c3492$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,a3ab790bb03822fa X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2004-04-13 13:10:11 PST From: "tomdas" <tomdais@otenet.gr> Newsgroups: borland.public.cppbuilder.nativeapi References: <407c11a7@newsgroups.borland.com> <407c3492$1@newsgroups.borland.com> Subject: Re: Serial Communications issue Date: Tue, 13 Apr 2004 23:09:04 +0300 Lines: 26 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 62.103.136.131 Message-ID: <407c48e2$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1081886946 62.103.136.131 (13 Apr 2004 13:09:06 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail