🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.comp.programming
Article #32

Re: Controlling the serial TX line using the WinAPI?

#32
From: Maynard Philbrook
Date: Sat, 30 Nov 2002 18:48
22 lines
2116 bytes
nope. write  a kernal Driver for real  time..
you can set the break option to set the TX line state.


Jeroen wrote:

> 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: <3DE90C09.F44A429D@mindspring.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!newsfeed.news2me.com!newsfeed2.earthlink.net!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!tornadotest1.news.pas.earthlink.net.POSTED!not-for-mail
References: <as5f1o$6ul$1@news.surfnet.nl>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f5ca7,dfdbb166eb3f46e8
X-Google-Attributes: gidf5ca7,public
X-Google-Thread: 103bde,dfdbb166eb3f46e8
X-Google-Attributes: gid103bde,public
X-Google-Thread: 10dce5,dfdbb166eb3f46e8
X-Google-Attributes: gid10dce5,public
X-Google-ArrivalTime: 2002-11-30 10:48:50 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!newsfeed.news2me.com!newsfeed2.earthlink.net!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!tornadotest1.news.pas.earthlink.net.POSTED!not-for-mail
Message-ID: <3DE90C09.F44A429D@mindspring.com>
From: Maynard Philbrook <jamie12@mindspring.com>
Reply-To: jamie12@mindspring.com
Organization: PC BIT Software
X-Mailer: Mozilla 4.5 [en]C-CCK-MCD {TLC;RETAIL}  (Win98; U)
X-Accept-Language: en,ja
MIME-Version: 1.0
Newsgroups: alt.comp.programming,borland.public.cpp.winapi,borland.public.cppbuilder.winapi
Subject: Re: Controlling the serial TX line using the WinAPI?
References: <as5f1o$6ul$1@news.surfnet.nl>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 23
Date: Sat, 30 Nov 2002 18:48:49 GMT
NNTP-Posting-Host: 24.151.33.35
X-Complaints-To: abuse@earthlink.net
X-Trace: tornadotest1.news.pas.earthlink.net 1038682129 24.151.33.35 (Sat, 30 Nov 2002 10:48:49 PST)
NNTP-Posting-Date: Sat, 30 Nov 2002 10:48:49 PST