From 2bad0136d44a848c4ea26f310ce4f3f5c58f2fe6 Mon Sep 17 00:00:00 2001 From: cfif Date: Mon, 26 May 2025 14:41:45 +0300 Subject: [PATCH] Init --- DeviceDataRuntime.c | 9 ++++++++ DeviceDataRuntime.h | 51 +++++++++++++++++++++++++++++++++++++++++++++ modular.json | 12 +++++++++++ 3 files changed, 72 insertions(+) create mode 100644 DeviceDataRuntime.c create mode 100644 DeviceDataRuntime.h create mode 100644 modular.json diff --git a/DeviceDataRuntime.c b/DeviceDataRuntime.c new file mode 100644 index 0000000..e63e26b --- /dev/null +++ b/DeviceDataRuntime.c @@ -0,0 +1,9 @@ +// +// Created by xemon on 19.12.22. +// + +#include "DeviceDataRuntime.h" + +void DeviceDataRuntime_InitDefaults(tDeviceDataRuntime *env) { + env->enableGnssUpdate = true; +} diff --git a/DeviceDataRuntime.h b/DeviceDataRuntime.h new file mode 100644 index 0000000..45e1a80 --- /dev/null +++ b/DeviceDataRuntime.h @@ -0,0 +1,51 @@ +// +// Created by xemon on 19.12.22. +// + +#ifndef UVEOS_ON_NATION_DEVICEDATARUNTIME_H +#define UVEOS_ON_NATION_DEVICEDATARUNTIME_H + +#include +#include +//#include +#include "Settings_General.h" +#include "Settings_Basic_Access.h" +#include "Settings_Frequency_Speed.h" +#include "Settings_Tracert.h" +#include "Settings_Network.h" +#include "Settings_Transceiver.h" +#include "Settings_RS485_Bluetooth.h" +#include "Settings_Date_Time.h" +#include "Settings_GSM.h" +#include "Settings_Transmitter.h" +#include "Settings_Msd.h" +#include "Settings_Ams_Radar.h" +#include "Settings_LoRaWan.h" + +typedef struct { + bool enableGnssUpdate; + + char BannedSAT_ex[255]; + bool almaError; + + + tSettings_General Settings_General; + tSettings_Basic_Access Settings_Basic_Access; + tSettings_Frequency_Speed Settings_Frequency_Speed; + tSettings_Tracert Settings_Tracert; + tSettings_Network Settings_Network; + tSettings_Transceiver Settings_Transceiver; + tSettings_Date_Time Settings_Date_Time; + tSettings_GSM Settings_GSM; + tSettings_RS485_Bluetooth Settings_RS485_Bluetooth; + tSettings_Transmitter Settings_Transmitter; + tSettings_Msd Settings_Msd; + tSettings_AmsRadar Settings_AmsRadar; + tSettings_LoRaWan Settings_LoRaWan; + +} tDeviceDataRuntime; + +void DeviceDataRuntime_InitDefaults(tDeviceDataRuntime *env); + + +#endif //UVEOS_ON_NATION_DEVICEDATARUNTIME_H diff --git a/modular.json b/modular.json new file mode 100644 index 0000000..5e4ed34 --- /dev/null +++ b/modular.json @@ -0,0 +1,12 @@ +{ + "dep": [ + ], + "cmake": { + "inc_dirs": [ + "./" + ], + "srcs": [ + "./**.c" + ] + } +} \ No newline at end of file