WindowsGattDeviceServiceMBS events

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

Back to WindowsGattDeviceServiceMBS class.

WindowsGattDeviceServiceMBS.CharacteristicsCompleted(asyncStatus as Integer, Result as WindowsGattCharacteristicsResultMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Bluetooth MBS WinFrameworks Plugin 22.3 ❌ No ✅ Yes ❌ No ❌ No
The GetCharacteristicsAsync* functions completed.

Some examples using this event:

WindowsGattDeviceServiceMBS.IncludedServicesCompleted(asyncStatus as Integer, Result as WindowsGattDeviceServicesResultMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Bluetooth MBS WinFrameworks Plugin 22.3 ❌ No ✅ Yes ❌ No ❌ No
Event called when GetIncludedServices*Async method completes.
Example

Sub IncludedServicesCompleted(asyncStatus as Integer, Result as WindowsGattDeviceServicesResultMBS) Handles IncludedServicesCompleted
Log CurrentMethodName

if Result <> nil then
dim services() as WindowsGattDeviceServiceMBS = Result.Services

For Each Service As WindowsGattDeviceServiceMBS In Services
Log "Found service: "+Service.UUID+" Sharing Mode:"+Service.SharingMode.toText
next
end If
End Sub

Some examples using this event:

WindowsGattDeviceServiceMBS.OpenAsyncCompleted(asyncStatus as Integer, OpenStatus as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Bluetooth MBS WinFrameworks Plugin 22.3 ❌ No ✅ Yes ❌ No ❌ No
The event for completed OpenAsync call.

Some examples using this event:

WindowsGattDeviceServiceMBS.RequestAccessCompleted(asyncStatus as Integer, DeviceAccessStatus as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Bluetooth MBS WinFrameworks Plugin 22.3 ❌ No ✅ Yes ❌ No ❌ No
The event for RequestAccessAsync method completion.

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


💬 Ask a question or report a problem