Click or drag to resize

wclGattClientConnect Method

Connects to a remote Bluetooth LE device.

Namespace: wclBluetooth
Assembly: wclBluetoothFramework (in wclBluetoothFramework.dll) Version: 7.17.12.0 (7.17.12.0)
Syntax
public int Connect(
	wclBluetoothRadio Radio
)

Parameters

Radio  wclBluetoothRadio
The wclBluetoothRadio object used to communicate with a remote Bluetooth device.

Return Value

Int32
If the function succeed the return value is WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.
Remarks
The method starts connection to a remote Bluetooth LE device. When connection operation completed the OnConnected event will fire. The operation result will be passed into the OnConnected event.
See Also