>Hello, can anyone supply me with source for a simple Palm OS terminal
>emulation program, or perhaps point me to where I could find such a thing?
>What I am trying to accomplish is setting up an RS-232 receive handler and a
>buffer which will operate non-blocking, i.e. I can perform other tasks while
>data is being received.

For non-blocking reads, just ask the serial manager how many bytes are in
the buffer, and only read that many bytes. Have your IO done once every
pass in the event loop (for example) for a simple time-sharing scheme. You
can even encapsulate your IO schema in a FSM and make a little chore that
you call each pass, ie "gCommChore->Perform()"

There have been other discussions in this (and the comm forum) on how to do
fancier i/o using some previously "reserved for system" calls.

Brian
_____________________________________________________________________
Mark/Space Softworks                               voice 408-293-7299
111 West Saint John, 3rd Floor                       fax 408-293-7298
San Jose, CA 95113                         <http://www.markspace.com>

        PalmOS, Mac OS, Windows and Web Software & Solutions:

         PageNOW! Wireless Messaging, PhoneWatcher Caller ID,
                   Fax Send and Receive for PalmOS
     Online & Communicate terminal emulation and serial debugging
          DataCord serial data cables for Handheld Devices


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/

Reply via email to