 | wclSerialClientSetConfig Method |
Writes the new serial port configuration.
Namespace: wclSerialFrameworkAssembly: wclSerialFramework (in wclSerialFramework.dll) Version: 8.0.6.0
Syntaxpublic int SetConfig(
wclSerialConfig Config
)
Public Function SetConfig (
Config As wclSerialConfig
) As Integer
public:
int SetConfig(
wclSerialConfig Config
)
Parameters
- Config wclSerialConfig
-
The new serial port configuration.
Return Value
Int32
If the method completed with success the return value is
WCL_E_SUCCESS. Otherwise the method returns one of the
WCL error codes.
Remarks
It is recommended to read current configuration before changing it by
calling the GetConfig method.
See Also