Does POL support the serial port callback? Instead of a tight loop, process the data as it arrives.
----- Original Message ----- From: "Mark Chauvin" <[EMAIL PROTECTED]> To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Wednesday, May 05, 2004 9:17 AM Subject: Custom event loop in POL > I have a program that needs to constantly monitor the > serial port for data. My old version of the program, > written in C w/ PRC-tools, redifined the EventLoop > function, but now that I'm using POL and a derivation > of the CPalmApp object, what's the right way to do > this? Should I have a function that loops > continuously & calls the default event loop if no data > is waiting in the serial buffer, or should I redefine > the CPalmApp event loop, or is there a more elegant > way to do this? > > Thanks > -Mark > > -- > 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/
