On 22-Jul-99 Chris Faherty wrote:
> So we really only have the RTS and TXD signals to work with. If you look at
> the CM17A protocol you can see that you need two lines to power and control
> the unit. It doesn't mention how much current or what voltage levels are
> acceptable, so it may even work with lower levels.
>
> http://www.x10.com/manuals/cm17a_proto.txt
I think I can use SerControl() to send an arbitrary break (all zeroes) on the
TXD line, and that should suffice for one of the CM17A lines. As far as
manipulating the RTS line, I think this may also be possible by playing
around with some API.
The docs say that SerSetSettings() with no serSettingsFlagRTSAutoM will cause
RTS to be permanently asserted. It also mentions that if this flag is set,
the OS will automatically lower RTS when a receive threshold has been
triggered.
What I want to know, is there a way to trick the OS into thinking it's
receive buffer is full? Perhaps calling SerSetReceiveBuffer() with a buffer
size smaller than the receive threshold for a particular baud rate would do
it..
/* Chris Faherty <[EMAIL PROTECTED]>, finger for PGP */