Platforms to show: All Mac Windows Linux Cross-Platform

Back to WindowsGattCharacteristicMBS class.

WindowsGattCharacteristicMBS.AllDescriptors as WindowsGattDescriptorMBS()

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Bluetooth MBS WinFrameworks Plugin 22.3 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Gets the collection of all descriptors belonging to this GattCharacteristic instance.

WindowsGattCharacteristicMBS.Constructor   Private

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Bluetooth MBS WinFrameworks Plugin 22.3 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
The private constructor.

See also:

WindowsGattCharacteristicMBS.Constructor(other as WindowsGattCharacteristicMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Bluetooth MBS WinFrameworks Plugin 22.3 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
The copy constructor.

See also:

WindowsGattCharacteristicMBS.Descriptors(characteristicUUID as String) as WindowsGattDescriptorMBS()

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Bluetooth MBS WinFrameworks Plugin 22.3 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Returns descriptors, that are identified by the specified UUID, and belong to this GattCharacteristic instance.

WindowsGattCharacteristicMBS.Destructor

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Bluetooth MBS WinFrameworks Plugin 22.3 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
The destructor.

WindowsGattCharacteristicMBS.GetDescriptorsAsync

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Bluetooth MBS WinFrameworks Plugin 22.3 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Returns the descriptors for this GattCharacteristic instance.

Calls DescriptorsCompleted event later when finished.

See also:

Some examples using this method:

WindowsGattCharacteristicMBS.GetDescriptorsAsync(BluetoothCacheMode as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Bluetooth MBS WinFrameworks Plugin 22.3 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Returns the descriptors with the specified cache mode for this GattCharacteristic instance.

Calls DescriptorsCompleted event later when finished.

See also:

WindowsGattCharacteristicMBS.GetDescriptorsForUuidAsync(characteristicUuid as String)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Bluetooth MBS WinFrameworks Plugin 22.3 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Returns the descriptors whose UUIDs match descriptorUuid.

Calls DescriptorsCompleted event later when finished.

See also:

WindowsGattCharacteristicMBS.GetDescriptorsForUuidAsync(characteristicUuid as String, BluetoothCacheMode as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Bluetooth MBS WinFrameworks Plugin 22.3 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Returns the descriptors whose UUIDs match descriptorUuid with the specified cacheMode.

Calls DescriptorsCompleted event later when finished.

See also:

WindowsGattCharacteristicMBS.ReadClientCharacteristicConfigurationDescriptorAsync

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Bluetooth MBS WinFrameworks Plugin 23.0 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Reads the current value of the ClientCharacteristicConfigurationDescriptor.

Calls ReadClientCharacteristicConfigurationDescriptorAsyncCompleted event later.

WindowsGattCharacteristicMBS.ReadValueAsync

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Bluetooth MBS WinFrameworks Plugin 22.3 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Performs a Characteristic Value read from the value cache maintained by Windows.

Calls ReadValueAsyncCompleted event later.

See also:

WindowsGattCharacteristicMBS.ReadValueAsync(CacheMode as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Bluetooth MBS WinFrameworks Plugin 22.3 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Performs a Characteristic Value read either from the value cache maintained by Windows, or directly from the device.

Calls ReadValueAsyncCompleted event later.

See also:

WindowsGattCharacteristicMBS.WriteClientCharacteristicConfigurationDescriptorAsync(ClientCharacteristicConfigurationDescriptorValue as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Bluetooth MBS WinFrameworks Plugin 23.0 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Writes client characteristic configuration descriptor.
Example

Dim Characteristic As WindowsGattCharacteristicMBS // your characteristic

dim Mode as integer = _
WindowsGattReadClientCharacteristicConfigurationDescriptorResultMBS.ConfigurationDescriptorValueNotify + _
WindowsGattReadClientCharacteristicConfigurationDescriptorResultMBS.ConfigurationDescriptorValueIndicate
Characteristic.WriteClientCharacteristicConfigurationDescriptorAsync Mode

Writes the ClientCharacteristicConfigurationDescriptor to the Bluetooth LE device, and if the value to be written represents an indication or a notification and a ValueChanged event handler is registered, enables receiving ValueChanged events from the device.

Pass the new value for the ClientCharacteristicConfigurationDescriptor of this Characteristic object.

Calls WriteClientCharacteristicConfigurationDescriptorAsyncCompleted later.

Some examples using this method:

WindowsGattCharacteristicMBS.WriteClientCharacteristicConfigurationDescriptorWithResultAsync(ClientCharacteristicConfigurationDescriptorValue as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Bluetooth MBS WinFrameworks Plugin 23.0 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Writes client characteristic configuration descriptor.
Example

dim Characteristic as WindowsGattCharacteristicMBS
// your characteristic from e.g. CharacteristicsCompleted event

Characteristic.WriteClientCharacteristicConfigurationDescriptorAsync(1)

Writes the ClientCharacteristicConfigurationDescriptor to the Bluetooth LE device, and if the value to be written represents an indication or a notification and a ValueChanged event handler is registered, enables receiving ValueChanged events from the device.

Please pass the new value for the ClientCharacteristicConfigurationDescriptor of this WindowsGattCharacteristicMBS object.

Calls WriteClientCharacteristicConfigurationDescriptorWithResultAsyncCompleted event later.

WindowsGattCharacteristicMBS.WriteValueAsync(buffer as MemoryBlock)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Bluetooth MBS WinFrameworks Plugin 22.3 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Performs a Characteristic Value write to a Bluetooth LE device.

Calls WriteValueAsyncCompleted event later.

See also:

WindowsGattCharacteristicMBS.WriteValueAsync(buffer as MemoryBlock, WriteOption as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Bluetooth MBS WinFrameworks Plugin 22.3 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Performs a Characteristic Value write to a Bluetooth LE device.
Example

Var mb As New MemoryBlock(6)
mb.Byte(0) = &H01 // Data Byte
mb.Byte(1) = &HAA
mb.Byte(2) = &H55
mb.Byte(3) = &HAA
mb.Byte(4) = &H55
mb.Byte(5) = &HAA

Characteristics(0).WriteValueAsync(mb, GattCharacteristic.WriteWithResponse)

WriteOption is either WriteWithResponse or WriteWithoutResponse.
Calls WriteValueAsyncCompleted event later.

See also:

WindowsGattCharacteristicMBS.WriteValueWithResultAsync(buffer as MemoryBlock)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Bluetooth MBS WinFrameworks Plugin 22.3 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Performs a Characteristic Value write to a Bluetooth LE device.

Calls WriteValueWithResultAsyncCompleted event later.

See also:

WindowsGattCharacteristicMBS.WriteValueWithResultAsync(buffer as MemoryBlock, WriteOption as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Bluetooth MBS WinFrameworks Plugin 22.3 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Performs a Characteristic Value write to a Bluetooth LE device.

Calls WriteValueWithResultAsyncCompleted event later.

See also:

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


The biggest plugin in space...