SidewalkError

sealed class SidewalkError : Throwable

Error occurred within 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
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 Sidewalk device was disconnected.

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

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

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

Error returned by the Sidewalk device.

Link copied to clipboard

The Sidewalk device is not registered.

Link copied to clipboard

The 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 Sidewalk.

Link copied to clipboard

The Sidewalk device descriptor provided is empty.

Link copied to clipboard

There is an issue with the Sidewalk device. Please factory reset the 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 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 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 Sidewalk device.

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

The connected 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 Sidewalk device. Please reboot the Sidewalk device.

Link copied to clipboard

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

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

Error occurred within the Sidewalk Mobile SDK.

Link copied to clipboard

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

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

Error occurred within Sidewalk cloud.

Link copied to clipboard

The auth token provided by SidewalkAuthProvider is not valid.

Link copied to clipboard

The Sidewalk device provided is not recognized by the 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