BTH_LE_GATT_DESCRIPTOR_VALUE structure

The BTH_LE_GATT_DESCRIPTOR_VALUE structure describes a parent characteristic.

Syntax


typedef struct _BTH_LE_GATT_DESCRIPTOR_VALUE {
  BTH_LE_GATT_DESCRIPTOR_TYPE DescriptorType;
  BTH_LE_UUID                 DescriptorUuid;
  union {
    struct {
      BOOLEAN IsReliableWriteEnabled;
      BOOLEAN IsAuxiliariesWritable;
    } CharacteristicExtendedProperties;
    struct {
      BOOLEAN IsSubscribeToNotification;
      BOOLEAN IsSubscribeToIndication;
    } ClientCharacteristicConfiguration;
    struct {
      BOOLEAN IsBroadcast;
    } ServerCharacteristicConfiguration;
    struct {
      UCHAR       Format;
      UCHAR       Exponent;
      BTH_LE_UUID Unit;
      UCHAR       NameSpace;
      BTH_LE_UUID Description;
    } CharacteristicFormat;
  };
  ULONG                       DataSize;
  UCHAR                       Data[];
} BTH_LE_GATT_DESCRIPTOR_VALUE, *PBTH_LE_GATT_DESCRIPTOR_VALUE;

Members

DescriptorType

The type of the descriptor value.

DescriptorUuid

The Universally Unique ID (UUID) of the descriptor value.

CharacteristicExtendedProperties

Container structure for the different characteristic extended property members.

IsReliableWriteEnabled

The parent characteristic value is reliable write enabled.

IsAuxiliariesWritable

The characteristic user description descriptor is writable.

ClientCharacteristicConfiguration

Container structure for the different client characteristic configuration members.

IsSubscribeToNotification

Whether the characteristic has been registered with the device to receive Handle Value Notifications. TRUE if the characteristic has been registered. Otherwise, FALSE.

IsSubscribeToIndication

Whether the characteristic has been registered with the device to receive Handle Value Indications. TRUE if the characteristic has been registered. Otherwise, FALSE.

ServerCharacteristicConfiguration

Container structure for the different server characteristic configuration members.

IsBroadcast

The parent characteristic value can be broadcast.

CharacteristicFormat

Container structure for the different characteristic format members.

Format

The format of the parent characteristic value.

Exponent

The exponent value to use to determine how the value of the characteristic value is further formatted.

Unit

The unit of the characteristic value as defined in the Assigned Numbers specification.

NameSpace

The name-space where the unit is defined in the Assigned Numbers specification.

Description

The Universally Unique ID (UUID) that describes the format of the parent characteristic value.

DataSize

The size, in bytes, of the descriptor value.

Data[]

A pointer to the descriptor value data.

Requirements

Version

Versions: Supported in Windows 8

Header

BthLEDef.h (include BthLEDef.h)

See also

BTH_LE_GATT_DESCRIPTOR_TYPE
BTH_LE_UUID
BluetoothGATTGetDescriptorValue
BluetoothGATTSetDescriptorValue

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft. All rights reserved.