Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

GattDeviceService.GetDeviceSelectorFromUuid | getDeviceSelectorFromUuid method

Creates a suitable AQS Filter string for use with the Windows Device Enumeration: findAllAsync API, from a Bluetooth service UUID.

Syntax


Public Shared Function GetDeviceSelectorFromUuid(
  serviceUuid As Guid 
) As String

Parameters

serviceUuid

Type: String [JavaScript] | System.Guid [.NET] | Platform::Guid [C++]

A 128-bit Bluetooth GATT Service UUID, represented as a standard GUID object.

Return value

Type: String [JavaScript] | System.String [.NET] | Platform::String [C++]

A suitable AQS Selector String which can be passed as a parameter to the findAllAsync Windows Device Enumeration API, in order to retrieve a GATT service instance path.

Requirements (device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

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

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (operating system)

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

GattDeviceService

 

 

Show:
© 2015 Microsoft