SCLFlicError
enum SCLFlicError {}These enums represents the different error codes that can be sent on both the SCLFlicPbFButton and SCLFlicPbFManager 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.
- 
                  
                  An unknown error has occurred. DeclarationObjective-C SCLFlicErrorUnknown = 0Swift case unknown = 0
- 
                  
                  The framework was unable to forget the button. DeclarationObjective-C SCLFlicErrorCouldNotForgetButton = 1Swift case couldNotForgetButton = 1
- 
                  
                  If a connection to a Flic/PbF button failed for unknown reasons. This could for example be if Flic/PbF is brought out of range during a connection sequense. DeclarationObjective-C SCLFlicErrorConnectionFailed = 2Swift case connectionFailed = 2
- 
                  
                  The RSSI value could not be read. DeclarationObjective-C SCLFlicErrorCouldNotUpdateRSSI = 3Swift case couldNotUpdateRSSI = 3
- 
                  
                  The data sent by the Flic/PbF button does not confirn with the protocol specificatin. DeclarationObjective-C SCLFlicErrorUnknownDataReceived = 5Swift case unknownDataReceived = 5
- 
                  
                  The backend that is used for the initial verification sequence can not be reached. DeclarationObjective-C SCLFlicErrorBackendUnreachable = 7Swift case backendUnreachable = 7
- 
                  
                  The iOS device does not have an internet connection that is required in order to complete the task. DeclarationObjective-C SCLFlicErrorNoInternetConnection = 8Swift case noInternetConnection = 8
- 
                  
                  The backend was unable to unlock this button with the provided AppId and AppSecret. DeclarationObjective-C SCLFlicErrorCredentialsNotMatching = 9Swift case credentialsNotMatching = 9
- 
                  
                  If you try to access a Flic/PbF that is currently being used with another device or another app on the same iOS device. DeclarationObjective-C SCLFlicErrorButtonIsPrivate = 10Swift case buttonIsPrivate = 10
- 
                  
                  A crypthographic error has occurred. DeclarationObjective-C SCLFlicErrorCryptographicFailure = 11Swift case cryptographicFailure = 11
- 
                  
                  For some reason the button was disconnected before the verification sequense had time to complete. DeclarationObjective-C SCLFlicErrorButtonDisconnectedDuringVerification = 12Swift case buttonDisconnectedDuringVerification = 12
- 
                  
                  The request did not contain enough data to be completed. DeclarationObjective-C SCLFlicErrorMissingData = 13Swift case missingData = 13
- 
                  
                  The signature over the data is not valid. The data might be corrupt. DeclarationObjective-C SCLFlicErrorInvalidSignature = 14Swift case invalidSignature = 14
- 
                  
                  You are trying to grab a button that you have already grabbed before. DeclarationObjective-C SCLFlicErrorButtonAlreadyGrabbed = 15Swift case buttonAlreadyGrabbed = 15
- 
                  
                  The BLE pairing failed due to incompatible firmware, but the Flic/PbF can be upgraded. DeclarationObjective-C SCLFlicErrorBLEPairingFailedCanBeUpgraded = 16Swift case blePairingFailedCanBeUpgraded = 16
- 
                  
                  The BLE pairing failed due to incompatible firmware, but the Flic/PbF can be upgraded. DeclarationObjective-C SCLFlicErrorBLEPairingFailedCanNotBeUpgraded = 17Swift case blePairingFailedCanNotBeUpgraded = 17
- 
                  
                  The BLE pairing failed due to the user presseng cancel in the pair dialog. DeclarationObjective-C SCLFlicErrorBLEPairingFailedUserCanceled = 18Swift case blePairingFailedUserCanceled = 18
- 
                  
                  The BLE pairing failed due to unknown reason. DeclarationObjective-C SCLFlicErrorBLEPairingFailedUnknownReason = 19Swift case blePairingFailedUnknownReason = 19
- 
                  
                  The BLE pairing failed due to a previous pairing already being regisered on iOS. Pairing needs to be removed first. DeclarationObjective-C SCLFlicErrorBLEPairingFailedPreviousPairingAlreadyExisting = 20Swift case blePairingFailedPreviousPairingAlreadyExisting = 20
