try to communicate between pc and external,this maybe help you find out the problem.
make sure the serial setting between palm and the external device is match.
if your external device use the Xon/Xoff handshaking,change it to CTS/RTS.the Xon/Xoff 
is not supported by codewarrior up to now.
try to use  serSettingsFlagRTSAutoM | serSettingsFlagCTSAutoM ,     


----- Original Message ----- 
From: "Dilek ?zg¨¹" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Wednesday, July 24, 2002 11:01 PM
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/
¡�.a¨h¢m§ÿėÁ穲֤zÌ���¢oÛjy,º»ŞË¯{oÅ¢¸§~�æjب��î²)à¶�jY�z÷¥¢�«�î�Ê+¶�§²æėr¸�z�^jǬyèm¶�ÿÃ
)jY¨±Ê&ıׯşË©¦�íıú+ºk?


Reply via email to