DeviceReset

data class DeviceReset(val resetReason: Int, val appResetCounter: Int, val appResetLoopCounter: Int, val appUptimeSeconds: Int) : BootloaderDiagnosticData

Why the device last restarted, and how often it has been restarting.

Constructors

Link copied to clipboard
constructor(resetReason: Int, appResetCounter: Int, appResetLoopCounter: Int, appUptimeSeconds: Int)

Properties

Link copied to clipboard

How many times the application has reset.

Link copied to clipboard

How many times the application reset again before it had run properly, which is what a boot loop looks like.

Link copied to clipboard

How long the application ran before the last reset.

Link copied to clipboard

Code the microcontroller recorded for the reset.

Link copied to clipboard

Which piece of diagnostic data this is.