GetDeviceSelectorFromUuid | getDeviceSelectorFromUuid method

GattDeviceService.GetDeviceSelectorFromUuid | getDeviceSelectorFromUuid method

Creates a suitable AQS Filter string for use with the CreateWatcher method, 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 CreateWatcher method, in order to retrieve a GATT service instance path.

Requirements (Windows 10 device family)

Device family

Universal, introduced version 10.0.10240.0 [for Xbox, see UWP features that aren't yet supported on Xbox]

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 (Windows 8.x and Windows Phone 8.x)

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