Unsubscribes from the characteristic changes notifications and writes the client configuration descriptor to the device.
- Parameters
-
Characteristic | A characteristic object in that changes an application is interested. |
Flag | Operation behavior flag. |
Protection | Describes the required protection level. |
SubscribeKind | Indicates a characteristic value change notification method that should be used. If a characteristic has both IsIndicatable and IsNotifiable properties set then this parameter allows to control which notification method should be used. |
- Returns
- If the function succeed the return value is WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.
You can use this method to replace calls to the Unsubscribe
and to the WriteClientConfiguration
methods.
- See also
- wclGattCharacteristic, wclGattOperationFlag, wclGattProtectionLevel, wclGattSubscribeKind