Dela via


GattCharacteristicProperties Enum

Definition

Specifies the values for the GATT characteristic properties as well as the GATT Extended Characteristic Properties Descriptor.

Provides a collection of flags representing the GATT Characteristic Properties and if the GATT Extended Properties Descriptor is present the GATT Extended Characteristic properties of the characteristic.

Represents the GATT characteristic properties, as defined by the GATT profile, and if the ExtendedProperties flag is present it also represents the properties of the Extended Characteristic Properties Descriptor.

This enumeration supports a bitwise combination of its member values.

public enum class GattCharacteristicProperties
/// [System.Flags]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class GattCharacteristicProperties
[System.Flags]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum GattCharacteristicProperties
var value = Windows.Devices.Bluetooth.GenericAttributeProfile.GattCharacteristicProperties.none
Public Enum GattCharacteristicProperties
Inheritance
GattCharacteristicProperties
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)
App capabilities
bluetooth

Fields

Name Value Description
None 0

The characteristic doesn’t have any properties that apply.

Broadcast 1

The characteristic supports broadcasting

Read 2

The characteristic is readable

WriteWithoutResponse 4

The characteristic supports Write Without Response

Write 8

The characteristic is writable

Notify 16

The characteristic is notifiable

Indicate 32

The characteristic is indicatable

AuthenticatedSignedWrites 64

The characteristic supports signed writes

ExtendedProperties 128

The ExtendedProperties Descriptor is present

ReliableWrites 256

The characteristic supports reliable writes

WritableAuxiliaries 512

The characteristic has writable auxiliaries

Applies to