SidewalkError
public enum SidewalkError : CustomNSError
Error occurred within Amazon Sidewalk Mobile SDK.
-
The Amazon Sidewalk Mobile SDK version is too old and is no longer supported by Amazon Sidewalk.
Declaration
Swift
case sdkVersionUnsupported
-
The connected device firmware is too old and is no longer supported by Amazon Sidewalk.
Declaration
Swift
case deviceVersionUnsupported
-
Bluetooth is currently powered off.
Declaration
Swift
case bluetoothPoweredOff
-
The application isn’t authorized to use the Bluetooth low energy role.
Declaration
Swift
case bluetoothUnauthorized
-
This mobile device doesn’t support the Bluetooth low energy central or client role.
Declaration
Swift
case bluetoothUnsupported
-
The Bluetooth connection with the Amazon Sidewalk device was disconnected.
Declaration
Swift
case deviceDisconnected
-
The
SidewalkAuthProviding
instance that provides the auth token does not exist.Declaration
Swift
case authProviderMissing
-
Failed to obtain the auth token from
SidewalkAuthProviding
.Declaration
Swift
case obtainAuthTokenError(String, Error)
-
Obtain auth token from
SidewalkAuthProviding
timed out.Declaration
Swift
case obtainAuthTokenTimeout
-
The auth token provided by
SidewalkAuthProviding
is not valid.Declaration
Swift
case unauthorized
-
The Amazon Sidewalk device is registered to a different user. Please deregister the Amazon Sidewalk device first.
Declaration
Swift
case invalidUser
-
There is an issue with the Amazon Sidewalk device. Please reboot the Amazon Sidewalk device.
Declaration
Swift
case rebootDevice(String)
-
There is an issue with the Amazon Sidewalk device. Please factory reset the Amazon Sidewalk device.
Declaration
Swift
case factoryResetDevice(String)
-
There is a fatal issue with the Amazon Sidewalk device. Please contact us for help.
Declaration
Swift
case requestDeviceSupport(String)
-
The Amazon Sidewalk device provided is not recognized by the Amazon Sidewalk network.
Declaration
Swift
case unrecognizedDevice
-
The connected Amazon Sidewalk device is not in provisioning mode.
Declaration
Swift
case deviceNotInRegistrationMode
-
Error occurred within the Amazon Sidewalk Mobile SDK.
Declaration
Swift
case sdkError(String)
-
Error returned by the Amazon Sidewalk device.
Declaration
Swift
case deviceError(String)
-
Error occurred within Amazon Sidewalk cloud.
Declaration
Swift
case serverError(String)
-
Unhandled HTTP error code returned by Amazon Sidewalk cloud.
Declaration
Swift
case httpError(String)
-
Request failed due to network issues.
Declaration
Swift
case networkError(String, Error)
-
Error returned by Bluetooth layer.
Declaration
Swift
case bluetoothError(String, Error?)
-
Bluetooth connection terminated by Amazon Sidewalk device after writing a message.
Declaration
Swift
case disconnectAfterWrite(String)
-
Decryption failed due to master key mismatch.
Declaration
Swift
case decryptionFailed
-
Device factory reset failed during deregistration.
Declaration
Swift
case factoryResetError(String)
-
The device descriptor provided is empty.
Declaration
Swift
case emptyDeviceDescriptor
-
The Amazon Sidewalk device is not registered.
Declaration
Swift
case deviceNotRegistered
-
The connection is busy because a mutual exclusive operation is still in progress.
Declaration
Swift
case connectionBusy(String)
-
No device metrics to upload from Amazon Sidewalk device.
Declaration
Swift
case noMetricsToUpload
-
Failed to completely upload device metrics.
Declaration
Swift
case failedToUploadDeviceMetrics(Int, Int, [SidewalkError])
-
The Amazon Sidewalk device is not supported for the operation. Possible reasons include hardware limitation or other issues.
Declaration
Swift
case deviceUnsupported(String?)
-
The input provided via public interface is not supported by the operation.
Declaration
Swift
case invalidInput(String)
-
The command has been denied due to device pending reset. Amazon Sidewalk Mobile SDK has successfully reset the device. Please register the device before attempting to perform actions only supported for registered devices.
Declaration
Swift
case commandDeniedDeviceReset
-
The domain of the error.
Declaration
Swift
public static var errorDomain: String
-
The error code within the given domain.
Declaration
Swift
public var errorCode: Int { get }
-
The user-info dictionary.
Declaration
Swift
public var errorUserInfo: [String : Any] { get }