Hello,

seems like we have same problem.
You can see it in comm-dev-forum (receiving from serial port)

I already tried with SrmReceiveWindowOpen, (see the answer of Neil Rhodes)
but it doesn't
work in my case.

Maybe it works for you.

Christian Traber


"Craig Allan Jeffree" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
>
> Hello all,
>         I'm writing some code for a Palm Vx running OS v3.5 which is
> communicating over the serial port.  I am having troubles with the
> incoming data notification.  I am initialising a wakeup handler with
> SrmSetWakeupHandler and then using SrmPrimeWakeupHandler to prime the
> wakeup handler for 1 byte of data.  This should mean that the wakeup
> handler function gets called whenever there is 1 or more bytes of data
> available on the serial port.  In the wakeup handler I use SrmReceive to
> try and get data, also SrmReceiveCheck can be used to see how many bytes
> are available.  The problem is that the check reports 0 bytes available
> and if I try to get the data anyway it returns a timeout error.   But I
> know that there is data on the port - The modem I am communicating with
> definately has sent data to the palm.
>
>         I don't understand why I get this notification that data is
> ready but then get told that no data is ready on the port!!!!!!!!!
>
>
> Thanks in advance
>
> Craig Jeffree
>
>
>





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

Reply via email to