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