Skip to content

BTWireError

Enum containing Errors

swift
enum BTWireError

Enumeration Cases

bluetoothStateNotReady

swift
case bluetoothStateNotReady

CBCentralManager state is not powerdOn

cancelContinuation

swift
case cancelContinuation

Action was canceled

characteristicNotWritable

swift
case characteristicNotWritable

Write charackteristic of connect bluetooth device is not writable

characteristicValueUpdatedWithoutData

swift
case characteristicValueUpdatedWithoutData

Received characteristik update without containing Data

failedToConnectWithoutReason

swift
case failedToConnectWithoutReason

Bluetooth connection failed without reasoning

failedToSetNotify

swift
case failedToSetNotify

Setting notify failed

nessesaryCharacteristicMissing

swift
case nessesaryCharacteristicMissing

Connected bluetooth device misses needed characteristic

nessesaryServiceMissing

swift
case nessesaryServiceMissing

Connected bluetooth device misses needed service

noConnectionProvider

swift
case noConnectionProvider

BTWire can only be used beeing managed by a PeripheralManager which functions as a ConnectionProvider

noPeripheralDelegate

swift
case noPeripheralDelegate

BTWire can only be used beeing managed by a PeripheralManager which functions as a PeripheralDelegate

peripheralNotManaged

swift
case peripheralNotManaged

BTWire can only be used beeing managed by a PeripheralManager

readCharakteristicNotNotifiable

swift
case readCharakteristicNotNotifiable

Read charackteristic of connect bluetooth device is not notifiable

writeTimeout

swift
case writeTimeout

Trying to write to charakteristik took too long

Default Implementations

Equatable-Implementations

Error-Implementations