Bluetooth Framework
ContentsIndexHome
PreviousUpNext
TwclGattClientConnection.HalReadDescriptorValue Method

Implements a hardware-dependent code for reading the value of the specified descriptor.

Syntax
Pascal
function HalReadDescriptorValue(const Descriptor: TwclGattDescriptor; const Flag: TwclGattOperationFlag; const Protection: TwclGattProtectionLevel; out Value: TwclGattDescriptorValue): Integer; virtual; abstract;
Parameters 
Description 
const Descriptor: TwclGattDescriptor 
A TwclGattDescriptor obtained by previous call to the ReadDescriptors method.  
const Flag: TwclGattOperationFlag 
Operation behaviour flag.  
const Protection: TwclGattProtectionLevel 
Describes the required protection level.  
out 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.