OperationStatus

GATT operation status.

Some of the status codes are defined by the Bluetooth Specification, others are used only in the library to indicate specific conditions.

Read more in Bluetooth Specification, Vol 3 (Host), Part F (ATT), 3.4.1.1 ATT_ERROR_RSP: link.

Entries

Link copied to clipboard

A GATT operation completed successfully.

Link copied to clipboard

The attribute handle given was not valid on this server.

Link copied to clipboard

GATT read operation is not permitted.

Link copied to clipboard

GATT write operation is not permitted.

Link copied to clipboard

The attribute PDU was invalid.

Link copied to clipboard

Insufficient authentication for a given operation.

Link copied to clipboard

The given request is not supported.

Link copied to clipboard

A read or write operation was requested with an invalid offset.

Link copied to clipboard

Insufficient authorization for a given operation.

Link copied to clipboard

The prepare write queue is full.

Link copied to clipboard

No attribute found within the given attribute handle range.

Link copied to clipboard

The attribute cannot be read using the Long Read procedure.

Link copied to clipboard

The Encryption Key Size used for encrypting this link is too short.

Link copied to clipboard

A write operation exceeds the maximum length of the attribute.

Link copied to clipboard

The attribute request that was requested has encountered an error that was unlikely, and therefore could not be completed as requested.

Link copied to clipboard

Insufficient encryption for a given operation.

Link copied to clipboard

Insufficient Resources to complete the request.

Link copied to clipboard

The attribute parameter value was not allowed.

Link copied to clipboard

The characteristic does not support subscribing for value change.

Link copied to clipboard

A remote device connection is congested.

Link copied to clipboard

Device is busy.

Link copied to clipboard

Most generic GATT error code.

Link copied to clipboard

Unknown error.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun toString(): String
Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.