ISerialPortChangeBaudrate Method

Stores current value of baudrate for future check. Descendant communicator can implement change of serial port baudrate for its channel.

Definition

Namespace: OddPrg.Communication
Assembly: OddPrg.Communication (in OddPrg.Communication.dll) Version: 2.0.0.2 (2.0.0.2)
C#
bool ChangeBaudrate(
	int baudrate,
	CancellationToken cancelToken
)

Parameters

baudrate  Int32
New value of baudrate.
cancelToken  CancellationToken

Return Value

Boolean
Returns true if baudrate was changed, otherwise false.

See Also