diff --git a/include/SysfsRead.hpp b/include/SysfsRead.hpp new file mode 100644 index 0000000..9dde087 --- /dev/null +++ b/include/SysfsRead.hpp @@ -0,0 +1,20 @@ +// SysfsRead.hpp +// +// SPDX-License-Identifier GPL-3.0-or-later +// Author: Unai Blazquez Gomez + +#pragma once + +enum class SysfsStatus +{ + /// @brief File cannot be opened or does not exist. + Unreachable, + /// @brief File exists but is just empty. + Empty, + /// @brief File content indicates taht production is enabled (e.g. "1") + Enabled, + /// @brief File requests a cooldown ("error: temp too high") + ErrorTempTooHigh, + /// @brief File contains an UnexpectedValue; producer must not send. + UnexpectedValue +};