SidewalkError

sealed class SidewalkError : Throwable

Error occurred within Amazon Sidewalk Mobile SDK.

Types

Link copied to clipboard

The SidewalkAuthProvider instance that provides the auth token does not exist.

Link copied to clipboard
class BluetoothError(underlyingMessage: String?) : SidewalkError

Error returned by Bluetooth layer.

Link copied to clipboard

Bluetooth is currently powered off.

Link copied to clipboard

The application isn’t authorized to use the Bluetooth low energy role.

Link copied to clipboard

This mobile device doesn't support the Bluetooth low energy central or client role.

Link copied to clipboard

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.

Link copied to clipboard
class ConnectionBusy(underlyingMessage: String?) : SidewalkError

The connection is busy because a mutual exclusive operation is still in progress.

Link copied to clipboard
class DecryptionFailed(underlyingMessage: String?) : SidewalkError

Decryption failed due to master key mismatch.

Link copied to clipboard

The Bluetooth connection with the Amazon Sidewalk device was disconnected.

Link copied to clipboard
class DeviceDisconnectedAfterWrite(val id: Int, underlyingMessage: String?) : SidewalkError

The Bluetooth connection was terminated by Amazon Sidewalk device after writing a message.

Link copied to clipboard
class DeviceError(underlyingMessage: String?) : SidewalkError

Error returned by the Amazon Sidewalk device.

Link copied to clipboard

The Amazon Sidewalk device is not registered.

Link copied to clipboard

The Amazon Sidewalk device is not supported for the operation. Possible reasons include hardware limitation or other issues.

Link copied to clipboard

The connected device firmware is too old and is no longer supported by Amazon Sidewalk.

Link copied to clipboard

The Amazon Sidewalk device descriptor provided is empty.

Link copied to clipboard

There is an issue with the Amazon Sidewalk device. Please factory reset the Amazon Sidewalk device.

Link copied to clipboard
class FactoryResetError(underlyingMessage: String) : SidewalkError

Device Factory Reset failed during Deregistration.

Link copied to clipboard
class FailedToUploadDeviceMetrics(val failed: Int, val total: Int, val errors: List<Throwable>) : SidewalkError

Failed to completely upload device metrics.

Link copied to clipboard

GPS is currently disabled.

Link copied to clipboard
class HttpError(underlyingMessage: String?) : SidewalkError

Unhandled HTTP error code returned by Amazon Sidewalk cloud.

Link copied to clipboard
class InvalidInputError(underlyingMessage: String? = null) : SidewalkError

The input provided via public interface is not supported by the operation.

Link copied to clipboard

The Amazon Sidewalk device is registered to a different user. Please deregister the device first.

Link copied to clipboard

No permission to access location.

Link copied to clipboard
class NetworkError(underlyingMessage: String?) : SidewalkError

Request failed due to network issues.

Link copied to clipboard

Network is currently disabled.

Link copied to clipboard

No metrics to upload from the connected Amazon Sidewalk device.

Link copied to clipboard
class NotOutOfBoxExperienceMode(underlyingMessage: String?) : SidewalkError

The connected Amazon Sidewalk device is not in out-of-box experience mode.

Link copied to clipboard
class ObtainAuthTokenError(underlyingMessage: String?) : SidewalkError

Failed to obtain the auth token from SidewalkAuthProvider.

Link copied to clipboard

Obtain auth token from SidewalkAuthProvider timed out.

Link copied to clipboard

There is an issue with the Amazon Sidewalk device. Please reboot the Amazon Sidewalk device.

Link copied to clipboard

There is a fatal issue with the Amazon Sidewalk device. Please contact us for help.

Link copied to clipboard
class SdkError(underlyingMessage: String?) : SidewalkError

Error occurred within the Amazon Sidewalk Mobile SDK.

Link copied to clipboard

The Amazon Sidewalk Mobile SDK version is too old and is no longer supported by Amazon Sidewalk.

Link copied to clipboard
class ServerError(underlyingMessage: String?) : SidewalkError

Error occurred within Amazon Sidewalk cloud.

Link copied to clipboard

The auth token provided by SidewalkAuthProvider is not valid.

Link copied to clipboard

The Amazon Sidewalk device provided is not recognized by the Amazon Sidewalk network.

Functions

Link copied to clipboard
fun addSuppressed(p0: Throwable)
Link copied to clipboard
open fun fillInStackTrace(): Throwable
Link copied to clipboard
open fun getLocalizedMessage(): String
Link copied to clipboard
open fun getStackTrace(): Array<StackTraceElement>
Link copied to clipboard
fun getSuppressed(): Array<Throwable>
Link copied to clipboard
open fun initCause(p0: Throwable): Throwable
Link copied to clipboard
open fun printStackTrace()
open fun printStackTrace(p0: PrintStream)
open fun printStackTrace(p0: PrintWriter)
Link copied to clipboard
open fun setStackTrace(p0: Array<StackTraceElement>)

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
open override val message: String

Inheritors

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard