X-Mailer: Internet Mail Service (5.5.2650.21)
Content-type: text/plain
Content-transfer-encoding: 7BIT
I ran into this problem myself with a serial IO app I created. When you do
a serReceiveWait and you have an error perform a serGetStatus( ) that will
tell you what the serial line error is.
you can use the following code to check what type of error it is and then
print out what the error is.
The code will tell you what the problem is however the only way around it I
found was to use SerClearErr( ) when ever there was a line error.
Hope this helps
Err err = SerGetStatus(fSerLibRefNum, NULL, NULL) ;
switch(err)
{
case serLineErrorParity:
break;
case serLineErrorHWOverrun:
break;
case serLineErrorFraming:
break;
case serLineErrorBreak:
break;
case serLineErrorHShake:
break;
case serLineErrorSWOverrun:
break;
}
> -----Original Message-----
> From: Jacky Cheung [SMTP:[EMAIL PROTECTED]]
> Sent: Sunday, January 21, 2001 4:55 PM
> To: Palm Developer Forum
> Subject: SerErrLineErr
>
> When will cause the SerErrLineErr when doing SerReceiveWait? I don't get
> this error in the palm emulator (0S3.0 ROM) but it keep giving me this
> error
> in the real palm.
> Please help, I am really stuck.
>
> Thanks.
>
> Jacky
>
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
> please see http://www.palmos.com/dev/tech/support/forums/
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/