TwclRfCommClient.Timeout Property

Gets and sets the connect timeout value.

Namespace: wclBluetooth
published
 property Timeout: Cardinal read FTimeout write SetTimeout default 10000;

Property Value

Type: Cardinal

The connect timeout value in milliseconds.

If an application changes the property when client is connected the wclConnectionErrors.wclEClientActive exception raises. If new value of the Timeout is 0 the wclErrors.wclEInvalidArgument exception raises.