Sensor Update Info Params
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
is Upgrade Failed
A boolean value indicating whether the upgrade process failed. If true, the upgrade was unsuccessful; otherwise, it was successful.
current Firmware
The current version of the firmware installed on the sensor.
failed Upgrade Version
The version of the firmware that failed to upgrade to. This is only relevant if the upgrade failed.
error Code
The error code representing the specific failure encountered during the upgrade, or 0 if there was no error.