TwclRfCommClient.Connect(TwclBluetoothRadio) Method

Starts connecting to a remote Bluetooth device.

Namespace: wclBluetooth
public
 function Connect(const Radio: TwclBluetoothRadio): Integer;

Parameters

Radio
Type: TwclBluetoothRadio

The TwclBluetoothRadio object that handles the connection.

Return Value

Type: Integer

If the function succeed the return value is wclErrors.WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.