Platforms to show: All Mac Windows Linux Cross-Platform
WindowsGattCharacteristicMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | Bluetooth | MBS WinFrameworks Plugin | 22.3 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
Notes: The GattCharacteristic object represents a GATT Characteristic of a particular service, and is obtained from the Characteristics property of the GattDeviceService object.
- 4 events
- event DescriptorsCompleted(asyncStatus as Integer, Result as WindowsGattDescriptorsResultMBS)
- event ReadValueAsyncCompleted(asyncStatus as Integer, Result as WindowsGattReadResultMBS)
- event WriteValueAsyncCompleted(asyncStatus as Integer, Result as Integer)
- event WriteValueWithResultAsyncCompleted(asyncStatus as Integer, Result as WindowsGattWriteResultMBS)
- 6 properties
- property AttributeHandle as Integer
- property Handle as Integer
- property ProtectionLevel as Integer
- property Service as WindowsGattDeviceServiceMBS
- property UserDescription as String
- property UUID as String
- 15 methods
- method AllDescriptors as WindowsGattDescriptorMBS()
- method Constructor private
- method Constructor(other as WindowsGattCharacteristicMBS)
- method Descriptors(characteristicUUID as String) as WindowsGattDescriptorMBS()
- method Destructor
- method GetDescriptorsAsync
- method GetDescriptorsAsync(BluetoothCacheMode as Integer)
- method GetDescriptorsForUuidAsync(characteristicUuid as String)
- method GetDescriptorsForUuidAsync(characteristicUuid as String, BluetoothCacheMode as Integer)
- method ReadValueAsync
- method ReadValueAsync(CacheMode as Integer)
- method WriteValueAsync(buffer as MemoryBlock)
- method WriteValueAsync(buffer as MemoryBlock, WriteOption as Integer)
- method WriteValueWithResultAsync(buffer as MemoryBlock)
- method WriteValueWithResultAsync(buffer as MemoryBlock, WriteOption as Integer)
- shared method ConvertShortIdToUuid(ID as UInt16) as String
- 8 constants
Cache Modes
Constant | Value | Description |
---|---|---|
CacheModeCached | 0 |
Cached data. |
CacheModeUncached | 1 |
Uncached data. |
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. |
Write Options
Constant | Value | Description |
---|---|---|
WriteWithoutResponse | 1 |
The Write Without Response procedure shall be used. |
WriteWithResponse | 0 |
The default GATT write procedure shall be used. |
This class has no sub classes.
Some methods using this class:
- WindowsGattCharacteristicsResultMBS.Characteristics as WindowsGattCharacteristicMBS()
The items on this page are in the following plugins: MBS WinFrameworks Plugin.
WindowsFontFamilyMBS - WindowsGattCharacteristicsResultMBS
Feedback: Report problem or ask question.
