Platforms to show: All Mac Windows Linux Cross-Platform
WindowsGattDescriptorMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | Bluetooth | MBS WinFrameworks Plugin | 22.3 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
The GattDescriptor object represents a GATT Descriptor of a particular characteristic, and is obtained from the Descriptors property of the GattCharacteristic object.
- 3 events
- event ReadValueAsyncCompleted(asyncStatus as Integer, Result as WindowsGattReadResultMBS)
- event WriteValueAsyncCompleted(asyncStatus as Integer, Result as Integer)
- event WriteValueWithResultAsyncCompleted(asyncStatus as Integer, Result as WindowsGattWriteResultMBS)
- 4 properties
- property AttributeHandle as Integer
- property Handle as Integer
- property ProtectionLevel as Integer
- property UUID as String
- 6 methods
- method Constructor Private
- method Constructor(other as WindowsGattDescriptorMBS)
- method Destructor
- method ReadValueAsync
- method WriteValueAsync(buffer as MemoryBlock)
- method WriteValueWithResultAsync(buffer as MemoryBlock)
- shared method ConvertShortIdToUuid(ID as UInt16) as String
- 4 constants
Protection Levels
Constant | Value | Description |
---|---|---|
ProtectionLevelAuthenticationRequired | 1 |
Require the link to be authenticated. |
ProtectionLevelEncryptionAndAuthenticationRequired | 3 |
Require the link to be encrypted and authenticated. |
ProtectionLevelEncryptionRequired | 2 |
Require the link to be encrypted. |
ProtectionLevelPlain | 0 |
Uses the default protection level. |
This class has no sub classes.
Blog Entries
- The Top 10 from the MBS Xojo Plugins in 2022
- News from the MBS Xojo Plugins Version 22.3
- MBS Xojo Plugins in version 22.3
- MBS Xojo Plugins, version 22.3pr6
- MBS Xojo Plugins, version 22.3pr5
Release notes
- Version 22.3
- Added WindowsGattDescriptorsResultMBS and WindowsGattDescriptorMBS classes.
Some methods using this class:
- WindowsGattCharacteristicMBS.AllDescriptors as WindowsGattDescriptorMBS()
- WindowsGattCharacteristicMBS.Descriptors(characteristicUUID as String) as WindowsGattDescriptorMBS()
- WindowsGattDescriptorsResultMBS.Descriptors as WindowsGattDescriptorMBS()
Some examples using this class:
Some related classes:
- class WindowsGattCharacteristicMBS
- class WindowsGattDescriptorsResultMBS
- class WindowsGattReadResultMBS
- class WindowsGattWriteResultMBS
The items on this page are in the following plugins: MBS WinFrameworks Plugin.
WindowsGattCharacteristicsResultMBS - WindowsGattDescriptorsResultMBS
