watchdog handling finished
This commit is contained in:
@ -1,4 +1,5 @@
|
||||
#include <cstdint>
|
||||
#include <string>
|
||||
|
||||
#define WATCHDOG_VERBOSE_LEVEL 1
|
||||
/**
|
||||
@ -13,4 +14,11 @@ static constexpr int TIMEOUT_MS = 10 * 1000;
|
||||
const std::string FIFO_NAME = "/tmp/watchdog-pipe";
|
||||
const std::string RUNNING_FILE_NAME = "/tmp/obsw-running";
|
||||
|
||||
// Suspend watchdog operations temporarily
|
||||
static constexpr char SUSPEND_CHAR = 's';
|
||||
// Resume watchdog operations
|
||||
static constexpr char RESTART_CHAR = 'b';
|
||||
// Causes the watchdog to close down
|
||||
static constexpr char CANCEL_CHAR = 'c';
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user