Does your external device use any of the control lines? - is this external
device expecting a specific control line protocol or is just a plain old
null modem connection
Is the cable to this external device wired to properly communicate with the
device?
Does your external device work? - is plugged in or are the batteries charged

----- Original Message -----
From: "Dilek Özgü" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Wednesday, July 24, 2002 11:01 AM
Subject: read serial port


>
> Hello
>
> I built an application that uses the serial port at
> 300 baud to communicate with an external device.  This program works fine
> between
> my Palm IIIxe and PC.
> But it doens't work between my Palm IIIxe and external device.
>
> I use this function
>     baud = 300;
>     port=0;
>
>       serSettings.baudRate = baud;
>       serSettings.flags = (serSettingsFlagBitsPerChar7 |
> serSettingsFlagParityOnM |   serSettingsFlagParityEvenM |
> serSettingsFlagStopBits1);
>       serSettings.ctsTimeout = -1;
>
>     SerSetSettings(serialRefNum, &serSettings);
>     ....
>     error = SerOpen(serialRefNum, port, baud);
>     ....
>     serNumBytesRx = SerReceive(serialRefNum, SerUARTBuffer,
serNumBytes, -1,
> &error);
> .......
>
> the Settings is true. because its run between Pc and Palm.
>
> does anyone know of the solution for this problem?
>
> Thanks,
>
> Dilek Özgü
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.371 / Virus Database: 206 - Release Date: 13.06.2002
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.371 / Virus Database: 206 - Release Date: 13.06.2002
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.371 / Virus Database: 206 - Release Date: 13.06.2002
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.371 / Virus Database: 206 - Release Date: 13.06.2002
>
>
>
> --
> 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