Click or drag to resize

wclSerialClientSetConfig Method

Writes the new serial port configuration.

Namespace: wclSerialFramework
Assembly: wclSerialFramework (in wclSerialFramework.dll) Version: 8.0.6.0
Syntax
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