From 72ae0129648e0f799e56a9086ebd98be47f6da3f Mon Sep 17 00:00:00 2001 From: cfif Date: Fri, 24 Jan 2025 13:22:32 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=B5=D1=80=D0=B5=D0=BD=D0=BE=D1=81=20?= =?UTF-8?q?=D0=BD=D0=B0=20=D0=BD=D0=BE=D0=B2=D1=83=D1=8E=20=D0=BE=D1=80?= =?UTF-8?q?=D0=B3=D0=B0=D0=BD=D0=B8=D0=B7=D0=B0=D1=86=D0=B8=D1=8E=20GONEC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 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