Serial Framework
ContentsIndexHome
PreviousUpNext
CwclSerialClient::SetConfig Method

Sets the new serial port configuration.

Syntax
C++
int SetConfig(wclSerialConfig Config);
Parameters 
Description 
wclSerialConfig Config 
The new serial port configuration.  

If the function succeed the return value is WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.

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

Copyright (c) 2006-2018. All rights reserved.