Hi Gilles,
to control the RTS I do the following:
#define setRTS srmDefaultSettings
#define clearRTS (srmSettingsFlagRTSInactive |
srmSettingsFlagBitsPerChar8 |srmSettingsFlagStopBits1)
setflags = setRTS;
err = SrmControl(refNum, srmCtlSetFlags, &setflags,
&sizeF);
and
setflags = clearRTS;
err = SrmControl(refNum, srmCtlSetFlags, &setflags,
&sizeF);
Regards,
Marcelo
--- Gilles Petit <[EMAIL PROTECTED]> wrote:
> Hi all,
> I got a very simple question about Palm m505. It
> seems that the craddle port
> got RxD and TxD but also CTS, RTS and DTR. So my
> question is do someone
> knows how I can set one of those last pin to "1" or
> "0" state? (I use
> CodeWarrior for Palm Os 7.0)
> Thanks
> Gilles
>
>
> --
> For information on using the Palm Developer Forums,
> or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/