Platforms to show: All Mac Windows Linux Cross-Platform

WindowsGattDeviceServiceMBS class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class Bluetooth MBS WinFrameworks Plugin 22.3 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Function: Represents a GATT Primary Service on a Bluetooth device.
Notes: The GattDeviceService class represents a GATT service on a Bluetooth LE device. It is instantiated by using a device service instance path, obtained by finding a device using the Windows.Devices.Enumeration API.

Cache Modes

Constant Value Description
CacheModeCached 0 Cached data.
CacheModeUncached 1 Uncached data.

Open Status Codes

Constant Value Description
OpenStatusAccessDenied 5 Access is denied.
OpenStatusAlreadyOpened 2 The GATT device service is already opened.
OpenStatusNotFound 3 The GATT device service was not found.
OpenStatusSharingViolation 4 There was a sharing violation.
OpenStatusSuccess 1 The GATT device service was successfully opened.
OpenStatusUnspecified 0 Unspecified error.

Sharing Modes

Constant Value Description
SharingModeExclusive 1 The sharing mode is exclusive.
SharingModeSharedReadAndWrite 3 The sharing mode is read and write.
SharingModeSharedReadOnly 2 The sharing mode is read only.
SharingModeUnspecified 0 The sharing mode is unspecified.

This class has no sub classes.

Some methods using this class:

Some properties using for this class:

The items on this page are in the following plugins: MBS WinFrameworks Plugin.

WindowsGattDescriptorsResultMBS   -   WindowsGattDeviceServicesResultMBS

Feedback: Report problem or ask question.

The biggest plugin in space...

Start Chat