TwclGattClientConnection.HalWriteDescriptorValue(TwclGattDescriptor,TwclGattProtectionLevel,TwclGattDescriptorValue) Method
Implements a hardware-dependent code to write the specified descriptor value to the Bluetooth device.
protected function HalWriteDescriptorValue(const Descriptor: TwclGattDescriptor; const Protection: TwclGattProtectionLevel; const Value: TwclGattDescriptorValue): Integer; virtual; abstract;
Parameters
- Descriptor
- Type: TwclGattDescriptor
A TwclGattDescriptor obtained by previous call to the
ReadDescriptors
method. - Protection
- Type: TwclGattProtectionLevel
Describes the required protection level.
- Value
- Type: TwclGattDescriptorValue
A descriptor's value.
Return Value
Type: Integer
If the function succeed the return value is wclErrors.WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.
A derived class must override this method.