SCLFlicError Constants Reference

Declared in SCLFlicPoicButton.h

SCLFlicError

@enum SCLFlicError

These enums represents the different error codes that can be sent on both the SCLFlicPoicButton and SCLFlicPoicManager classes. Not all errors are relevant for you as a developer since a few of them are for internal use only. This list will be cleaned up and better explained soon.

Definition

typedef NS_ENUM(NSInteger, SCLFlicError ) {
   SCLFlicErrorUnknown = 0,
   SCLFlicErrorCouldNotCompleteTask = 1,
   SCLFlicErrorConnectionFailed = 2,
   SCLFlicErrorCouldNotUpdateRSSI = 3,
   SCLFlicErrorBackendUnreachable = 7,
   SCLFlicErrorNoInternetConnection = 8,
   SCLFlicErrorCredentialsNotMatching = 9,
   SCLFlicErrorButtonIsPrivate = 10,
   SCLFlicErrorCryptographicFailure = 11,
   SCLFlicErrorButtonDisconnectedDuringVerification = 12,
   SCLFlicErrorMissingData = 13,
   SCLFlicErrorInvalidSignature = 14,
   SCLFlicErrorButtonAlreadyGrabbed = 15,
   SCLFlicErrorBLEPairingFailedCanBeUpgraded = 16,
   SCLFlicErrorBLEPairingFailedCanNotBeUpgraded = 17,
   SCLFlicErrorBLEPairingFailedUserCanceled = 18,
   SCLFlicErrorBLEPairingFailedUnknownReason = 19,
   SCLFlicErrorBLEPairingFailedPreviousPairingAlreadyExisting = 20,
   SCLFlicErrorBluetoothErrorUnknown = 100,
   SCLFlicErrorBluetoothErrorInvalidParameters = 101,
   SCLFlicErrorBluetoothErrorInvalidHandle = 102,
   SCLFlicErrorBluetoothErrorNotConnected = 103,
   SCLFlicErrorBluetoothErrorOutOfSpace = 104,
   SCLFlicErrorBluetoothErrorOperationCancelled = 105,
   SCLFlicErrorBluetoothErrorConnectionLost = 106,
   SCLFlicErrorBluetoothErrorPeripheralDisconnected = 107,
   SCLFlicErrorBluetoothErrorUUIDNotAllowed = 108,
   SCLFlicErrorBluetoothErrorAlreadyAdvertising = 109,
   SCLFlicErrorBluetoothErrorConnectionFailed = 110,
   SCLFlicErrorBluetoothErrorConnectionLimitReached = 111,
   SCLFlicErrorFlicRefusedConnection = 200,
};

Constants

SCLFlicErrorUnknown

An error has occurred.

Declared In SCLFlicPoicButton.h.

SCLFlicErrorCouldNotCompleteTask

General error code that can be sent to let you know that a started task did not complete.

Declared In SCLFlicPoicButton.h.

SCLFlicErrorConnectionFailed

If a connection to a Flic/Poic button failed for unknown reasons. This could for example be if Flic/Poic is brought out of range during a connection sequense.

Declared In SCLFlicPoicButton.h.

SCLFlicErrorCouldNotUpdateRSSI

The RSSI value could not be read.

Declared In SCLFlicPoicButton.h.

SCLFlicErrorBackendUnreachable

The backend that is used for the initial verification sequence can not be reached.

Declared In SCLFlicPoicButton.h.

SCLFlicErrorNoInternetConnection

The iOS device does not have an internet connection that is required in order to complete the task.

Declared In SCLFlicPoicButton.h.

SCLFlicErrorCredentialsNotMatching

The response from the backend server is invalid.

Declared In SCLFlicPoicButton.h.

SCLFlicErrorButtonIsPrivate

If you try to access a Flic/Poic that is currently being used with another device or another app on the same iOS device.

Declared In SCLFlicPoicButton.h.

SCLFlicErrorCryptographicFailure

A crypthographic error has occurred.

Declared In SCLFlicPoicButton.h.

SCLFlicErrorButtonDisconnectedDuringVerification

For some reason the button was disconnected before the verification sequense had time to complete.

Declared In SCLFlicPoicButton.h.

SCLFlicErrorMissingData

The request did not contain enough data to be completed.

Declared In SCLFlicPoicButton.h.

SCLFlicErrorInvalidSignature

The signature over the data is not valid. The data might be corrupt.

Declared In SCLFlicPoicButton.h.

SCLFlicErrorButtonAlreadyGrabbed

You are trying to grab a button that you have already grabbed before.

Declared In SCLFlicPoicButton.h.

SCLFlicErrorBLEPairingFailedCanBeUpgraded

The BLE pairing failed due to incompatible firmware, but the Flic/Poic can be upgraded.

Declared In SCLFlicPoicButton.h.

SCLFlicErrorBLEPairingFailedCanNotBeUpgraded

The BLE pairing failed due to incompatible firmware, but the Flic/Poic can be upgraded.

Declared In SCLFlicPoicButton.h.

SCLFlicErrorBLEPairingFailedUserCanceled

The BLE pairing failed due to the user presseng cancel in the pair dialog.

Declared In SCLFlicPoicButton.h.

SCLFlicErrorBLEPairingFailedUnknownReason

The BLE pairing failed due to unknown reason.

Declared In SCLFlicPoicButton.h.

SCLFlicErrorBLEPairingFailedPreviousPairingAlreadyExisting

The BLE pairing failed due to a previous pairing already being regisered on iOS. Pairing needs to be removed first.

Declared In SCLFlicPoicButton.h.

SCLFlicErrorBluetoothErrorUnknown

Bluetooth specific error

Declared In SCLFlicPoicButton.h.

SCLFlicErrorBluetoothErrorInvalidParameters

Bluetooth specific error

Declared In SCLFlicPoicButton.h.

SCLFlicErrorBluetoothErrorInvalidHandle

Bluetooth specific error

Declared In SCLFlicPoicButton.h.

SCLFlicErrorBluetoothErrorNotConnected

Bluetooth specific error

Declared In SCLFlicPoicButton.h.

SCLFlicErrorBluetoothErrorOutOfSpace

Bluetooth specific error

Declared In SCLFlicPoicButton.h.

SCLFlicErrorBluetoothErrorOperationCancelled

Bluetooth specific error

Declared In SCLFlicPoicButton.h.

SCLFlicErrorBluetoothErrorConnectionLost

Bluetooth specific error

Declared In SCLFlicPoicButton.h.

SCLFlicErrorBluetoothErrorPeripheralDisconnected

Bluetooth specific error

Declared In SCLFlicPoicButton.h.

SCLFlicErrorBluetoothErrorUUIDNotAllowed

Bluetooth specific error

Declared In SCLFlicPoicButton.h.

SCLFlicErrorBluetoothErrorAlreadyAdvertising

Bluetooth specific error

Declared In SCLFlicPoicButton.h.

SCLFlicErrorBluetoothErrorConnectionFailed

Bluetooth specific error

Declared In SCLFlicPoicButton.h.

SCLFlicErrorBluetoothErrorConnectionLimitReached

Bluetooth specific error

Declared In SCLFlicPoicButton.h.

SCLFlicErrorFlicRefusedConnection

Connection was refused by Flic

Declared In SCLFlicPoicButton.h.

Declared In

SCLFlicPoicButton.h