View Issue Details

IDProjectCategoryView StatusLast Update
0000180PicoCOM2Serial Driver/Interfacepublic2010-01-12 17:02
ReporterKiepferAssigned To 
PriorityhighSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
Product VersionV1.09 
Target VersionV1.10Fixed in VersionV1.10 
Summary0000180: Special timeout case on reading not handled correctly.
DescriptionThere 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 InformationIf 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 VersionV1.5
Fixed Driver VersionV1.6

Activities

There are no notes attached to this issue.