Windows.Devices.Bluetooth.GenericAttributeProfile namespace

Applies to Windows and Windows Phone

The Windows.Devices.Bluetooth.GenericAttributeProfile namespace defines Windows Runtime classes that a Windows Store apps and desktop applications can use to communicate with Bluetooth LE devices. For more information, see Supporting Bluetooth Devices.

To learn more about how to use Windows.Devices.Bluetooth.GenericAttributeProfile, see the Bluetooth Generic Attribute Profile - Heart Rate Service sample.

Members

The Windows.Devices.Bluetooth.GenericAttributeProfile namespace has these types of members:

Classes

The Windows.Devices.Bluetooth.GenericAttributeProfile namespace has these classes.

ClassDescription
GattCharacteristic Represents a Characteristic of a GATT service.
GattCharacteristicUuids Represents an enumeration of the most well known Characteristic UUID values, and provides convenience methods for working with GATT characteristic UUIDs, and static properties providing characteristic UUIDs for common GATT characteristics.
GattDescriptor Represents a Descriptor of a GATT Characteristic.
GattDescriptorUuids Represents an enumeration of the most well known Descriptor UUID values, and provides convenience methods for working with GATT descriptor UUIDs, and static properties providing descriptor UUIDs for common GATT descriptors.
GattDeviceService Represents a GATT Primary Service on a Bluetooth device.
GattPresentationFormat Represents the value of a single Presentation Format GATT Descriptor.
GattPresentationFormatTypes Represents the different well-known values that the GattPresentationFormat.FormatType property can take.
GattReadClientCharacteristicConfigurationDescriptorResult Represents the result of reading a GATT Client CharacteristicConfigurationClientDescriptor value.
GattReadResult Represents the result of an asynchronous read operation of a GATT Characteristic or Descriptor value.
GattReliableWriteTransaction Performs GATT reliable writes on the Bluetooth LE device, in the form of a transaction write operation.
GattServiceUuids Represents an enumeration of the most well known Service UUID values, and provides convenience methods for working with GATT service UUIDs, and static properties providing service UUIDs for common GATT services.
GattValueChangedEventArgs Represents the value received when registering to receive notifications or indications from a Bluetooth LE device.

 

Enumerations

The Windows.Devices.Bluetooth.GenericAttributeProfile namespace has these enumerations.

EnumerationDescription
GattCharacteristicProperties Specifies the values for the GATT characteristic properties as well as the GATT Extended Characteristic Properties Descriptor.
GattClientCharacteristicConfigurationDescriptorValue Represents the value of the GATT ClientCharacteristicConfigurationDescriptor.
GattCommunicationStatus Represents the return status of a WinRT GATT API related Async operation.
GattProtectionLevel Represents the desired security level.
GattWriteOption Indicates what type of write operation is to be performed.

 

Requirements

Minimum supported client

Windows 8.1

Minimum supported server

None supported

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Devices.Bluetooth.GenericAttributeProfile
Windows::Devices::Bluetooth::GenericAttributeProfile [C++]

Metadata

Windows.winmd

See also

Apps for Bluetooth Smart Devices devices (Video)
Bluetooth Generic Attribute Profile - Heart Rate Service (Windows 8.1) Sample
Supporting Bluetooth Devices
How to specify device capabilities for Bluetooth

 

 

Show:
© 2014 Microsoft