SensorUpdateInfoParams

data class SensorUpdateInfoParams(val isUpgradeFailed: Boolean, val currentFirmware: String, val failedUpgradeVersion: String, val errorCode: Int)

Data class representing the parameters related to the sensor update information.

This class is used to encapsulate the details regarding an update operation on a sensor device, including whether the upgrade was successful, the current firmware version, the version that failed to upgrade, and any associated error code.

Parameters

isUpgradeFailed

A boolean value indicating whether the upgrade process failed. If true, the upgrade was unsuccessful; otherwise, it was successful.

currentFirmware

The current version of the firmware installed on the sensor.

failedUpgradeVersion

The version of the firmware that failed to upgrade to. This is only relevant if the upgrade failed.

errorCode

The error code representing the specific failure encountered during the upgrade, or 0 if there was no error.

Constructors

Link copied to clipboard
constructor(isUpgradeFailed: Boolean, currentFirmware: String, failedUpgradeVersion: String, errorCode: Int)

Properties

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