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

Defined in:

matter/cluster/definitions/general_diagnostics.cr

Enum Members

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 Method Summary

Instance Method Detail

def brown_out_reset? #

Returns true if this enum value equals BrownOutReset


[View source]
def hardware_watchdog_reset? #

Returns true if this enum value equals HardwareWatchdogReset


[View source]
def power_on_reboot? #

Returns true if this enum value equals PowerOnReboot


[View source]
def software_reset? #

Returns true if this enum value equals SoftwareReset


[View source]
def software_update_completed? #

Returns true if this enum value equals SoftwareUpdateCompleted


[View source]
def software_watchdog_reset? #

Returns true if this enum value equals SoftwareWatchdogReset


[View source]
def unspecified? #

Returns true if this enum value equals Unspecified


[View source]