I routinely use SrmReceive to get a few characters from the serial buffer
without being forced to receive the whole buffer.  How about posting some
code?

----- Original Message ----- 
From: "Marianne" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Tuesday, August 19, 2003 1:20 AM
Subject: Serial Manager Query


> Hi,
>
> I am using new serial manager ( OS 3.5 and above) . I want to get first 11
> bytes from the the serial and later (after validating 11 bytes) the rest
of
> the bytes from serial.But, at a time I get about 31 bytes on serial port.
I
> am not able to get only 11 bytes first and later the remaining bytes. I
> tried using SrmReceive but in that case it always returns with Timeout
> error.( even if timeout given is very large). I have called SrmReceive
from
> a notification handler. Does this mean that SrmReceive cant be called from
a
> notification handler?Why does this happen? If i use SrmReceiveWindowOpen
> then i get all the bytes in the serial buffer and not just 11. So, I have
to
> then keep track of all the bytes and code is becoming complex.
> Is there any way to get this done?
>
> Thanks in advance
>
> Regards
> Marianne
>
>
> -- 
> 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