Sprache

GattStatus Enum

Definition

Enumerates values returned by several types and taken as a parameter of several types.

public enum GattStatus
type GattStatus = 
Inheritance
GattStatus

Fields

Name Value Description
Success 0

A GATT operation completed successfully

Android reference for android.bluetooth.BluetoothGatt.GATT_SUCCESS.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

ReadNotPermitted 2

GATT read operation is not permitted

Android reference for android.bluetooth.BluetoothGatt.GATT_READ_NOT_PERMITTED.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

WriteNotPermitted 3

GATT write operation is not permitted

Android reference for android.bluetooth.BluetoothGatt.GATT_WRITE_NOT_PERMITTED.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

InsufficientAuthentication 5

Insufficient authentication for a given operation

Android reference for android.bluetooth.BluetoothGatt.GATT_INSUFFICIENT_AUTHENTICATION.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

RequestNotSupported 6

The given request is not supported

Android reference for android.bluetooth.BluetoothGatt.GATT_REQUEST_NOT_SUPPORTED.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

InvalidOffset 7

A read or write operation was requested with an invalid offset

Android reference for android.bluetooth.BluetoothGatt.GATT_INVALID_OFFSET.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

InsufficientAuthorization 8

Insufficient authorization for a given operation

Android reference for android.bluetooth.BluetoothGatt.GATT_INSUFFICIENT_AUTHORIZATION.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

InvalidAttributeLength 13

A write operation exceeds the maximum length of the attribute

Android reference for android.bluetooth.BluetoothGatt.GATT_INVALID_ATTRIBUTE_LENGTH.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

InsufficientEncryption 15

Insufficient encryption for a given operation

Android reference for android.bluetooth.BluetoothGatt.GATT_INSUFFICIENT_ENCRYPTION.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

ConnectionCongested 143

A remote device connection is congested.

Android reference for android.bluetooth.BluetoothGatt.GATT_CONNECTION_CONGESTED.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

ConnectionTimeout 147

GATT connection timed out, likely due to the remote device being out of range or not advertising as connectable.

Android reference for android.bluetooth.BluetoothGatt.GATT_CONNECTION_TIMEOUT.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Failure 257

A GATT operation failed, errors other than the above

Android reference for android.bluetooth.BluetoothGatt.GATT_FAILURE.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to