System.Bluetooth.TBluetoothGattStatus

From RAD Studio API Documentation
Jump to: navigation, search

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

Success

The operation finished successfully.

ReadNotPermitted

The read operation is not permitted.

WriteNotPermitted

The write operation is not permitted.

InsufficientAutentication

Your authentication data is valid but it does not authorize you to perform the operation. You do not have the required permissions.

RequestNotSupported

The operation is not supported.

InvalidOffset

The offset specified in your operation is not valid.

InvalidAttributeLength

The length of the specified value is not valid for the target attribute.

InsufficientEncryption

The encryption used for the operation is not strong enough.

Failure

An unspecified error prevented the operation from succeeding.

See Also