we could read the kernel data and make a json file

This commit is contained in:
2024-06-25 20:46:54 +02:00
parent 8d2fee2406
commit bd3078bdef
30 changed files with 536 additions and 4603 deletions

View File

@@ -19,7 +19,7 @@ private:
int mFdRpmsg[2] = {-1, -1};
RTSCoproHelper coproHelper;
std::map<std::string, RTSMonFrame*> rtsMonFrames;
std::map<int, RTSMonFrame*> rtsMonFrames;
pthread_t monThread;
@@ -30,12 +30,13 @@ public:
//static RTSMonitoringTask& Instance();
bool Init();
bool CreateMonitoring(std::string id, int samplerate, int sampleperiod, int downtime, std::string status);
bool CreateMonitoring(int id, std::string name, int samplerate, int sampleperiod, int downtime, std::string status);
bool LoadFW();
bool Start();
bool Stop();
private:
static void* Run(void *obj);
bool Load();
};