TwclGattClientConnection.Unsubscribe(TwclGattCharacteristic) Method

Unsubscribes from the characteristic changes notifications.

Namespace: wclBluetooth
public
 function Unsubscribe(const Characteristic: TwclGattCharacteristic): Integer;

Parameters

Characteristic
Type: TwclGattCharacteristic

A characteristic object in that changes an application is not interested any more.

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.

The method does not change Client Configuration Descriptor value. Application must do it by itself or by calling the WriteClientConfiguration method.