I definitely do not need control signals as the device the Palm is connected
to only uses TX, RX and Ground.

But no matter what flag settings I use, it doesn't make a difference. I have
to pull up the CTS before the Palm will send anything.

Maybe it's the way I'm setting the flags?
Here is the code..

UInt32 Settings;
UInt16 size = sizeof(UInt32);
err = SrmOpen (serPortCradleRS232Port , 2400, &gSerialRefNum);
Settings = serSettingsFlagBitsPerChar8 |serSettingsFlagStopBits1;
SrmControl (gSerialRefNum, srmCtlSetFlags, &Settings, &size);

It doesn't seem to matter whether I use srmSettingsFlagCTSAutoM or not.  It
won't transmit until I pull the CTS line high.

Thanks,
-Mike





"Dave Lippincott" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Yes, Or the flags.  What baud rate are you using?  The lower the baud, the
> less likely you need to control signals.  Definitely less than 9600,
control
> lines are not required.  It gets dicey around 15Kbaud.  There are several
> good references for general RS232 answers.  I've been working with it for
> some time and still refer books and online resources.  (who can ever
> remember if its DST, RTS than CTS or DTR, RTS then CTS?;-)
> One I've used before:
> http://physinfo.ulb.ac.be/cit_courseware/datacomm/dc_008.htm
>
>
> ----- Original Message ----- 
> From: "Mike" <[EMAIL PROTECTED]>
> Newsgroups: palm-dev-forum
> To: "Palm Developer Forum" <[EMAIL PROTECTED]>
> Sent: Wednesday, October 29, 2003 6:27 PM
> Subject: Re: Serial port frustration
>
>
> > Well I narrowed it down to the T3 waiting for the CTS (which the device
we
> > are connecting to doesn't impliment).  But I cant seem to get it to
ignore
> > the CTS.
> >
> > In the docs it says for srmSettingsFlagCTSAutoM to "Mask for CTS
transmit
> > flow control".  Does that mean I OR it in the flags or not?  I've tried
> with
> > and without it with no change.  If I manually bring the CTS line up
using
> a
> > breakout box, the program works.
> >
> > I might be a little confused on which device is supposed to control the
> CTS
> > and which device controls the RTS.  Is the Palm concidered the DTE or
DCE?
> > The line I bring up is actually marked RTS on the breakout box. And from
> the
> > verbage in the description of srmSettingsFlagFlowControlIn, It would
seem
> > that it is indeed the CTS thats causing the problem.
> >
> > Bottom line is how do i get the Palm to ignore the RTS/CTS alltogether?
> > Thanks,
> > Mike
> >
> >
> >
> > "Dave Lippincott" <[EMAIL PROTECTED]> wrote in message
> > news:[EMAIL PROTECTED]
> > > I use the serial port quite often on devices from OS 2.0 up through
5.0
> > > including the Clie.  Few problems to speak of.  Got other details that
> > might
> > > help narrow down the issues?
> > >
> > > > > Why does the device beep when you plug in the serial cable?  I'm
> > > thinking
> > > > > whatever is doing that is possibly related.
> > > Devices with the 'universal' connector have a pin used by the device
to
> > > detect insertion of cables, cradles and peripherals.  The beep is the
OS
> > > detecting the insertion.  Hasn't affected our ability to communicate
> > except
> > > when the resistors used to set this port are wrong.
> > >
> > > ----- Original Message ----- 
> > > From: "Mike" <[EMAIL PROTECTED]>
> > > Newsgroups: palm-dev-forum
> > > To: "Palm Developer Forum" <[EMAIL PROTECTED]>
> > > Sent: Wednesday, October 29, 2003 3:31 PM
> > > Subject: Re: Serial port frustration
> > >
> > >
> > > > Let me add that there are no errors reported when I open the com
port.
> > > >
> > > > -Mike
> > > >
> > > >
> > > > "Mike" <[EMAIL PROTECTED]> wrote in message
> > > > news:[EMAIL PROTECTED]
> > > > > I don't understand why this has to be so hard.
> > > > > My program uses the serial port.  It works fine with OS < 5.0,
with
> > the
> > > > > couple of exceptions like the Clie's that have the non-standard
baud
> > > rate
> > > > > bug.
> > > > >
> > > > > In OS 5, testing on a T3, Using the new serial manager.  I've
tried
> > > > opening
> > > > > the port with all different port constance (like
> > serPortCradleRS232Port,
> > > > > etc) .  It never transmits anything and it frequently,
intermittenly
> > > locks
> > > > > up the OS (but ques the pen inputs) so the program runs really
slow,
> > > until
> > > > I
> > > > > disconnect the Hotsync cable from the Palm.  Disconnecting the
> hotsync
> > > > cable
> > > > > from the device it's connected to makes no difference once it gets
> > into
> > > > this
> > > > > slow mode.  I cannot seem to narrow down why it locks up sometimes
> and
> > > not
> > > > > others.  My guess is (and these symptoms are similar) that there
is
> > > > > something sitting on the com port, much like the Handspring
keyboard
> > > > driver
> > > > > that I have to disable before using the com port on Handspring
> > devices.
> > > > Can
> > > > > anyone shed some light??
> > > > >
> > > > > Why does the device beep when you plug in the serial cable?  I'm
> > > thinking
> > > > > whatever is doing that is possibly related.
> > > > >
> > > > > TIA,
> > > > > Mike
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > > >
> > > > -- 
> > > > For information on using the Palm Developer Forums, or to
unsubscribe,
> > > please see http://www.palmos.com/dev/support/forums/
> > > >
> > >
> > >
> >
> >
> >
> > -- 
> > For information on using the Palm Developer Forums, or to unsubscribe,
> please see http://www.palmos.com/dev/support/forums/
> >
>
>



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

Reply via email to