enum

Matter::Cluster::Definitions::GeneralDiagnostics::BootReason

Inherits Enum < Comparable < Value < Object

Constants

Unspecified = 0_u8

The Node is unable to identify the Power-On reason as one of the other provided enumeration values.

PowerOnReboot = 1_u8

The Node has booted as the result of physical interaction with the device resulting in a reboot.

BrownOutReset = 2_u8

The Node has rebooted as the result of a brown-out of the Node’s power supply.

SoftwareWatchdogReset = 3_u8

The Node has rebooted as the result of a software watchdog timer.

HardwareWatchdogReset = 4_u8

The Node has rebooted as the result of a hardware watchdog timer.

SoftwareUpdateCompleted = 5_u8

The Node has rebooted as the result of a completed software update.

SoftwareReset = 6_u8

The Node has rebooted as the result of a software initiated reboot.

Instance methods

brown_out_reset?

Returns true if this enum value equals BrownOutReset

Source
hardware_watchdog_reset?

Returns true if this enum value equals HardwareWatchdogReset

Source
power_on_reboot?

Returns true if this enum value equals PowerOnReboot

Source
software_reset?

Returns true if this enum value equals SoftwareReset

Source
software_update_completed?

Returns true if this enum value equals SoftwareUpdateCompleted

Source
software_watchdog_reset?

Returns true if this enum value equals SoftwareWatchdogReset

Source
unspecified?

Returns true if this enum value equals Unspecified

Source