GattDescriptor GattDescriptor GattDescriptor GattDescriptor GattDescriptor Class


Represents a Descriptor of a GATT Characteristic. The GattDescriptor object represents a GATT Descriptor of a particular characteristic, and is obtained from the Descriptors property of the GattCharacteristic object.

public : sealed class GattDescriptor
struct winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattDescriptor
public sealed class GattDescriptor
Public NotInheritable Class GattDescriptor
// This class does not provide a public constructor.

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)


Version history

Windows version SDK version Value added
1703 15063 WriteValueWithResultAsync


AttributeHandle AttributeHandle AttributeHandle AttributeHandle AttributeHandle

Gets the GATT Attribute handle used to uniquely identify this attribute on the GATT Server Device.

ProtectionLevel ProtectionLevel ProtectionLevel ProtectionLevel ProtectionLevel

Gets or sets the desired GATT security options for over the air communication with the device.

Windows will negotiate the maximum security possible with the device as part of the pairing process, and specifying a lower level of security won’t degrade the existing security level.

Uuid Uuid Uuid Uuid Uuid

Gets the GATT Descriptor UUID for this GattDescriptor.


ConvertShortIdToUuid(UInt16) ConvertShortIdToUuid(UInt16) ConvertShortIdToUuid(UInt16) ConvertShortIdToUuid(UInt16) ConvertShortIdToUuid(UInt16)

Converts a Bluetooth SIG defined short Id to a full GATT UUID.

ReadValueAsync() ReadValueAsync() ReadValueAsync() ReadValueAsync() ReadValueAsync()

Performs a Descriptor Value read from a value cache maintained by Windows.

ReadValueAsync(BluetoothCacheMode) ReadValueAsync(BluetoothCacheMode) ReadValueAsync(BluetoothCacheMode) ReadValueAsync(BluetoothCacheMode) ReadValueAsync(BluetoothCacheMode)

Performs a Descriptor Value read either from the value cache maintained by Windows, or directly from the device.

WriteValueAsync(IBuffer) WriteValueAsync(IBuffer) WriteValueAsync(IBuffer) WriteValueAsync(IBuffer) WriteValueAsync(IBuffer)

Performs a Descriptor Value write to a Bluetooth LE device.

WriteValueWithResultAsync(IBuffer) WriteValueWithResultAsync(IBuffer) WriteValueWithResultAsync(IBuffer) WriteValueWithResultAsync(IBuffer) WriteValueWithResultAsync(IBuffer)

Performs a Descriptor Value write to a Bluetooth LE device.