On 12-Jul-2000 Patrick Ouellet wrote:

> I mean I must listen on the serial for a delay of 25 millisecond between
> 2 signal, this tell me that Im on the beginning to the message.
> After the 25ms I should be syncronised, so now I can send break signal
> to the device to override it's own signal...

The API can be used to send a break signal.  SerControl()

> So... I must be able to send a bit on the serial so that the device know
> that it's signal ( on the bus.. the drawing is the bus signal ) has changed
> so that it (device) change a state of a bit in ist registry....

Sending a break signal or a data character would use the TXD line, which I
presume could be the signal you need to send.  No other signals are
changeable via the API; i.e. DTR or RTS.  DTR only changes when you
open/close the serial port, and RTS will change only under OS control for
handshaking.

You may change the RTS state by directly accessing the CPU ports.  This has
many disadvantages since much of the hardware is different, and changing all
the time.  And excellent things such as auxilliary serial ports are popping
up and it would not work with them.  That being said, it is fairly straight
forward and in some cases cannot be done any other way; such as my Sparkler
program which controls a CM17A.

http://rallypilot.sourceforge.net

> The meaning of all this is to use the Palm to control a
> numpad we designed using serial port, but without UART or parity...
> This is no usual serial communication....

Sounds like a neat device.  My concern is that since you are not using a UART
you may use non-standard baud rates and timings.  I urge you to please keep
it compatible with normal serial communications.  The Palm devices are not
the only devices which use Palm peripherals.  In fact, I am currently working
on an adapter for the RIM Blackberry to let it use Palm peripherals; i.e.
keyboards.

http://rallypilot.sourceforge.net/bb/index.html



/* Chris Faherty <[EMAIL PROTECTED]>                 */
/* Your Stock has crashed - you must now restart your system */


-- 
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