🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.comp.programming
Article #31

Controlling the serial TX line using the WinAPI?

#31
From: Jeroen
Date: Thu, 28 Nov 2002 16:08
16 lines
1883 bytes
Hi there,
is there a possibility to control a serial port's TX line on bitlevel, like
"EscapeCommFunction(hComm,SETRTS)? I need to put the next pattern on the
serial port:

RTS 11111111111111111111000000000000000000011111111111111111111111
 TX 111111111111111111110000000000000000000000000111111111111111111
                                        time---->

Is it possible using the WinAPI?
Of not, how can I do reach my goal?
Because of some excisting hardware, it's not possible to switch to another
serial pin.

Thanks for your help,
Jeroen
Technical Details
Message-ID: <as5f1o$6ul$1@news.surfnet.nl>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-04!supernews.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!kibo.news.demon.net!demon!lnewspeer01.lnd.ops.eu.uu.net!bnewspeer00.bru.ops.eu.uu.net!emea.uu.net!surfnet.nl!news.surfnet.nl!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f5ca7,dfdbb166eb3f46e8,start
X-Google-Attributes: gidf5ca7,public
X-Google-Thread: 103bde,dfdbb166eb3f46e8,start
X-Google-Attributes: gid103bde,public
X-Google-Thread: 10dce5,dfdbb166eb3f46e8,start
X-Google-Attributes: gid10dce5,public
X-Google-ArrivalTime: 2002-11-28 08:08:28 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-04!supernews.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!kibo.news.demon.net!demon!lnewspeer01.lnd.ops.eu.uu.net!bnewspeer00.bru.ops.eu.uu.net!emea.uu.net!surfnet.nl!news.surfnet.nl!not-for-mail
From: "Jeroen" <jeroen@isvet.nl>
Newsgroups: alt.comp.programming,borland.public.cpp.winapi,borland.public.cppbuilder.winapi
Subject: Controlling the serial TX line using the WinAPI?
Date: Thu, 28 Nov 2002 17:08:58 +0100
Organization: SURFnet BV
Lines: 18
Message-ID: <as5f1o$6ul$1@news.surfnet.nl>
NNTP-Posting-Host: tpd221025161.tpd.tno.nl
X-Trace: news.surfnet.nl 1038499704 7125 134.221.25.161 (28 Nov 2002 16:08:24 GMT)
X-Complaints-To: usenet@news.surfnet.nl
NNTP-Posting-Date: Thu, 28 Nov 2002 16:08:24 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106