View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000180 | PicoCOM2 | Serial Driver/Interface | public | 2010-01-12 16:51 | 2010-01-12 17:02 |
Reporter | Assigned To | ||||
Priority | high | Severity | minor | Reproducibility | have not tried |
Status | resolved | Resolution | fixed | ||
Product Version | V1.09 | ||||
Target Version | V1.10 | Fixed in Version | V1.10 | ||
Summary | 0000180: Special timeout case on reading not handled correctly. | ||||
Description | There is a special timeout combination available that is documented in the COMMTIMEOUTS description (http://msdn.microsoft.com/en-us/library/aa363190(VS.85).aspx) => see additional information This timeout was not handled in the COM_Read() function. The problem appeared when using the BaseStream class to read data. | ||||
Additional Information | If an application sets ReadIntervalTimeout and ReadTotalTimeoutMultiplier to MAXDWORD and sets ReadTotalTimeoutConstant to a value greater than zero and less than MAXDWORD, one of the following occurs when the ReadFile function is called: * If there are any bytes in the input buffer, ReadFile returns immediately with the bytes in the buffer. * If there are no bytes in the input buffer, ReadFile waits until a byte arrives and then returns immediately. * If no bytes arrive within the time specified by ReadTotalTimeoutConstant, ReadFile times out. | ||||
Forum Link | |||||
Found Driver Version | V1.5 | ||||
Fixed Driver Version | V1.6 | ||||