ISerialPortChangeStopBits Method
Stores current value of stop bits for future check. Descendant communicator can implement change of serial port stop bits for its channel.
Namespace: OddPrg.CommunicationAssembly: OddPrg.Communication (in OddPrg.Communication.dll) Version: 2.0.0.2 (2.0.0.2)
bool ChangeStopBits(
string stopBits,
CancellationToken cancelToken
)
- stopBits String
- New value of stopbits. It can be one of the values None, One, Two, OnePointFive
- cancelToken CancellationToken
BooleanReturns true if stop bits was changed, otherwise false.