Companion

object Companion

Companion object containing default configuration values, standard BLE UUIDs, and the global service cache.

Properties

Link copied to clipboard

The standard UUID for the Client Characteristic Configuration Descriptor (CCCD).

Link copied to clipboard

Default maximum number of reconnection attempts before giving up.

Link copied to clipboard

Default maximum delay in milliseconds between reconnection attempts.

Link copied to clipboard

Default timeout in milliseconds for BLE operations (MTU, PHY, read, write).

Link copied to clipboard

Default base delay in milliseconds for exponential backoff reconnection.

Functions

Link copied to clipboard
fun clearServiceCache(deviceAddress: String? = null)

Clears the service cache for a specific device or all devices.