Logo Search packages:      
Sourcecode: libserial version File versions  Download package

void SerialPort::SetCharSize ( const CharacterSize  charSize  )  throw ( NotOpen, std::invalid_argument )

Set the character size for the serial port.

Exceptions:
NotOpen Thrown if this method is called while the serial port is not open.
std::invalid_argument Thrown if an invalid character size is specified.

Definition at line 323 of file SerialPort.cpp.

{
    mSerialPortImpl->SetCharSize(charSize) ;
}


Generated by  Doxygen 1.6.0   Back to index