System.Bluetooth.TBluetoothGattStatus
Delphi
TBluetoothGattStatus = (Success = 0, ReadNotPermitted = 2, WriteNotPermitted = 3, InsufficientAutentication = 5,
RequestNotSupported = 6, InvalidOffset = 7, InvalidAttributeLength = 13, InsufficientEncryption = 15, Failure = 257);
C++
enum class DECLSPEC_DENUM TBluetoothGattStatus : unsigned short { Success, ReadNotPermitted = 2, WriteNotPermitted, InsufficientAutentication = 5, RequestNotSupported, InvalidOffset, InvalidAttributeLength = 13, InsufficientEncryption = 15, Failure = 257 };
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
enum | public | System.Bluetooth.pas System.Bluetooth.hpp |
System.Bluetooth | System.Bluetooth |
Description
Status at the end of a Bluetooth Low Energy operation.
The following table shows a list of possible statuses:
Status |
Description |
---|---|
|
The operation finished successfully. |
|
The read operation is not permitted. |
|
The write operation is not permitted. |
|
Your authentication data is valid but it does not authorize you to perform the operation. You do not have the required permissions. |
|
The operation is not supported. |
|
The offset specified in your operation is not valid. |
|
The length of the specified value is not valid for the target attribute. |
|
The encryption used for the operation is not strong enough. |
|
An unspecified error prevented the operation from succeeding. |
See Also
- System.Bluetooth.TBluetoothLEDevice.OnCharacteristicRead
- System.Bluetooth.TBluetoothLEDevice.OnCharacteristicWrite
- System.Bluetooth.TBluetoothLEDevice.OnDescriptorRead
- System.Bluetooth.TBluetoothLEDevice.OnDescriptorWrite
- System.Bluetooth.TBluetoothLEDevice.OnReadRSSI
- System.Bluetooth.TBluetoothLEDevice.OnReliableWriteCompleted