OperationStatus

Gatt operation status.

It contains values presented in documentation and additional helper values observed and needed during real device operation.

Entries

Link copied to clipboard

A GATT operation completed successfully.

Link copied to clipboard

Unknown error.

Link copied to clipboard

Most generic GATT error code.

Link copied to clipboard

A remote device connection is congested.

Link copied to clipboard

A write operation exceeds the maximum length of the attribute.

Link copied to clipboard

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

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 characteristic does not support subscribing for value change.

Link copied to clipboard

The given request is not supported.

Link copied to clipboard

Insufficient encryption for a given operation.

Link copied to clipboard

Insufficient authentication for a given operation.

Link copied to clipboard

Insufficient authorization for a given operation.

Link copied to clipboard

Device is busy.

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.