wclGattClientConnectionHalWriteDescriptorValue Method |
Implements a hardware-dependent code to write the specified
descriptor value to the Bluetooth device.
Namespace: wclBluetoothAssembly: wclBluetoothFramework (in wclBluetoothFramework.dll) Version: 7.17.12.0 (7.17.12.0)
Syntax protected abstract int HalWriteDescriptorValue(
wclGattDescriptor Descriptor,
wclGattProtectionLevel Protection,
wclGattDescriptorValue Value
)
Protected MustOverride Function HalWriteDescriptorValue (
Descriptor As wclGattDescriptor,
Protection As wclGattProtectionLevel,
Value As wclGattDescriptorValue
) As Integer
protected:
virtual int HalWriteDescriptorValue(
wclGattDescriptor Descriptor,
wclGattProtectionLevel Protection,
wclGattDescriptorValue Value
) abstract
Parameters
- Descriptor wclGattDescriptor
- A wclGattDescriptor obtained
by previous call to the ReadDescriptors method.
- Protection wclGattProtectionLevel
- Describes the required protection
level.
- Value wclGattDescriptorValue
- A descriptor's value.
Return Value
Int32 If the function succeed the return value is
WCL_E_SUCCESS. Otherwise the method returns one of
the WCL error codes.
Remarks A derived class must override this method.
See Also