CmFirmwareUpdateError

Defines a hierarchy of errors that can occur during the firmware update process, each with a specific error message detailing the issue.

Inheritors

Types

Link copied to clipboard

Indicates that the firmware update process was explicitly aborted before completion either by the user or by the system.

Link copied to clipboard

Occurs when Bluetooth functionality is disabled on the device, preventing any update operations.

Link copied to clipboard

Indicates that the module is not fully connected, preventing any update operations.

Link copied to clipboard

Signifies a network problem that prevented fetching the firmware update from the server.

Link copied to clipboard

Occurs when there is no available update to apply.

Link copied to clipboard

Represents an unexpected error during a firmware update.

Link copied to clipboard

Indicates a failure to communicate to the module the intention to start a firmware update. Possibly due to communication issues with the module.

Link copied to clipboard

Represents a scenario where a firmware update attempt is made while another update is already in progress.

Link copied to clipboard

Represents an error during the upload phase of the update.

Properties

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

A human-readable message that describes the nature of the error.

Functions

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
open override fun toString(): String