WindowsGattCharacteristicMBS 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 WindowsGattCharacteristicMBS class.

WindowsGattCharacteristicMBS.DescriptorsCompleted(asyncStatus as Integer, Result as WindowsGattDescriptorsResultMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Bluetooth MBS WinFrameworks Plugin 22.3 ❌ No ✅ Yes ❌ No ❌ No
The event called by GetDescriptorsForUuidAsync or GetDescriptorsAsync methods when completed.
Example

Sub DescriptorsCompleted(asyncStatus as Integer, Result as WindowsGattDescriptorsResultMBS) Handles DescriptorsCompleted
Log CurrentMethodName

If result <> Nil Then
Dim Descriptors() As WindowsGattDescriptorMBS = result.Descriptors

For Each Descriptor As WindowsGattDescriptorMBS In Descriptors
Log "Descriptor for attribute "+Descriptor.AttributeHandle.ToString+" has "+Descriptor.UUID
Next

End If
End Sub

Some examples using this event:

WindowsGattCharacteristicMBS.ReadClientCharacteristicConfigurationDescriptorAsyncCompleted(asyncStatus as Integer, Result as WindowsGattReadClientCharacteristicConfigurationDescriptorResultMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Bluetooth MBS WinFrameworks Plugin 23.0 ❌ No ✅ Yes ❌ No ❌ No
The event called by ReadClientCharacteristicConfigurationDescriptorAsync method.

WindowsGattCharacteristicMBS.ReadValueAsyncCompleted(asyncStatus as Integer, Result as WindowsGattReadResultMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Bluetooth MBS WinFrameworks Plugin 22.3 ❌ No ✅ Yes ❌ No ❌ No
The event called when ReadValueAsync methods finished.

WindowsGattCharacteristicMBS.ValueChanged(args as WindowsGattValueChangedEventArgsMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Bluetooth MBS WinFrameworks Plugin 23.0 ❌ No ✅ Yes ❌ No ❌ No
The event called when value changed.

An App can register an event handler in order to receive events when notification or indications are received from a device, after setting the Client Characteristic Configuration Descriptor.

The WindowsGattValueChangedEventArgsMBS object represents the arguments received by a ValueChanged event handler used to process characteristic value change notification and indication events sent by a Bluetooth LE device.

To get this event working, you need to use the copy constructor to create a new instance of your WindowsGattCharacteristicMBS subclass.

Some examples using this event:

WindowsGattCharacteristicMBS.WriteClientCharacteristicConfigurationDescriptorAsyncCompleted(asyncStatus as Integer, Status as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Bluetooth MBS WinFrameworks Plugin 23.0 ❌ No ✅ Yes ❌ No ❌ No
The event called by WriteClientCharacteristicConfigurationDescriptorAsync method.

WindowsGattCharacteristicMBS.WriteClientCharacteristicConfigurationDescriptorWithResultAsyncCompleted(asyncStatus as Integer, Result as WindowsGattWriteResultMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Bluetooth MBS WinFrameworks Plugin 23.0 ❌ No ✅ Yes ❌ No ❌ No
The event called by WriteClientCharacteristicConfigurationDescriptorWithResultAsync method.

WindowsGattCharacteristicMBS.WriteValueAsyncCompleted(asyncStatus as Integer, Result as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Bluetooth MBS WinFrameworks Plugin 22.3 ❌ No ✅ Yes ❌ No ❌ No
The event called by WriteValueAsync methods when completed.

WindowsGattCharacteristicMBS.WriteValueWithResultAsyncCompleted(asyncStatus as Integer, Result as WindowsGattWriteResultMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Bluetooth MBS WinFrameworks Plugin 22.3 ❌ No ✅ Yes ❌ No ❌ No
The event called by WriteValueWithResultAsync methods when completed.

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


💬 Ask a question or report a problem