Types

Link copied to clipboard

Represents a situation where the connection process was aborted by the user or the system.

Link copied to clipboard

Triggered when Bluetooth is disabled on the device, preventing any BLE communication.

Link copied to clipboard

Occurs when the device does not support Bluetooth.

Link copied to clipboard

Indicates a failure to establish a bonded pair with the module, which is necessary for secure communication.

Link copied to clipboard

Indicates the provided API key is invalid, which is essential for authenticating the connection request.

Link copied to clipboard

Occurs when authentication with the module fails due to an invalid private key.

Link copied to clipboard

Occurs when expected BLE characteristic, identified by UUID, is missing, possibly indicating an issue with the module.

Link copied to clipboard

Indicates one or more required permissions are missing, detailing which permissions are needed.

Link copied to clipboard

Occurs when expected BLE service, identified by UUID, is missing, possibly indicating an issue with the module.

Link copied to clipboard

Signifies a network error prevented fetching necessary configuration for BLE (Bluetooth Low Energy) communication.

Link copied to clipboard

Indicates an unexpected error occurred that doesn't fit into the predefined error categories.

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
open override val message: String

A human-readable message describing the error.

Functions

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