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

Applies to Windows and Windows Phone

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

Syntax


var string = Windows.Devices.Bluetooth.GenericAttributeProfile.GattDeviceService.getDeviceSelectorFromUuid(serviceUuid);

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

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:
© 2014 Microsoft