Bluetooth Framework C++ Edition

◆ HalWriteDescriptorValue()

virtual int HalWriteDescriptorValue ( const wclGattDescriptor Descriptor,
const wclGattProtectionLevel  Protection,
const wclGattDescriptorValue Value 
)
protectedpure virtual

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

Parameters
DescriptorA wclGattDescriptor obtained by previous call to the ReadDescriptors method.
ProtectionDescribes the required protection level.
ValueA descriptor's value.
Returns
If the function succeed the return value is WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.

A derived class must override this method.

See also
wclGattDescriptor, wclGattProtectionLevel, wclGattDescriptorValue