Ajout polling du statut du board

This commit is contained in:
2024-02-22 16:11:48 -05:00
parent 098863edb9
commit da2dd28f1c
25 changed files with 1100 additions and 140 deletions
@@ -1,6 +1,7 @@
#ifndef COMPUTERBOARDINTERFACE_H
#define COMPUTERBOARDINTERFACE_H
#include "minwindef.h"
#include "ComputerBoardState.h"
#define CPU_DEFAULT_WATCHDOG_TIMEOUT 600 //10 minutes.
#define CPU_LIBRARY_NAME "dtSBC87853x64"
@@ -16,6 +17,7 @@ public:
int StartCPUWatchdog(/*int TimeoutInSeconds = CPU_DEFAULT_WATCHDOG_TIMEOUT*/); //Timeout in seconds
int StopCPUWatchdog();
int KickCPUWatchdog();
CComputerBoardState GetComputerBoardState();
int SetWatchdogSettings(CCPUWatchdogConfig *Settings);