Package-level declarations
Types
Link copied to clipboard
class BleCharacteristicException(message: String, val gattStatus: Int? = null, val characteristicUuid: String? = null, val operation: BleCharacteristicException.CharacteristicOperation? = null) : BleException
Exception thrown when a characteristic operation (read, write, or notify) fails.
Link copied to clipboard
class BleConnectionException(message: String, val gattStatus: Int? = null, val deviceAddress: String? = null) : BleException
Exception thrown when a BLE connection attempt fails or an existing connection is lost.
Link copied to clipboard
Base exception class for all BLE-related errors in the BleX library.
Link copied to clipboard
class BleNotFoundException(message: String, val serviceUuid: String? = null, val characteristicUuid: String? = null, val gattStatus: Int? = null) : BleException
Exception thrown when a requested GATT service or characteristic is not found.
Link copied to clipboard
class BlePermissionException(message: String, val missingPermissions: List<String> = emptyList(), val gattStatus: Int? = null) : BleException
Exception thrown when required Android permissions for BLE operations are missing.
Link copied to clipboard
class BleTimeoutException(message: String, val operation: String? = null, val gattStatus: Int? = GATT_ERROR) : BleException
Exception thrown when a BLE operation times out.