Bluetooth Framework C++ Edition

◆ Subscribe()

int Subscribe ( const wclGattCharacteristic Characteristic)

Subscribes for the characteristic changes notifications.

Parameters
CharacteristicA characteristic object in that changes an application is interested.
Returns
If the function succeed the return value is 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.

See also
wclGattCharacteristic