Serial Framework C++ Edition

◆ SetConfig()

int SetConfig ( const wclSerialConfig Config) const

Sets the new serial port configuration.

Parameters
ConfigThe new serial port configuration.
Returns
If the function succeed the return value is WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.

It is recommended to read current configuration first by calling the GetConfig method.

See also
wclSerialConfig