ISerialPortChangeDataBits Method
Stores current value of data bits for future check. Descendant communicator can implement change of serial port data bits for its channel.
Namespace: OddPrg.CommunicationAssembly: OddPrg.Communication (in OddPrg.Communication.dll) Version: 2.0.0.2 (2.0.0.2)
bool ChangeDataBits(
int dataBits,
CancellationToken cancelToken
)
- dataBits Int32
- New value of data bits.
- cancelToken CancellationToken
BooleanReturns true if data bits was changed, otherwise false.