Platforms to show: All Mac Windows Linux Cross-Platform
WindowsGattReadResultMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | Bluetooth | MBS WinFrameworks Plugin | 22.3 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
One of the ReadValueAsync methods is used to retrieve a GattReadResult object.
The Status property on the GattReadResult returned indicates if the result of the operation was successful.
This is an abstract class. You can't create an instance, but you can get one from various plugin functions.
- 4 properties
- property Handle as Integer
- property ProtocolError as Integer
- property Status as Integer
- property Value as MemoryBlock
- 2 methods
- method Constructor Private
- method Destructor
- 4 constants
Status Values
Constant | Value | Description |
---|---|---|
StatusAccessDenied | 3 |
Access is denied. |
StatusProtocolError | 2 |
There was a GATT communication protocol error. |
StatusSuccess | 0 |
The operation completed successfully. |
StatusUnreachable | 1 |
No communication can be performed with the device, at this time. |
This class has no sub classes.
Some events using this class:
- WindowsGattCharacteristicMBS.ReadValueAsyncCompleted(asyncStatus as Integer, Result as WindowsGattReadResultMBS)
- WindowsGattDescriptorMBS.ReadValueAsyncCompleted(asyncStatus as Integer, Result as WindowsGattReadResultMBS)
Some examples using this class:
Blog Entries
Release notes
- Version 22.3
The items on this page are in the following plugins: MBS WinFrameworks Plugin.
WindowsGattReadRequestMBS - WindowsGattSessionMBS