TwclBluetoothRadio.RemoteDisconnect(Int64) Method

Forces a remote device disconnection.

Namespace: wclBluetooth
public
 function RemoteDisconnect(const Address: Int64): Integer;

Parameters

Address
Type: Int64

The remote Bluetooth device's MAC address.

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.

This method can be used to disconnect a remote Bluetooth enabled device with the given MAC address. It can disconnect any Bluetooth enabled device even a connection was made by the system and outside Bluetooth Framework.