Bluetooth Framework
ContentsIndexHome
PreviousUpNext
TwclGattClient.WriteDescriptorValue Method

The method writes the specified descriptor value to the Bluetooth device.

Syntax
Pascal
function WriteDescriptorValue(const Descriptor: TwclGattDescriptor; const Value: TwclGattDescriptorValue; const Protection: TwclGattProtectionLevel = plNone): Integer;
Parameters 
Description 
const Descriptor: TwclGattDescriptor 
A TwclGattDescriptor obtained by previous call to the ReadDescriptors method.  
const Value: TwclGattDescriptorValue 
A descriptor's value.  
const Protection: TwclGattProtectionLevel = plNone 
Describes the required protection level.  

If the function succeed the return value is WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.

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