WindowsGattDeviceServiceMBS class

Online Documentation   -   Statistics   -   FAQ   -   Plugin Parts (All, Dependencies)   -   Class hierarchy

New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1

The list of the   topics,   classes,   interfaces,   controls,   modules,   global methods by category,   global methods by name,   screenshots,   licenses   and   examples.

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
Represents a GATT Primary Service on a Bluetooth device.

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:

Some examples using this class:

Blog Entries

Xojo Developer Magazine

Release notes


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


WindowsGattDescriptorsResultMBS   -   WindowsGattDeviceServicesResultMBS


💬 Ask a question or report a problem