wclGattClientConnectionSubscribe Method |
Subscribes for the characteristic changes
notifications.
Namespace: wclBluetoothAssembly: wclBluetoothFramework (in wclBluetoothFramework.dll) Version: 7.17.12.0 (7.17.12.0)
Syntax public int Subscribe(
wclGattCharacteristic Characteristic
)
Public Function Subscribe (
Characteristic As wclGattCharacteristic
) As Integer
public:
int Subscribe(
wclGattCharacteristic Characteristic
)
Parameters
- Characteristic wclGattCharacteristic
- A characteristic object in that changes
an application is interested.
Return Value
Int32 If the function succeed the return value is
WCL_E_SUCCESS. Otherwise the method returns one of
the WCL error codes.
Remarks The method does not change Client Configuration Descriptor
value. Application must do it by itself or by calling
the WriteClientConfiguration method.
See Also