TwclGattClient.ConnectOnRead Property

Gets and sets connection mode.

Namespace: wclBluetooth
published
 property ConnectOnRead: Boolean read FConnectOnRead write SetConnectOnRead
 default False;

Property Value

Type: Boolean

The Boolean indicates the connection mode.

If this property set to True the connection to a target device will be executed on first services read or when the OS decided to do that. If the property is False the connection will be executed (if possible) on Connect call.