Click or drag to resize

wclGattClientConnectionWriteDescriptorValue Method

The method writes the specified descriptor value to the Bluetooth device.

Namespace: wclBluetooth
Assembly: wclBluetoothFramework (in wclBluetoothFramework.dll) Version: 7.17.12.0 (7.17.12.0)
Syntax
public int WriteDescriptorValue(
	wclGattDescriptor Descriptor,
	wclGattProtectionLevel Protection,
	wclGattDescriptorValue Value
)

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.
See Also