Bluetooth Framework
ContentsIndexHome
PreviousUpNext
CwclGattClientConnection::Subscribe Method

Subscribes for the characteristic changes notifications.

Syntax
C++
int Subscribe(wclGattCharacteristic Characteristic);
Parameters 
Description 
wclGattCharacteristic Characteristic 
A characteristic object in that changes an application is interested.  

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.

Copyright (c) 2006-2019. All rights reserved.