I am using a Visor HandSpring with Palm OS 3.1H3
I have written a Serial application for my Palm that communicates via the
serial cradle to another application on my PC. I am opening the serial port
when I start my app and closing is when I finish. I have verified this by
stepping through the code in the emulator. I am also using serial wake up
handler to nofify me when I recieve data. Everything works fine except for
one strange bug. If I do the following:
Run my application.
Close my application
Take the HandSpring out of the cradle.
Put the HandSpring back in the cradle.
Then run my application again and....
I get the serrErrAlreadyOpen error when I know the port was closed before.
If I continue past this error my application freezes up and I have to reset.
I have tried many other ways to reproduce this bug with out taking the
HandSpring out of the cradle but I cannot get it to occur. I am pretty sure
I am doing most everything correct: priming the wake up handler, flushing
the port when I open it each time, etc.
Thanks in advance for any help (I might even send you a twinkie/or cupcake
as a reward)
Branto
Brandt Haagensen
Intel Corp.
Beaverton, Oregon
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/