Hello all,
        I've been writing an app for the palm which uses serial
communications.  I wrote all the serial comms as a seperate module and
got it working then wrote the actual applications to use it.  The
application was able to use the code for a little while but then I
started to get errors from the SrmReceive function.  I'm using a wakeup
handler to find out when data is available.  The wakeup handler posts a
keydown event then the keydown event uses SrmReceiveCheck to see how
many bytes are available - allocates the right amount of memory and then
reads exactly that amount of data with SrmReceive.  This worked for a
little while but then I noticed it started to give me an error code of
773 (0x305) which is a serErrTimeOut.  I don't know what could be
causing this because the documentation reports that this is in relation
to a ctsTimeout which is a hardware handshaking issue.  I have
handshaking of all forms turned off and the modem doesn't even support
handshaking.  I have changed the timeout value in the SrmReceive
function, but this didn't help much.

If anyone can enlighten me on what I am doing wrong it would be greatly
appreciated

Thankyou

Craig Jeffree
dotWAP.com


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to