Bluetooth Framework
ContentsIndexHome
PreviousUpNext
TwclGattClientConnection.HalWriteDescriptorValue Method

Implements a hardware-dependent code to write the specified descriptor value to the Bluetooth device.

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

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

A derived class muts override this method.

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