ISerialPortChangeDataBits Method

Stores current value of data bits for future check. Descendant communicator can implement change of serial port data bits 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 ChangeDataBits(
	int dataBits,
	CancellationToken cancelToken
)

Parameters

dataBits  Int32
New value of data bits.
cancelToken  CancellationToken

Return Value

Boolean
Returns true if data bits was changed, otherwise false.

See Also