A
Aidan
Hello,
We are experiencing a strange problem. We have a thread that transmits and
receives ASCII from a remote device.
The basic flow is before transmitting we call DiscardInBuffer() and
DiscardOutBuffer(), we use the Write() method to send each character in a
buffer. The thread then checks the BytesToRead member and calls the Read()
method until a 'special character is received or a timeout elapses.
This process is repeated very 20 seconds. After a couple of days we get a
timeout whilst receiving...which could be due to the remote
device...granted...the strange thing is that after then calling the
Discard..() members the thread calls the Write() function and never returns
after the first call....an exception is not returned either....
Does anyone know if there are any issues with longterm operation of the
SerialPort class in CF 2.0 ?
Thanks in advance,
Aidan Browne
We are experiencing a strange problem. We have a thread that transmits and
receives ASCII from a remote device.
The basic flow is before transmitting we call DiscardInBuffer() and
DiscardOutBuffer(), we use the Write() method to send each character in a
buffer. The thread then checks the BytesToRead member and calls the Read()
method until a 'special character is received or a timeout elapses.
This process is repeated very 20 seconds. After a couple of days we get a
timeout whilst receiving...which could be due to the remote
device...granted...the strange thing is that after then calling the
Discard..() members the thread calls the Write() function and never returns
after the first call....an exception is not returned either....
Does anyone know if there are any issues with longterm operation of the
SerialPort class in CF 2.0 ?
Thanks in advance,
Aidan Browne