serialport break state

Hi,

Does anyone know how to get out of the SerialPort Break state When we try:

SerialPort port = new SerialPort();

port.BreakState = false;

it throws an exception.



Answer this question

serialport break state

  • yem

    From MSDN (for System.IO.Ports.SerialPort BreakState Property):

    ignore links..

    Exception type Condition

    IOException

    The port is in an invalid state.

    - or -

    An attempt to set the state of the underlying port failed. For example, the parameters passed from this SerialPort object were invalid.

    InvalidOperationException

    The stream is closed. This can occur because the Open method has not been called or the Close method has been called.




  • serialport break state