SerialCommunicatorGetDefaultStartReceiveTimeout Method

Calculates the default receive timeout in msec depending on the baud rate. Returns the time in which the reception should start.

Definition

Namespace: OddPrg.Communication.Serial
Assembly: OddPrg.Communication.Serial (in OddPrg.Communication.Serial.dll) Version: 2.0.0.2 (2.0.0.2)
C#
public override int GetDefaultStartReceiveTimeout(
	int dataLength,
	int replyLength
)

Parameters

dataLength  Int32
Number of the bytes to be sent
replyLength  Int32
Number of the bytes to be received

Return Value

Int32

See Also