Try flushing the receive buffer to clear any data in the port buffer.  Read
the serial manager chapter in the OS reference for details.

----- Original Message -----
From: "Rangababu, TNV (IndSys)" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Monday, December 16, 2002 6:14 AM
Subject: Need a help on serErrLineErr.


> Hi Palm Developers,
>
> I am having a problem with serErrLineErr error.
> Can any one help me, even if we get serErrLineErr can we clear the
> data in the serial port?
>
> Background:
>
> In my application, I am continuously getting data from a device
> (each byte @rate of 2ms) through serial port. I have to display some
> portions of data into the User Interface List control. By the time of
> picking data, its throwing serErrLineErr, so I called SrmClearErr method
to
> clear the error. After certain time, device stops throwing the data to
> serial port. In that time, it is still throwing the already existing data
in
> the serial port. If I can clear complete data in the serial port around
the
> same time, then my problem is solved. Please help me over this issue.
>
> Thanks in advance,
> Rangababu TNV.
>
>
> "THIS E-MAIL MESSAGE ALONG WITH ANY ATTACHMENTS IS INTENDED ONLY FOR THE
> ADDRESSEE and may contain confidential and privileged information.
> If the reader of this message is not the intended recipient,
> you are notified that any dissemination, distribution or copy of this
> communication is strictly Prohibited.
> If you have received this message by error, please notify us
> immediately, return the original mail to the sender and delete the
> message from your system."
>
>
> --
> 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