SerialCommunicatorGetDefaultStartReceiveTimeout Method
Calculates the default receive timeout in msec depending on the baud rate.
Returns the time in which the reception should start.
Namespace: OddPrg.Communication.SerialAssembly: OddPrg.Communication.Serial (in OddPrg.Communication.Serial.dll) Version: 2.0.0.2 (2.0.0.2)
public override int GetDefaultStartReceiveTimeout(
int dataLength,
int replyLength
)
- dataLength Int32
- Number of the bytes to be sent
- replyLength Int32
- Number of the bytes to be received
Int32