SCLFlicError Constants Reference
Declared in | SCLFlicButton.h |
---|
SCLFlicError
@enum SCLFlicError
These enums represents the different error codes that can be sent on both the SCLFlicButton and SCLFlicManager classes.
Definition
typedef NS_ENUM(NSInteger, SCLFlicError ) {
SCLFlicErrorUnknown = 0,
SCLFlicErrorCouldNotCompleteTask = 1,
SCLFlicErrorConnectionFailed = 2,
SCLFlicErrorCouldNotUpdateRSSI = 3,
SCLFlicErrorButtonIsPrivate = 10,
SCLFlicErrorCryptographicFailure = 11,
SCLFlicErrorMissingData = 13,
SCLFlicErrorInvalidSignature = 14,
SCLFlicErrorButtonAlreadyGrabbed = 15,
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
SCLFlicButton.h
. SCLFlicErrorCouldNotCompleteTask
-
General error code that can be sent to let you know that a started task did not complete.
Declared In
SCLFlicButton.h
. SCLFlicErrorConnectionFailed
-
If a connection to a button failed for unknown reasons. This could for example be if it is brought out of range during a connection sequense.
Declared In
SCLFlicButton.h
. SCLFlicErrorCouldNotUpdateRSSI
-
The RSSI value could not be read.
Declared In
SCLFlicButton.h
. SCLFlicErrorButtonIsPrivate
-
If you try to access a button that is currently being used with another device, or another app on the same iOS device.
Declared In
SCLFlicButton.h
. SCLFlicErrorCryptographicFailure
-
A crypthographic error has occurred.
Declared In
SCLFlicButton.h
. SCLFlicErrorMissingData
-
The request did not contain enough data to be completed.
Declared In
SCLFlicButton.h
. SCLFlicErrorInvalidSignature
-
The signature over the data is not valid. The data might be corrupt.
Declared In
SCLFlicButton.h
. SCLFlicErrorButtonAlreadyGrabbed
-
You are trying to grab a Flic button that you have already grabbed before.
Declared In
SCLFlicButton.h
. SCLFlicErrorBluetoothErrorUnknown
-
Bluetooth specific error
Declared In
SCLFlicButton.h
. SCLFlicErrorBluetoothErrorInvalidParameters
-
Bluetooth specific error
Declared In
SCLFlicButton.h
. SCLFlicErrorBluetoothErrorInvalidHandle
-
Bluetooth specific error
Declared In
SCLFlicButton.h
. SCLFlicErrorBluetoothErrorNotConnected
-
Bluetooth specific error
Declared In
SCLFlicButton.h
. SCLFlicErrorBluetoothErrorOutOfSpace
-
Bluetooth specific error
Declared In
SCLFlicButton.h
. SCLFlicErrorBluetoothErrorOperationCancelled
-
Bluetooth specific error
Declared In
SCLFlicButton.h
. SCLFlicErrorBluetoothErrorConnectionLost
-
Bluetooth specific error
Declared In
SCLFlicButton.h
. SCLFlicErrorBluetoothErrorPeripheralDisconnected
-
Bluetooth specific error
Declared In
SCLFlicButton.h
. SCLFlicErrorBluetoothErrorUUIDNotAllowed
-
Bluetooth specific error
Declared In
SCLFlicButton.h
. SCLFlicErrorBluetoothErrorAlreadyAdvertising
-
Bluetooth specific error
Declared In
SCLFlicButton.h
. SCLFlicErrorBluetoothErrorConnectionFailed
-
Bluetooth specific error
Declared In
SCLFlicButton.h
. SCLFlicErrorBluetoothErrorConnectionLimitReached
-
Bluetooth specific error
Declared In
SCLFlicButton.h
. SCLFlicErrorFlicRefusedConnection
-
Connection was refused by Flic
Declared In
SCLFlicButton.h
.
Declared In
SCLFlicButton.h