"matt" <[EMAIL PROTECTED]> wrote in message news:26936@palm-dev-forum...
>
> Hello!
>
> I've written an app that communicates via the serial port to a piece of
> hardware. I now need to expand this software for a piece of hardware that
> needs a clock as well as the transmit/receive lines. It appears that the
> Palm serial API only offers one user definable transmit line, is there any
> other way of toggling one of the other serial pins?
>
> An immediate solution would be to use the ir port as well, however this is
> extremely messy and would involve extra hardware being constructed.

The IR port is hooked up to the same serial hardware as the serial port, so
you can't have both active at the same time, derailing your immediate
solution.

The new serial manager in PalmOS 3.3 and later has calls that let you
directly control the RTS signal -- look at the constants sdrvOpCodeEnableRTS
and sdrvOpCodeDisableRTS which interface with the SdrvControl call.  This is
down at the serial driver level, so I'm not sure if user code can call
these.  You might be able to setup a virtual driver for your serial
hardware, then expose it through the new serial manager interface.



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to