- 
                  
                  The Flic disconnected during update. DeclarationObjective-C SCLFlicErrorFirmwareUpdateDisconnected = 29Swift case firmwareUpdateDisconnected = 29
- 
                  
                  The backend returned an unexpected response code. DeclarationObjective-C SCLFlicErrorBackendUnexpectedResponseCode = 30Swift case backendUnexpectedResponseCode = 30
- 
                  
                  The button’s verification message was not valid. DeclarationObjective-C SCLFlicErrorIllegalVerificationResponse = 31Swift case illegalVerificationResponse = 31
- 
                  
                  The cryptographic signature generated by the button does not match the one generated by the backend server. DeclarationObjective-C SCLFlicErrorSignaturesNotMatching = 32Swift case signaturesNotMatching = 32
- 
                  
                  The iOS device was unable to performe the bluetooth specific service discovery. DeclarationObjective-C SCLFlicErrorCouldNotDiscoverServices = 33Swift case couldNotDiscoverServices = 33
- 
                  
                  The button was unable to create a stable connection even after a number of re-tries. DeclarationObjective-C SCLFlicErrorConnectionRetryLimitReached = 34Swift case connectionRetryLimitReached = 34
- 
                  
                  This code is send when a code within the Bluetooth’s Security Manager Specification occurs. In this case the SMP code will be included in the Localized Description of the error’s userInfo of the format: “SMP code: %d” DeclarationObjective-C SCLFlicErrorBluetoothSMPErrorCode = 35Swift case bluetoothSMPErrorCode = 35
- 
                  
                  Bluetooth specific error DeclarationObjective-C SCLFlicErrorBluetoothErrorUnknown = 100Swift case bluetoothErrorUnknown = 100
- 
                  
                  Bluetooth specific error DeclarationObjective-C SCLFlicErrorBluetoothErrorInvalidParameters = 101Swift case bluetoothErrorInvalidParameters = 101
- 
                  
                  Bluetooth specific error DeclarationObjective-C SCLFlicErrorBluetoothErrorInvalidHandle = 102Swift case bluetoothErrorInvalidHandle = 102
- 
                  
                  Bluetooth specific error DeclarationObjective-C SCLFlicErrorBluetoothErrorNotConnected = 103Swift case bluetoothErrorNotConnected = 103
- 
                  
                  Bluetooth specific error DeclarationObjective-C SCLFlicErrorBluetoothErrorOutOfSpace = 104Swift case bluetoothErrorOutOfSpace = 104
- 
                  
                  Bluetooth specific error DeclarationObjective-C SCLFlicErrorBluetoothErrorOperationCancelled = 105Swift case bluetoothErrorOperationCancelled = 105
- 
                  
                  Bluetooth specific error DeclarationObjective-C SCLFlicErrorBluetoothErrorConnectionLost = 106Swift case bluetoothErrorConnectionLost = 106
- 
                  
                  Bluetooth specific error DeclarationObjective-C SCLFlicErrorBluetoothErrorPeripheralDisconnected = 107Swift case bluetoothErrorPeripheralDisconnected = 107
- 
                  
                  Bluetooth specific error DeclarationObjective-C SCLFlicErrorBluetoothErrorUUIDNotAllowed = 108Swift case bluetoothErrorUUIDNotAllowed = 108
- 
                  
                  Bluetooth specific error DeclarationObjective-C SCLFlicErrorBluetoothErrorAlreadyAdvertising = 109Swift case bluetoothErrorAlreadyAdvertising = 109
- 
                  
                  Bluetooth specific error DeclarationObjective-C SCLFlicErrorBluetoothErrorConnectionFailed = 110Swift case bluetoothErrorConnectionFailed = 110
- 
                  
                  Bluetooth specific error DeclarationObjective-C SCLFlicErrorBluetoothErrorConnectionLimitReached = 111Swift case bluetoothErrorConnectionLimitReached = 111
- 
                  
                  Connection was refused by Flic DeclarationObjective-C SCLFlicErrorFlicRefusedConnection = 200Swift case flicRefusedConnection = 200
 SCLFlicError Enumeration Reference
        SCLFlicError Enumeration Reference