From 47da3dbce5c896612ce0e06b89e76dd621fc8554 Mon Sep 17 00:00:00 2001 From: Edward Emelianov Date: Wed, 24 Aug 2022 12:11:31 +0300 Subject: [PATCH] add Hydreon monitoring --- .gitignore | 8 - Auxiliary_utils/Hydreon/Hydreon_RG11.cflags | 1 + Auxiliary_utils/Hydreon/Hydreon_RG11.config | 3 + Auxiliary_utils/Hydreon/Hydreon_RG11.creator | 1 + .../Hydreon/Hydreon_RG11.creator.user | 157 ++++++++++++ Auxiliary_utils/Hydreon/Hydreon_RG11.cxxflags | 1 + Auxiliary_utils/Hydreon/Hydreon_RG11.files | 5 + Auxiliary_utils/Hydreon/Hydreon_RG11.includes | 1 + Auxiliary_utils/Hydreon/Makefile | 53 ++++ Auxiliary_utils/Hydreon/cmdlnopts.c | 89 +++++++ Auxiliary_utils/Hydreon/cmdlnopts.h | 32 +++ Auxiliary_utils/Hydreon/dumpregs.c | 110 ++++++++ Auxiliary_utils/Hydreon/hedreon_fields | 235 ++++++++++++++++++ Auxiliary_utils/Hydreon/hydreon.c | 158 ++++++++++++ Auxiliary_utils/Hydreon/hydreon.h | 80 ++++++ Auxiliary_utils/PCS_create/PCS_create.cflags | 1 + Auxiliary_utils/PCS_create/PCS_create.config | 3 + Auxiliary_utils/PCS_create/PCS_create.creator | 1 + .../PCS_create/PCS_create.creator.user | 170 +++++++++++++ .../PCS_create/PCS_create.cxxflags | 1 + Auxiliary_utils/PCS_create/PCS_create.files | 5 + .../PCS_create/PCS_create.includes | 1 + Auxiliary_utils/SiderealServoII/SSII.cflags | 1 + Auxiliary_utils/SiderealServoII/SSII.config | 6 + Auxiliary_utils/SiderealServoII/SSII.creator | 1 + .../SiderealServoII/SSII.creator.user | 177 +++++++++++++ .../SiderealServoII/SSII.creator.user.7bd84e3 | 157 ++++++++++++ .../SiderealServoII/SSII.creator.user.cf63021 | 163 ++++++++++++ Auxiliary_utils/SiderealServoII/SSII.cxxflags | 1 + Auxiliary_utils/SiderealServoII/SSII.files | 9 + Auxiliary_utils/SiderealServoII/SSII.includes | 1 + Auxiliary_utils/Weather_chk/weatherchk.cflags | 1 + Auxiliary_utils/Weather_chk/weatherchk.config | 2 + .../Weather_chk/weatherchk.creator | 1 + .../Weather_chk/weatherchk.creator.user | 170 +++++++++++++ .../Weather_chk/weatherchk.creator.user.22 | 165 ++++++++++++ .../Weather_chk/weatherchk.cxxflags | 1 + Auxiliary_utils/Weather_chk/weatherchk.files | 5 + .../Weather_chk/weatherchk.includes | 1 + Daemons/10micron_stellarium/StelD.cflags | 1 + .../10micron_stellarium/StelD.creator.user | 160 ++++++++++++ .../StelD.creator.user.7bd84e3.22 | 165 ++++++++++++ .../StelD.creator.user.cf63021.4.9-pre1 | 167 +++++++++++++ Daemons/10micron_stellarium/StelD.cxxflags | 1 + Daemons/domedaemon-astrosib/domeasib.cflags | 1 + Daemons/domedaemon-astrosib/domeasib.config | 2 + Daemons/domedaemon-astrosib/domeasib.creator | 1 + .../domedaemon-astrosib/domeasib.creator.user | 157 ++++++++++++ Daemons/domedaemon-astrosib/domeasib.cxxflags | 1 + Daemons/domedaemon-astrosib/domeasib.files | 11 + Daemons/domedaemon-astrosib/domeasib.includes | 1 + .../netdaemon-template.config | 3 + .../netdaemon-template.creator | 1 + .../netdaemon-template.files | 11 + .../netdaemon-template.includes | 1 + Daemons/netdaemon/netdaemon-template.cflags | 1 + Daemons/netdaemon/netdaemon-template.config | 1 + Daemons/netdaemon/netdaemon-template.creator | 1 + .../netdaemon/netdaemon-template.creator.user | 157 ++++++++++++ .../netdaemon-template.creator.user.4.9-pre1 | 167 +++++++++++++ Daemons/netdaemon/netdaemon-template.cxxflags | 1 + Daemons/netdaemon/netdaemon-template.files | 7 + Daemons/netdaemon/netdaemon-template.includes | 1 + Daemons/weatherdaemon/weatherdaemon.cflags | 1 + Daemons/weatherdaemon/weatherdaemon.config | 1 + Daemons/weatherdaemon/weatherdaemon.creator | 1 + .../weatherdaemon/weatherdaemon.creator.user | 157 ++++++++++++ .../weatherdaemon.creator.user.4.9-pre1 | 167 +++++++++++++ Daemons/weatherdaemon/weatherdaemon.cxxflags | 1 + Daemons/weatherdaemon/weatherdaemon.files | 9 + Daemons/weatherdaemon/weatherdaemon.includes | 1 + 71 files changed, 3328 insertions(+), 8 deletions(-) create mode 100644 Auxiliary_utils/Hydreon/Hydreon_RG11.cflags create mode 100644 Auxiliary_utils/Hydreon/Hydreon_RG11.config create mode 100644 Auxiliary_utils/Hydreon/Hydreon_RG11.creator create mode 100644 Auxiliary_utils/Hydreon/Hydreon_RG11.creator.user create mode 100644 Auxiliary_utils/Hydreon/Hydreon_RG11.cxxflags create mode 100644 Auxiliary_utils/Hydreon/Hydreon_RG11.files create mode 100644 Auxiliary_utils/Hydreon/Hydreon_RG11.includes create mode 100644 Auxiliary_utils/Hydreon/Makefile create mode 100644 Auxiliary_utils/Hydreon/cmdlnopts.c create mode 100644 Auxiliary_utils/Hydreon/cmdlnopts.h create mode 100644 Auxiliary_utils/Hydreon/dumpregs.c create mode 100644 Auxiliary_utils/Hydreon/hedreon_fields create mode 100644 Auxiliary_utils/Hydreon/hydreon.c create mode 100644 Auxiliary_utils/Hydreon/hydreon.h create mode 100644 Auxiliary_utils/PCS_create/PCS_create.cflags create mode 100644 Auxiliary_utils/PCS_create/PCS_create.config create mode 100644 Auxiliary_utils/PCS_create/PCS_create.creator create mode 100644 Auxiliary_utils/PCS_create/PCS_create.creator.user create mode 100644 Auxiliary_utils/PCS_create/PCS_create.cxxflags create mode 100644 Auxiliary_utils/PCS_create/PCS_create.files create mode 100644 Auxiliary_utils/PCS_create/PCS_create.includes create mode 100644 Auxiliary_utils/SiderealServoII/SSII.cflags create mode 100644 Auxiliary_utils/SiderealServoII/SSII.config create mode 100644 Auxiliary_utils/SiderealServoII/SSII.creator create mode 100644 Auxiliary_utils/SiderealServoII/SSII.creator.user create mode 100644 Auxiliary_utils/SiderealServoII/SSII.creator.user.7bd84e3 create mode 100644 Auxiliary_utils/SiderealServoII/SSII.creator.user.cf63021 create mode 100644 Auxiliary_utils/SiderealServoII/SSII.cxxflags create mode 100644 Auxiliary_utils/SiderealServoII/SSII.files create mode 100644 Auxiliary_utils/SiderealServoII/SSII.includes create mode 100644 Auxiliary_utils/Weather_chk/weatherchk.cflags create mode 100644 Auxiliary_utils/Weather_chk/weatherchk.config create mode 100644 Auxiliary_utils/Weather_chk/weatherchk.creator create mode 100644 Auxiliary_utils/Weather_chk/weatherchk.creator.user create mode 100644 Auxiliary_utils/Weather_chk/weatherchk.creator.user.22 create mode 100644 Auxiliary_utils/Weather_chk/weatherchk.cxxflags create mode 100644 Auxiliary_utils/Weather_chk/weatherchk.files create mode 100644 Auxiliary_utils/Weather_chk/weatherchk.includes create mode 100644 Daemons/10micron_stellarium/StelD.cflags create mode 100644 Daemons/10micron_stellarium/StelD.creator.user create mode 100644 Daemons/10micron_stellarium/StelD.creator.user.7bd84e3.22 create mode 100644 Daemons/10micron_stellarium/StelD.creator.user.cf63021.4.9-pre1 create mode 100644 Daemons/10micron_stellarium/StelD.cxxflags create mode 100644 Daemons/domedaemon-astrosib/domeasib.cflags create mode 100644 Daemons/domedaemon-astrosib/domeasib.config create mode 100644 Daemons/domedaemon-astrosib/domeasib.creator create mode 100644 Daemons/domedaemon-astrosib/domeasib.creator.user create mode 100644 Daemons/domedaemon-astrosib/domeasib.cxxflags create mode 100644 Daemons/domedaemon-astrosib/domeasib.files create mode 100644 Daemons/domedaemon-astrosib/domeasib.includes create mode 100644 Daemons/netdaemon.deprecated/netdaemon-template.config create mode 100644 Daemons/netdaemon.deprecated/netdaemon-template.creator create mode 100644 Daemons/netdaemon.deprecated/netdaemon-template.files create mode 100644 Daemons/netdaemon.deprecated/netdaemon-template.includes create mode 100644 Daemons/netdaemon/netdaemon-template.cflags create mode 100644 Daemons/netdaemon/netdaemon-template.config create mode 100644 Daemons/netdaemon/netdaemon-template.creator create mode 100644 Daemons/netdaemon/netdaemon-template.creator.user create mode 100644 Daemons/netdaemon/netdaemon-template.creator.user.4.9-pre1 create mode 100644 Daemons/netdaemon/netdaemon-template.cxxflags create mode 100644 Daemons/netdaemon/netdaemon-template.files create mode 100644 Daemons/netdaemon/netdaemon-template.includes create mode 100644 Daemons/weatherdaemon/weatherdaemon.cflags create mode 100644 Daemons/weatherdaemon/weatherdaemon.config create mode 100644 Daemons/weatherdaemon/weatherdaemon.creator create mode 100644 Daemons/weatherdaemon/weatherdaemon.creator.user create mode 100644 Daemons/weatherdaemon/weatherdaemon.creator.user.4.9-pre1 create mode 100644 Daemons/weatherdaemon/weatherdaemon.cxxflags create mode 100644 Daemons/weatherdaemon/weatherdaemon.files create mode 100644 Daemons/weatherdaemon/weatherdaemon.includes diff --git a/.gitignore b/.gitignore index b897296..06c8691 100644 --- a/.gitignore +++ b/.gitignore @@ -23,11 +23,3 @@ *.so *.so.* -# qt-creator -*.config -*.cflags -*.cxxflags -*.creator* -*.files -*.includes - diff --git a/Auxiliary_utils/Hydreon/Hydreon_RG11.cflags b/Auxiliary_utils/Hydreon/Hydreon_RG11.cflags new file mode 100644 index 0000000..68d5165 --- /dev/null +++ b/Auxiliary_utils/Hydreon/Hydreon_RG11.cflags @@ -0,0 +1 @@ +-std=c17 \ No newline at end of file diff --git a/Auxiliary_utils/Hydreon/Hydreon_RG11.config b/Auxiliary_utils/Hydreon/Hydreon_RG11.config new file mode 100644 index 0000000..d6b0e18 --- /dev/null +++ b/Auxiliary_utils/Hydreon/Hydreon_RG11.config @@ -0,0 +1,3 @@ +#define _GNU_SOURCE +#define _XOPEN_SOURCE 1111 + diff --git a/Auxiliary_utils/Hydreon/Hydreon_RG11.creator b/Auxiliary_utils/Hydreon/Hydreon_RG11.creator new file mode 100644 index 0000000..e94cbbd --- /dev/null +++ b/Auxiliary_utils/Hydreon/Hydreon_RG11.creator @@ -0,0 +1 @@ +[General] diff --git a/Auxiliary_utils/Hydreon/Hydreon_RG11.creator.user b/Auxiliary_utils/Hydreon/Hydreon_RG11.creator.user new file mode 100644 index 0000000..fa7bb48 --- /dev/null +++ b/Auxiliary_utils/Hydreon/Hydreon_RG11.creator.user @@ -0,0 +1,157 @@ + + + + + + EnvironmentId + {7bd84e39-ca37-46d3-be9d-99ebea85bc0d} + + + ProjectExplorer.Project.ActiveTarget + 0 + + + ProjectExplorer.Project.EditorSettings + + true + false + true + + Cpp + + CppGlobal + + + + QmlJS + + QmlJSGlobal + + + 2 + KOI8-R + false + 4 + false + 80 + true + true + 1 + true + false + 0 + true + true + 0 + 8 + true + 1 + true + false + true + false + + + + ProjectExplorer.Project.PluginSettings + + + + ProjectExplorer.Project.Target.0 + + Desktop + Desktop + {65a14f9e-e008-4c1b-89df-4eaa4774b6e3} + 0 + 0 + 0 + + /Big/1 + + + + all + + false + + + false + true + GenericProjectManager.GenericMakeStep + + 1 + Сборка + Сборка + ProjectExplorer.BuildSteps.Build + + + + + clean + + true + + + false + true + GenericProjectManager.GenericMakeStep + + 1 + Очистка + Очистка + ProjectExplorer.BuildSteps.Clean + + 2 + false + + По умолчанию + GenericProjectManager.GenericBuildConfiguration + + 1 + + + 0 + Развёртывание + Развёртывание + ProjectExplorer.BuildSteps.Deploy + + 1 + + false + ProjectExplorer.DefaultDeployConfiguration + + 1 + + + 2 + + + ProjectExplorer.CustomExecutableRunConfiguration + + + false + + false + true + false + false + true + + + + 1 + + + + ProjectExplorer.Project.TargetCount + 1 + + + ProjectExplorer.Project.Updater.FileVersion + 22 + + + Version + 22 + + diff --git a/Auxiliary_utils/Hydreon/Hydreon_RG11.cxxflags b/Auxiliary_utils/Hydreon/Hydreon_RG11.cxxflags new file mode 100644 index 0000000..6435dfc --- /dev/null +++ b/Auxiliary_utils/Hydreon/Hydreon_RG11.cxxflags @@ -0,0 +1 @@ +-std=c++17 \ No newline at end of file diff --git a/Auxiliary_utils/Hydreon/Hydreon_RG11.files b/Auxiliary_utils/Hydreon/Hydreon_RG11.files new file mode 100644 index 0000000..519f60a --- /dev/null +++ b/Auxiliary_utils/Hydreon/Hydreon_RG11.files @@ -0,0 +1,5 @@ +cmdlnopts.c +cmdlnopts.h +dumpregs.c +hydreon.c +hydreon.h diff --git a/Auxiliary_utils/Hydreon/Hydreon_RG11.includes b/Auxiliary_utils/Hydreon/Hydreon_RG11.includes new file mode 100644 index 0000000..9c558e3 --- /dev/null +++ b/Auxiliary_utils/Hydreon/Hydreon_RG11.includes @@ -0,0 +1 @@ +. diff --git a/Auxiliary_utils/Hydreon/Makefile b/Auxiliary_utils/Hydreon/Makefile new file mode 100644 index 0000000..dbffd5b --- /dev/null +++ b/Auxiliary_utils/Hydreon/Makefile @@ -0,0 +1,53 @@ +# run `make DEF=...` to add extra defines +PROGRAM := dumpregs +LDFLAGS := -fdata-sections -ffunction-sections -Wl,--gc-sections -Wl,--discard-all +LDFLAGS += -lusefull_macros +SRCS := $(wildcard *.c) +DEFINES := $(DEF) -D_GNU_SOURCE -D_XOPEN_SOURCE=1111 +OBJDIR := mk +CFLAGS += -O2 -Wall -Wextra -Wno-trampolines -std=gnu99 +OBJS := $(addprefix $(OBJDIR)/, $(SRCS:%.c=%.o)) +DEPS := $(OBJS:.o=.d) +TARGFILE := $(OBJDIR)/TARGET +CC = gcc +#TARGET := RELEASE + +ifeq ($(shell test -e $(TARGFILE) && echo -n yes),yes) + TARGET := $(file < $(TARGFILE)) +else + TARGET := RELEASE +endif + +release: $(PROGRAM) + +debug: CFLAGS += -DEBUG -Werror +debug: TARGET := DEBUG +debug: $(PROGRAM) + +$(TARGFILE): $(OBJDIR) + @echo -e "\t\tTARGET: $(TARGET)" + @echo "$(TARGET)" > $(TARGFILE) + +$(PROGRAM) : $(TARGFILE) $(OBJS) + @echo -e "\t\tLD $(PROGRAM)" + $(CC) $(LDFLAGS) $(OBJS) -o $(PROGRAM) + +$(OBJDIR): + @mkdir $(OBJDIR) + +ifneq ($(MAKECMDGOALS),clean) +-include $(DEPS) +endif + +$(OBJDIR)/%.o: %.c + @echo -e "\t\tCC $<" + $(CC) -MD -c $(LDFLAGS) $(CFLAGS) $(DEFINES) -o $@ $< + +clean: + @echo -e "\t\tCLEAN" + @rm -rf $(OBJDIR) 2>/dev/null || true + +xclean: clean + @rm -f $(PROGRAM) + +.PHONY: clean xclean diff --git a/Auxiliary_utils/Hydreon/cmdlnopts.c b/Auxiliary_utils/Hydreon/cmdlnopts.c new file mode 100644 index 0000000..d131bc0 --- /dev/null +++ b/Auxiliary_utils/Hydreon/cmdlnopts.c @@ -0,0 +1,89 @@ +/* geany_encoding=koi8-r + * cmdlnopts.c - the only function that parse cmdln args and returns glob parameters + * + * Copyright 2013 Edward V. Emelianoff + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + * MA 02110-1301, USA. + */ +#include +#include +#include +#include +#include +#include "cmdlnopts.h" +#include "usefull_macros.h" + +/* + * here are global parameters initialisation + */ +static int help; +static glob_pars G; + +// default PID filename: +#define DEFAULT_PIDFILE "/tmp/testcmdlnopts.pid" +// default serial device +#define DEFAULT_DEV "/dev/ttyUSB0" + +// DEFAULTS +// default global parameters +static glob_pars const Gdefault = { + .device = DEFAULT_DEV, + .pidfile = DEFAULT_PIDFILE, + .logfile = NULL, + .timeout = 300, // 5 minute timeout +}; + +/* + * Define command line options by filling structure: + * name has_arg flag val type argptr help +*/ +static myoption cmdlnopts[] = { +// common options + {"help", NO_ARGS, NULL, 'h', arg_int, APTR(&help), _("show this help")}, + {"device", NEED_ARG, NULL, 'd', arg_string, APTR(&G.device), _("serial device name (default: )" DEFAULT_DEV ")")}, + {"logfile", NEED_ARG, NULL, 'l', arg_string, APTR(&G.logfile), _("file to save logs")}, + {"pidfile", NEED_ARG, NULL, 'p', arg_string, APTR(&G.pidfile), _("pidfile (default: " DEFAULT_PIDFILE ")")}, + {"timeout", NEED_ARG, NULL, 't', arg_int, APTR(&G.timeout), _("timeout (seconds) to die if no data on input (default: 5min)")}, + end_option +}; + +/** + * Parse command line options and return dynamically allocated structure + * to global parameters + * @param argc - copy of argc from main + * @param argv - copy of argv from main + * @return allocated structure with global parameters + */ +glob_pars *parse_args(int argc, char **argv){ + int i; + void *ptr; + ptr = memcpy(&G, &Gdefault, sizeof(G)); assert(ptr); + size_t hlen = 1024; + char helpstring[1024], *hptr = helpstring; + snprintf(hptr, hlen, "Usage: %%s [args]\n\n\tWhere args are:\n"); + // format of help: "Usage: progname [args]\n" + change_helpstring(helpstring); + // parse arguments + parseargs(&argc, &argv, cmdlnopts); + if(help) showhelp(-1, cmdlnopts); + if(argc > 0){ + WARNX("Ignore %d unknown parameters: "); + for (i = 0; i < argc; i++) + WARNX("%s", argv[i]); + } + return &G; +} + diff --git a/Auxiliary_utils/Hydreon/cmdlnopts.h b/Auxiliary_utils/Hydreon/cmdlnopts.h new file mode 100644 index 0000000..42c0b1d --- /dev/null +++ b/Auxiliary_utils/Hydreon/cmdlnopts.h @@ -0,0 +1,32 @@ +/* + * This file is part of the Hydreon_RG11 project. + * Copyright 2022 Edward V. Emelianov . + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +#pragma once + +/* + * here are some typedef's for global data + */ +typedef struct{ + char *device; // serial device name + char *pidfile; // name of PID file + char *logfile; // logging to this file + int timeout; // die on timeout (no data on input) +} glob_pars; + + +glob_pars *parse_args(int argc, char **argv); diff --git a/Auxiliary_utils/Hydreon/dumpregs.c b/Auxiliary_utils/Hydreon/dumpregs.c new file mode 100644 index 0000000..48417cb --- /dev/null +++ b/Auxiliary_utils/Hydreon/dumpregs.c @@ -0,0 +1,110 @@ +/* + * This file is part of the Hydreon_RG11 project. + * Copyright 2022 Edward V. Emelianov . + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +#include +#include +#include +#include + +#include "cmdlnopts.h" +#include "hydreon.h" + +static glob_pars *G = NULL; + +void signals(int sig){ + if(sig > 0){ + signal(sig, SIG_IGN); + DBG("Get signal %d, quit.\n", sig); + } + LOGERR("Exit with status %d", sig); + if(G && G->pidfile) // remove unnesessary PID file + unlink(G->pidfile); + hydreon_close(); + exit(sig); +} + +static void dumpRchanges(rg11 *new, rg11 *old){ + DBG("Regular changed"); + uint8_t *n = (uint8_t*) new, *o = (uint8_t*) old; + int start = 1; + for(int i = 0; i < RREGNUM; ++i){ + if(o[i] != n[i]){ + sl_putlogt(start, globlog, LOGLEVEL_MSG, "%s=%d", regname(i), n[i]); + DBG("%s=%d", regname(i), n[i]); + if(start) start = 0; + } + } + uint8_t xOr = new->RGBits ^ old->RGBits; + start = 1; + if(xOr){ + uint8_t f = 1; + for(int i = 0; i < RGBITNUM; ++i, f <<= 1){ + if(xOr & f){ + sl_putlogt(start, globlog, LOGLEVEL_MSG, "%s=%d", rgbitname(i), (new->RGBits & f) ? 1 : 0); + DBG("%s=%d", rgbitname(i), (new->RGBits & f) ? 1 : 0); + if(start) start = 0; + } + } + } +} + +static void dumpSchanges(slowregs *new, slowregs *old){ + DBG("Slow changed"); + uint8_t *n = (uint8_t*) new, *o = (uint8_t*) old; + int start = 1; + for(int i = 0; i < SREGNUM; ++i){ + if(o[i] != n[i]){ + sl_putlogt(start, globlog, LOGLEVEL_MSG, "%s=%d", slowname(i), n[i]); + DBG("%s=%d", slowname(i), n[i]); + if(start) start = 0; + } + } +} + +int main(int argc, char **argv){ + initial_setup(); + char *self = strdup(argv[0]); + G = parse_args(argc, argv); + if(G->timeout < 5) ERRX("Timeout should be not less than 5 seconds"); + if(!G->logfile) ERRX("Point log file name"); + check4running(self, G->pidfile); + if(!hydreon_open(G->device)) return 1; + if(G->logfile) OPENLOG(G->logfile, LOGLEVEL_ANY, 0); + rg11 Rregs, oRregs = {0}; + slowregs Sregs, oSregs = {0}; + signal(SIGTERM, signals); // kill (-15) - quit + signal(SIGHUP, SIG_IGN); // hup - ignore + signal(SIGINT, signals); // ctrl+C - quit + signal(SIGQUIT, signals); // ctrl+\ - quit + signal(SIGTSTP, SIG_IGN); // ignore ctrl+Z + double t0 = dtime(); + while(dtime() - t0 < (double)G->timeout){ // dump only changes + if(!hydreon_getpacket(&Rregs, &Sregs)) continue; + if(memcmp(&Rregs, &oRregs, RREGNUM + 1)){ // Rregs changed -> log changes + dumpRchanges(&Rregs, &oRregs); + memcpy(&oRregs, &Rregs, sizeof(rg11)); + } + if(memcmp(&Sregs, &oSregs, sizeof(slowregs))){ // Sregs changed -> log + dumpSchanges(&Sregs, &oSregs); + memcpy(&oSregs, &Sregs, sizeof(slowregs)); + } + t0 = dtime(); + } + signals(-1); // never reached + return 0; +} diff --git a/Auxiliary_utils/Hydreon/hedreon_fields b/Auxiliary_utils/Hydreon/hedreon_fields new file mode 100644 index 0000000..ead03b5 --- /dev/null +++ b/Auxiliary_utils/Hydreon/hedreon_fields @@ -0,0 +1,235 @@ +(перед каждым новым измерением протирали) + +Большая капля: + +PeakRS=5 +SPeakRS=5 +RainAD8=110 +LRA=1 +TransRat=160 +AmbLNoise=0 +IsDark=1 +RevLevel=14 +EmLevel=36 +RecEmStr=65 +ABLevel=10 +TmprtrF=84 +PUGain=38 +ClearTR=147 +AmbLight=0 +Bucket=1 +Barrel=0 +RGConfig=0 +DwellT=100 +SinceRn=0 +MonoStb=14 +LightAD=127 +RainThr=12 + + +Маленькая капля: +PeakRS=3 +SPeakRS=3 +RainAD8=109 +LRA=45 +TransRat=158 +AmbLNoise=0 +Raining=1 +IsDark=1 +RevLevel=14 +EmLevel=35 +RecEmStr=62 +ABLevel=10 +TmprtrF=84 +PUGain=38 +ClearTR=148 +AmbLight=0 +Bucket=2 +Barrel=0 +RGConfig=0 +DwellT=100 +SinceRn=0 +MonoStb=15 +LightAD=127 +RainThr=12 + + +Струйкой: +PeakRS=255 +SPeakRS=255 +RainAD8=132 +LRA=125 +TransRat=144 +AmbLNoise=0 +PkOverThr=1 +Raining=1 +IsDark=1 +Cndnstn=1 +Storm=1 +RevLevel=14 +EmLevel=34 +RecEmStr=62 +ABLevel=10 +TmprtrF=84 +PUGain=38 +ClearTR=149 +AmbLight=0 +Bucket=4 +Barrel=0 +RGConfig=0 +DwellT=20 +SinceRn=0 +MonoStb=15 +LightAD=127 + + +Пульверизатор: +PeakRS=255 +SPeakRS=255 +RainAD8=146 +LRA=136 +TransRat=125 +AmbLNoise=0 +PkOverThr=1 +Raining=1 +IsDark=1 +Cndnstn=1 +Storm=1 +RevLevel=14 +EmLevel=34 +RecEmStr=63 +ABLevel=10 +TmprtrF=83 +PUGain=38 +ClearTR=149 +AmbLight=0 +Bucket=0 +Barrel=1 +RGConfig=0 +DwellT=5 +SinceRn=0 +MonoStb=15 +LightAD=127 +RainThr=12 + + +(без протирания после предыдущего) +Пульверизатор: +PeakRS=4 +SPeakRS=6 +RainAD8=143 +LRA=42 +TransRat=105 +AmbLNoise=0 +Raining=1 +HtrOn=1 +IsDark=1 +Cndnstn=1 +Storm=1 +RevLevel=14 +EmLevel=41 +RecEmStr=51 +ABLevel=10 +TmprtrF=83 +PUGain=38 +ClearTR=149 +AmbLight=0 +Bucket=3 +Barrel=0 +RGConfig=0 +DwellT=37 +SinceRn=0 +MonoStb=15 +LightAD=124 +RainThr=12 + + +PeakRS=174 +SPeakRS=255 +RainAD8=136 +LRA=54 +TransRat=88 +AmbLNoise=0 +PkOverThr=1 +Raining=1 +IsDark=1 +Cndnstn=1 +Storm=1 +RevLevel=14 +EmLevel=41 +RecEmStr=51 +ABLevel=10 +TmprtrF=83 +PUGain=38 +ClearTR=149 +AmbLight=0 +Bucket=3 +Barrel=0 +RGConfig=0 +DwellT=37 +SinceRn=0 +MonoStb=15 +LightAD=124 +RainThr=12 + +(протерли) +льется из стакана +PeakRS=255 +SPeakRS=255 +RainAD8=56 +LRA=210 +TransRat=148 +AmbLNoise=0 +PkOverThr=1 +Raining=1 +HtrOn=1 +IsDark=1 +Cndnstn=1 +Storm=1 +RevLevel=14 +EmLevel=41 +RecEmStr=74 +ABLevel=10 +TmprtrF=83 +PUGain=38 +ClearTR=150 +AmbLight=0 +Bucket=5 +Barrel=1 +RGConfig=0 +DwellT=5 +SinceRn=0 +MonoStb=15 +LightAD=120 +RainThr=12 + + +PeakRS=255 +SPeakRS=255 +RainAD8=200 +LRA=215 +TransRat=26 +AmbLNoise=0 +PkOverThr=1 +Raining=1 +HtrOn=1 +IsDark=1 +Cndnstn=1 +Storm=1 +RevLevel=14 +EmLevel=41 +RecEmStr=74 +ABLevel=10 +TmprtrF=83 +PUGain=38 +ClearTR=150 +AmbLight=0 +Bucket=5 +Barrel=1 +RGConfig=0 +DwellT=5 +SinceRn=0 +MonoStb=15 +LightAD=120 +RainThr=12 + diff --git a/Auxiliary_utils/Hydreon/hydreon.c b/Auxiliary_utils/Hydreon/hydreon.c new file mode 100644 index 0000000..6e98181 --- /dev/null +++ b/Auxiliary_utils/Hydreon/hydreon.c @@ -0,0 +1,158 @@ +/* + * This file is part of the Hydreon_RG11 project. + * Copyright 2022 Edward V. Emelianov . + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +#include + +#include "hydreon.h" + +static TTY_descr *dev = NULL; + +// regular registers names +static const char* rregnames[RREGNUM] = { + "PeakRS", + "SPeakRS", + "RainAD8", + "LRA", + "TransRat", + "AmbLNoise" +}; + +// rgbit names +static const char* rgbitnames[RGBITNUM] = { + "PkOverThr", + "Raining", + "Out1On", + "HtrOn", + "IsDark", + "Cndnstn", + "Freeze", + "Storm" +}; + +static const char *slowregnames[SREGNUM] = { + "RevLevel", + "EmLevel", + "RecEmStr", + "ABLevel", + "TmprtrF", + "PUGain", + "ClearTR", + "AmbLight", + "Bucket", + "Barrel", + "RGConfig", + "DwellT", + "SinceRn", + "MonoStb", + "LightAD", + "RainThr", +}; + +const char *regname(int N){ + if(N < 0 || N > RREGNUM) return NULL; + return rregnames[N]; +} +const char *rgbitname(int N){ + if(N < 0 || N > RGBITNUM) return NULL; + return rgbitnames[N]; +} +const char *slowname(int N){ + if(N < 0 || N > SREGNUM) return NULL; + return slowregnames[N]; +} + +static int getv(char s, uint8_t *v){ + if(s >= '0' && s <= '9'){ + *v = s - '0'; + return 1; + }else if(s >= 'a' && s <= 'f'){ + *v = 10 + s - 'a'; + return 1; + } + return 0; +} + +static int encodepacket(const char *buf, int len, rg11 *Rregs, slowregs *Sregs){ + uint8_t databuf[REGLEN/2] = {0}; + static slowregs slow = {0}; + if(len != REGMINLEN && len != REGLEN) return FALSE; + for(int i = 0; i < len; ++i){ + int l = i&1; // low part + int idx = i/2; // data index + uint8_t v; + if(!getv(buf[i], &v)) return 0; + if(l) databuf[idx] |= v; + else databuf[idx] |= v << 4; + } + if(Rregs) memcpy(Rregs, databuf, sizeof(rg11)); + rg11 r = *((rg11*)databuf); + uint8_t *s = (uint8_t*) &slow; + if(len == REGLEN){ + if(r.SlowRegIngex < 16){ + s[r.SlowRegIngex] = r.SlowRegValue; + } + } + if(Sregs) memcpy(Sregs, &slow, sizeof(slowregs)); + return TRUE; +} + +/** + * @brief getpacket - try to read next data in packet + * @param Rregs (o) - regular registers (if return TRUE) + * @param Sregs (o) - slow registers (if return TRUE) + * @return FALSE if it is still no data @ input + */ +int hydreon_getpacket(rg11 *Rregs, slowregs *Sregs){ + if(!dev) return 0; + static int buflen = 0; + static char strbuf[BUFLEN]; + int l = read_tty(dev); + if(l < 1) return FALSE; + char s = dev->buf[0]; + if(s == 's'){ // start of new packet -> encode old + if(buflen){ + l = encodepacket(strbuf, buflen, Rregs, Sregs); + buflen = 0; + return l; + } + }else{ + strbuf[buflen++] = s; + if(buflen >= BUFLEN){ + WARNX("Buffer overfull"); + buflen = 0; + } + } + return FALSE; +} + +/** + * @brief open_hydreon - open serial device + * @param devname (i) - device path + * @return TRUE or FALSE if failed + */ +int hydreon_open(const char *devname){ + dev = new_tty((char*)devname, 1200, 1); + if(!dev) return FALSE; + dev = tty_open(dev, 1); + if(!dev) return FALSE; + return TRUE; +} + +void hydreon_close(){ + if(dev) close_tty(&dev); +} diff --git a/Auxiliary_utils/Hydreon/hydreon.h b/Auxiliary_utils/Hydreon/hydreon.h new file mode 100644 index 0000000..0c6e785 --- /dev/null +++ b/Auxiliary_utils/Hydreon/hydreon.h @@ -0,0 +1,80 @@ +/* + * This file is part of the Hydreon_RG11 project. + * Copyright 2022 Edward V. Emelianov . + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +#pragma once + +#include + +// amount of datafields +#define RREGNUM 6 +#define RGBITNUM 8 +#define SREGNUM 16 + +// RGBits values: +#define PkOverThr (1<<0) +#define Raining (1<<1) +#define Out1On (1<<2) +#define HtrOn (1<<3) +#define IsDark (1<<4) +#define Cndnstn (1<<5) +#define Freeze (1<<6) +#define Storm (1<<7) + +// minimal packet length (without slow registers) +#define REGMINLEN (14) +// standard packet length +#define REGLEN (18) +#define BUFLEN (32) + +typedef struct{ + uint8_t PeakRS; + uint8_t SPeakRS; + uint8_t RainAD8; + uint8_t LRA; + uint8_t TransRat; + uint8_t AmbLNoise; + uint8_t RGBits; + uint8_t SlowRegIngex; + uint8_t SlowRegValue; +} rg11; + +typedef struct{ + uint8_t RevLevel; // 12 + uint8_t EmLevel; // 30..80 + uint8_t RecEmStr; // 60..66 + uint8_t ABLevel; // 10 + uint8_t TmprtrF; // 70..100 + uint8_t PUGain; // 34..39 + uint8_t ClearTR; // 60..170 + uint8_t AmbLight; + uint8_t Bucket; + uint8_t Barrel; + uint8_t RGConfig; + uint8_t DwellT; + uint8_t SinceRn; + uint8_t MonoStb; + uint8_t LightAD; // 120..136 + uint8_t RainThr; +} slowregs; + +int hydreon_open(const char *devname); +void hydreon_close(); +int hydreon_getpacket(rg11 *Rregs, slowregs *Sregs); +const char *regname(int N); +const char *rgbitname(int N); +const char *slowname(int N); diff --git a/Auxiliary_utils/PCS_create/PCS_create.cflags b/Auxiliary_utils/PCS_create/PCS_create.cflags new file mode 100644 index 0000000..68d5165 --- /dev/null +++ b/Auxiliary_utils/PCS_create/PCS_create.cflags @@ -0,0 +1 @@ +-std=c17 \ No newline at end of file diff --git a/Auxiliary_utils/PCS_create/PCS_create.config b/Auxiliary_utils/PCS_create/PCS_create.config new file mode 100644 index 0000000..e3e2368 --- /dev/null +++ b/Auxiliary_utils/PCS_create/PCS_create.config @@ -0,0 +1,3 @@ +// Add predefined macros for your project here. For example: +// #define THE_ANSWER 42 +#define EBUG 1 diff --git a/Auxiliary_utils/PCS_create/PCS_create.creator b/Auxiliary_utils/PCS_create/PCS_create.creator new file mode 100644 index 0000000..e94cbbd --- /dev/null +++ b/Auxiliary_utils/PCS_create/PCS_create.creator @@ -0,0 +1 @@ +[General] diff --git a/Auxiliary_utils/PCS_create/PCS_create.creator.user b/Auxiliary_utils/PCS_create/PCS_create.creator.user new file mode 100644 index 0000000..724641e --- /dev/null +++ b/Auxiliary_utils/PCS_create/PCS_create.creator.user @@ -0,0 +1,170 @@ + + + + + + EnvironmentId + {7bd84e39-ca37-46d3-be9d-99ebea85bc0d} + + + ProjectExplorer.Project.ActiveTarget + 0 + + + ProjectExplorer.Project.EditorSettings + + true + false + true + + Cpp + + CppGlobal + + + + QmlJS + + QmlJSGlobal + + + 2 + KOI8-R + false + 4 + false + 80 + true + true + 1 + true + false + 0 + true + true + 0 + 8 + true + 1 + true + false + true + false + + + + ProjectExplorer.Project.PluginSettings + + + true + + + + ProjectExplorer.Project.Target.0 + + Desktop + Desktop + {65a14f9e-e008-4c1b-89df-4eaa4774b6e3} + 0 + 0 + 0 + + /Big/Data/00__Small_tel/C-sources/PCS_create + + + + all + + false + + + false + true + Сборка + + GenericProjectManager.GenericMakeStep + + 1 + Сборка + + ProjectExplorer.BuildSteps.Build + + + + + clean + + false + + + false + true + Сборка + + GenericProjectManager.GenericMakeStep + + 1 + Очистка + + ProjectExplorer.BuildSteps.Clean + + 2 + false + + По умолчанию + По умолчанию + GenericProjectManager.GenericBuildConfiguration + + 1 + + + 0 + Установка + + ProjectExplorer.BuildSteps.Deploy + + 1 + Конфигурация установки + + ProjectExplorer.DefaultDeployConfiguration + + 1 + + + false + false + 1000 + + true + 2 + + + Особая программа + + ProjectExplorer.CustomExecutableRunConfiguration + + 3768 + false + true + false + false + true + + + + 1 + + + + ProjectExplorer.Project.TargetCount + 1 + + + ProjectExplorer.Project.Updater.FileVersion + 20 + + + Version + 20 + + diff --git a/Auxiliary_utils/PCS_create/PCS_create.cxxflags b/Auxiliary_utils/PCS_create/PCS_create.cxxflags new file mode 100644 index 0000000..6435dfc --- /dev/null +++ b/Auxiliary_utils/PCS_create/PCS_create.cxxflags @@ -0,0 +1 @@ +-std=c++17 \ No newline at end of file diff --git a/Auxiliary_utils/PCS_create/PCS_create.files b/Auxiliary_utils/PCS_create/PCS_create.files new file mode 100644 index 0000000..364ad8a --- /dev/null +++ b/Auxiliary_utils/PCS_create/PCS_create.files @@ -0,0 +1,5 @@ +PCS.c +cmdlnopts.c +cmdlnopts.h +sofatools.c +sofatools.h diff --git a/Auxiliary_utils/PCS_create/PCS_create.includes b/Auxiliary_utils/PCS_create/PCS_create.includes new file mode 100644 index 0000000..9c558e3 --- /dev/null +++ b/Auxiliary_utils/PCS_create/PCS_create.includes @@ -0,0 +1 @@ +. diff --git a/Auxiliary_utils/SiderealServoII/SSII.cflags b/Auxiliary_utils/SiderealServoII/SSII.cflags new file mode 100644 index 0000000..68d5165 --- /dev/null +++ b/Auxiliary_utils/SiderealServoII/SSII.cflags @@ -0,0 +1 @@ +-std=c17 \ No newline at end of file diff --git a/Auxiliary_utils/SiderealServoII/SSII.config b/Auxiliary_utils/SiderealServoII/SSII.config new file mode 100644 index 0000000..7767418 --- /dev/null +++ b/Auxiliary_utils/SiderealServoII/SSII.config @@ -0,0 +1,6 @@ +// Add predefined macros for your project here. For example: +// #define THE_ANSWER 42 +#define _GNU_SOURCE +#define _XOPEN_SOURCE=1111 +#define EBUG + diff --git a/Auxiliary_utils/SiderealServoII/SSII.creator b/Auxiliary_utils/SiderealServoII/SSII.creator new file mode 100644 index 0000000..e94cbbd --- /dev/null +++ b/Auxiliary_utils/SiderealServoII/SSII.creator @@ -0,0 +1 @@ +[General] diff --git a/Auxiliary_utils/SiderealServoII/SSII.creator.user b/Auxiliary_utils/SiderealServoII/SSII.creator.user new file mode 100644 index 0000000..7e7ba66 --- /dev/null +++ b/Auxiliary_utils/SiderealServoII/SSII.creator.user @@ -0,0 +1,177 @@ + + + + + + EnvironmentId + {7bd84e39-ca37-46d3-be9d-99ebea85bc0d} + + + ProjectExplorer.Project.ActiveTarget + 0 + + + ProjectExplorer.Project.EditorSettings + + true + false + true + + Cpp + + CppGlobal + + + + QmlJS + + QmlJSGlobal + + + 2 + KOI8-R + false + 4 + false + 80 + true + true + 1 + false + true + false + 0 + true + true + 0 + 8 + true + false + 1 + true + false + true + *.md, *.MD, Makefile + false + true + + + + ProjectExplorer.Project.PluginSettings + + + true + false + true + true + true + true + + + 0 + true + + true + Builtin.BuildSystem + + true + true + Builtin.DefaultTidyAndClazy + 2 + + + + true + + + true + + + + + ProjectExplorer.Project.Target.0 + + Desktop + Desktop + Desktop + {65a14f9e-e008-4c1b-89df-4eaa4774b6e3} + 0 + 0 + 0 + + /Big/Data/00__Small_tel/Sidereal_Servo_II/my_c_code + + + + all + + true + GenericProjectManager.GenericMakeStep + + 1 + Сборка + Сборка + ProjectExplorer.BuildSteps.Build + + + + + clean + + true + GenericProjectManager.GenericMakeStep + + 1 + Очистка + Очистка + ProjectExplorer.BuildSteps.Clean + + 2 + false + + false + + По умолчанию + GenericProjectManager.GenericBuildConfiguration + + 1 + + + 0 + Развёртывание + Развёртывание + ProjectExplorer.BuildSteps.Deploy + + 1 + + false + ProjectExplorer.DefaultDeployConfiguration + + 1 + + + 2 + + ProjectExplorer.CustomExecutableRunConfiguration + + false + true + false + true + + 1 + + + + ProjectExplorer.Project.TargetCount + 1 + + + ProjectExplorer.Project.Updater.FileVersion + 22 + + + Version + 22 + + diff --git a/Auxiliary_utils/SiderealServoII/SSII.creator.user.7bd84e3 b/Auxiliary_utils/SiderealServoII/SSII.creator.user.7bd84e3 new file mode 100644 index 0000000..ced6c85 --- /dev/null +++ b/Auxiliary_utils/SiderealServoII/SSII.creator.user.7bd84e3 @@ -0,0 +1,157 @@ + + + + + + EnvironmentId + {7bd84e39-ca37-46d3-be9d-99ebea85bc0d} + + + ProjectExplorer.Project.ActiveTarget + 0 + + + ProjectExplorer.Project.EditorSettings + + true + false + true + + Cpp + + CppGlobal + + + + QmlJS + + QmlJSGlobal + + + 2 + KOI8-R + false + 4 + false + 80 + true + true + 1 + true + false + 0 + true + true + 0 + 8 + true + 1 + true + false + true + false + + + + ProjectExplorer.Project.PluginSettings + + + + ProjectExplorer.Project.Target.0 + + Desktop + Desktop + {65a14f9e-e008-4c1b-89df-4eaa4774b6e3} + 0 + 0 + 0 + + /Big/Data/00__Small_tel/Sidereal_Servo_II/my_c_code + + + + all + + false + + + false + true + GenericProjectManager.GenericMakeStep + + 1 + Сборка + Сборка + ProjectExplorer.BuildSteps.Build + + + + + clean + + true + + + false + true + GenericProjectManager.GenericMakeStep + + 1 + Очистка + Очистка + ProjectExplorer.BuildSteps.Clean + + 2 + false + + По умолчанию + GenericProjectManager.GenericBuildConfiguration + + 1 + + + 0 + Развёртывание + Развёртывание + ProjectExplorer.BuildSteps.Deploy + + 1 + + false + ProjectExplorer.DefaultDeployConfiguration + + 1 + + + 2 + + + ProjectExplorer.CustomExecutableRunConfiguration + + + false + + false + true + false + false + true + + + + 1 + + + + ProjectExplorer.Project.TargetCount + 1 + + + ProjectExplorer.Project.Updater.FileVersion + 22 + + + Version + 22 + + diff --git a/Auxiliary_utils/SiderealServoII/SSII.creator.user.cf63021 b/Auxiliary_utils/SiderealServoII/SSII.creator.user.cf63021 new file mode 100644 index 0000000..5595e17 --- /dev/null +++ b/Auxiliary_utils/SiderealServoII/SSII.creator.user.cf63021 @@ -0,0 +1,163 @@ + + + + + + EnvironmentId + {cf63021e-ef53-49b0-b03b-2f2570cdf3b6} + + + ProjectExplorer.Project.ActiveTarget + 0 + + + ProjectExplorer.Project.EditorSettings + + true + false + true + + Cpp + + CppGlobal + + + + QmlJS + + QmlJSGlobal + + + 2 + KOI8-R + false + 4 + false + 80 + true + true + 1 + false + false + false + 1 + true + true + 0 + 8 + true + false + 2 + true + true + true + *.md, *.MD, Makefile + true + true + + + + ProjectExplorer.Project.PluginSettings + + + true + Builtin.BuildSystem + + true + true + Builtin.DefaultTidyAndClazy + 4 + + + + true + + + + + ProjectExplorer.Project.Target.0 + + Desktop + Desktop + Desktop + {91347f2c-5221-46a7-80b1-0a054ca02f79} + 0 + 0 + 0 + + /tmp/robotel3 + + + + all + + true + GenericProjectManager.GenericMakeStep + + 1 + Сборка + Сборка + ProjectExplorer.BuildSteps.Build + + + + + clean + + true + GenericProjectManager.GenericMakeStep + + 1 + Очистка + Очистка + ProjectExplorer.BuildSteps.Clean + + 2 + false + + false + + По умолчанию + GenericProjectManager.GenericBuildConfiguration + + 1 + + + 0 + Развёртывание + Развёртывание + ProjectExplorer.BuildSteps.Deploy + + 1 + + false + ProjectExplorer.DefaultDeployConfiguration + + 1 + + + 2 + + ProjectExplorer.CustomExecutableRunConfiguration + + false + true + false + true + + 1 + + + + ProjectExplorer.Project.TargetCount + 1 + + + ProjectExplorer.Project.Updater.FileVersion + 22 + + + Version + 22 + + diff --git a/Auxiliary_utils/SiderealServoII/SSII.cxxflags b/Auxiliary_utils/SiderealServoII/SSII.cxxflags new file mode 100644 index 0000000..6435dfc --- /dev/null +++ b/Auxiliary_utils/SiderealServoII/SSII.cxxflags @@ -0,0 +1 @@ +-std=c++17 \ No newline at end of file diff --git a/Auxiliary_utils/SiderealServoII/SSII.files b/Auxiliary_utils/SiderealServoII/SSII.files new file mode 100644 index 0000000..befedad --- /dev/null +++ b/Auxiliary_utils/SiderealServoII/SSII.files @@ -0,0 +1,9 @@ +cmdlnopts.c +cmdlnopts.h +emulator.c +emulator.h +main.c +motlog.c +motlog.h +sidservo.c +sidservo.h diff --git a/Auxiliary_utils/SiderealServoII/SSII.includes b/Auxiliary_utils/SiderealServoII/SSII.includes new file mode 100644 index 0000000..9c558e3 --- /dev/null +++ b/Auxiliary_utils/SiderealServoII/SSII.includes @@ -0,0 +1 @@ +. diff --git a/Auxiliary_utils/Weather_chk/weatherchk.cflags b/Auxiliary_utils/Weather_chk/weatherchk.cflags new file mode 100644 index 0000000..68d5165 --- /dev/null +++ b/Auxiliary_utils/Weather_chk/weatherchk.cflags @@ -0,0 +1 @@ +-std=c17 \ No newline at end of file diff --git a/Auxiliary_utils/Weather_chk/weatherchk.config b/Auxiliary_utils/Weather_chk/weatherchk.config new file mode 100644 index 0000000..e0284f4 --- /dev/null +++ b/Auxiliary_utils/Weather_chk/weatherchk.config @@ -0,0 +1,2 @@ +// Add predefined macros for your project here. For example: +// #define THE_ANSWER 42 diff --git a/Auxiliary_utils/Weather_chk/weatherchk.creator b/Auxiliary_utils/Weather_chk/weatherchk.creator new file mode 100644 index 0000000..e94cbbd --- /dev/null +++ b/Auxiliary_utils/Weather_chk/weatherchk.creator @@ -0,0 +1 @@ +[General] diff --git a/Auxiliary_utils/Weather_chk/weatherchk.creator.user b/Auxiliary_utils/Weather_chk/weatherchk.creator.user new file mode 100644 index 0000000..c78c711 --- /dev/null +++ b/Auxiliary_utils/Weather_chk/weatherchk.creator.user @@ -0,0 +1,170 @@ + + + + + + EnvironmentId + {7bd84e39-ca37-46d3-be9d-99ebea85bc0d} + + + ProjectExplorer.Project.ActiveTarget + 0 + + + ProjectExplorer.Project.EditorSettings + + true + false + true + + Cpp + + CppGlobal + + + + QmlJS + + QmlJSGlobal + + + 2 + KOI8-R + false + 4 + false + 80 + true + true + 1 + true + false + 0 + true + true + 0 + 8 + true + 1 + true + false + true + false + + + + ProjectExplorer.Project.PluginSettings + + + true + + + + ProjectExplorer.Project.Target.0 + + Desktop + Desktop + {65a14f9e-e008-4c1b-89df-4eaa4774b6e3} + 0 + 0 + 0 + + /tmp/1/Doc/C-sources/Weather_chk + + + + all + + false + + + false + true + Сборка + + GenericProjectManager.GenericMakeStep + + 1 + Сборка + + ProjectExplorer.BuildSteps.Build + + + + + clean + + false + + + false + true + Сборка + + GenericProjectManager.GenericMakeStep + + 1 + Очистка + + ProjectExplorer.BuildSteps.Clean + + 2 + false + + По умолчанию + По умолчанию + GenericProjectManager.GenericBuildConfiguration + + 1 + + + 0 + Установка + + ProjectExplorer.BuildSteps.Deploy + + 1 + Конфигурация установки + + ProjectExplorer.DefaultDeployConfiguration + + 1 + + + false + false + 1000 + + true + 2 + + + Особая программа + + ProjectExplorer.CustomExecutableRunConfiguration + + 3768 + false + true + false + false + true + + + + 1 + + + + ProjectExplorer.Project.TargetCount + 1 + + + ProjectExplorer.Project.Updater.FileVersion + 20 + + + Version + 20 + + diff --git a/Auxiliary_utils/Weather_chk/weatherchk.creator.user.22 b/Auxiliary_utils/Weather_chk/weatherchk.creator.user.22 new file mode 100644 index 0000000..828197a --- /dev/null +++ b/Auxiliary_utils/Weather_chk/weatherchk.creator.user.22 @@ -0,0 +1,165 @@ + + + + + + EnvironmentId + {7bd84e39-ca37-46d3-be9d-99ebea85bc0d} + + + ProjectExplorer.Project.ActiveTarget + 0 + + + ProjectExplorer.Project.EditorSettings + + true + false + true + + Cpp + + CppGlobal + + + + QmlJS + + QmlJSGlobal + + + 2 + KOI8-R + false + 4 + false + 80 + true + true + 1 + true + false + 0 + true + true + 0 + 8 + true + 1 + true + false + true + false + + + + ProjectExplorer.Project.PluginSettings + + + true + + + + ProjectExplorer.Project.Target.0 + + Desktop + Desktop + {65a14f9e-e008-4c1b-89df-4eaa4774b6e3} + 0 + 0 + 0 + + /Big/Data/C_sources/Terminal_client + + + + all + + false + + + false + true + Сборка + + GenericProjectManager.GenericMakeStep + + 1 + Сборка + + ProjectExplorer.BuildSteps.Build + + + + + clean + + false + + + false + true + Сборка + + GenericProjectManager.GenericMakeStep + + 1 + Очистка + + ProjectExplorer.BuildSteps.Clean + + 2 + false + + По умолчанию + По умолчанию + GenericProjectManager.GenericBuildConfiguration + + 1 + + + 0 + Развёртывание + + ProjectExplorer.BuildSteps.Deploy + + 1 + Конфигурация развёртывания + + ProjectExplorer.DefaultDeployConfiguration + + 1 + + + 2 + + + Особая программа + + ProjectExplorer.CustomExecutableRunConfiguration + + 3768 + false + true + false + false + true + + + + 1 + + + + ProjectExplorer.Project.TargetCount + 1 + + + ProjectExplorer.Project.Updater.FileVersion + 22 + + + Version + 22 + + diff --git a/Auxiliary_utils/Weather_chk/weatherchk.cxxflags b/Auxiliary_utils/Weather_chk/weatherchk.cxxflags new file mode 100644 index 0000000..6435dfc --- /dev/null +++ b/Auxiliary_utils/Weather_chk/weatherchk.cxxflags @@ -0,0 +1 @@ +-std=c++17 \ No newline at end of file diff --git a/Auxiliary_utils/Weather_chk/weatherchk.files b/Auxiliary_utils/Weather_chk/weatherchk.files new file mode 100644 index 0000000..d370543 --- /dev/null +++ b/Auxiliary_utils/Weather_chk/weatherchk.files @@ -0,0 +1,5 @@ +cmdlnopts.c +cmdlnopts.h +main.c +tty.c +tty.h diff --git a/Auxiliary_utils/Weather_chk/weatherchk.includes b/Auxiliary_utils/Weather_chk/weatherchk.includes new file mode 100644 index 0000000..9c558e3 --- /dev/null +++ b/Auxiliary_utils/Weather_chk/weatherchk.includes @@ -0,0 +1 @@ +. diff --git a/Daemons/10micron_stellarium/StelD.cflags b/Daemons/10micron_stellarium/StelD.cflags new file mode 100644 index 0000000..68d5165 --- /dev/null +++ b/Daemons/10micron_stellarium/StelD.cflags @@ -0,0 +1 @@ +-std=c17 \ No newline at end of file diff --git a/Daemons/10micron_stellarium/StelD.creator.user b/Daemons/10micron_stellarium/StelD.creator.user new file mode 100644 index 0000000..3860bee --- /dev/null +++ b/Daemons/10micron_stellarium/StelD.creator.user @@ -0,0 +1,160 @@ + + + + + + EnvironmentId + {7bd84e39-ca37-46d3-be9d-99ebea85bc0d} + + + ProjectExplorer.Project.ActiveTarget + 0 + + + ProjectExplorer.Project.EditorSettings + + true + false + true + + Cpp + + CppGlobal + + + + QmlJS + + QmlJSGlobal + + + 2 + KOI8-R + false + 4 + false + 80 + true + true + 1 + true + false + 0 + true + true + 0 + 8 + true + 1 + true + false + true + false + + + + ProjectExplorer.Project.PluginSettings + + + true + + + + ProjectExplorer.Project.Target.0 + + Desktop + Desktop + {65a14f9e-e008-4c1b-89df-4eaa4774b6e3} + 0 + 0 + 0 + + /tmp/astrosib/Doc/C-sources/10micron_stellarium + + + + all + + false + + + false + true + GenericProjectManager.GenericMakeStep + + 1 + Сборка + Сборка + ProjectExplorer.BuildSteps.Build + + + + + clean + + false + + + false + true + GenericProjectManager.GenericMakeStep + + 1 + Очистка + Очистка + ProjectExplorer.BuildSteps.Clean + + 2 + false + + По умолчанию + GenericProjectManager.GenericBuildConfiguration + + 1 + + + 0 + Развёртывание + Развёртывание + ProjectExplorer.BuildSteps.Deploy + + 1 + + false + ProjectExplorer.DefaultDeployConfiguration + + 1 + + + 2 + + + ProjectExplorer.CustomExecutableRunConfiguration + + + false + + false + true + false + false + true + + + + 1 + + + + ProjectExplorer.Project.TargetCount + 1 + + + ProjectExplorer.Project.Updater.FileVersion + 22 + + + Version + 22 + + diff --git a/Daemons/10micron_stellarium/StelD.creator.user.7bd84e3.22 b/Daemons/10micron_stellarium/StelD.creator.user.7bd84e3.22 new file mode 100644 index 0000000..c61e2e6 --- /dev/null +++ b/Daemons/10micron_stellarium/StelD.creator.user.7bd84e3.22 @@ -0,0 +1,165 @@ + + + + + + EnvironmentId + {7bd84e39-ca37-46d3-be9d-99ebea85bc0d} + + + ProjectExplorer.Project.ActiveTarget + 0 + + + ProjectExplorer.Project.EditorSettings + + true + false + true + + Cpp + + CppGlobal + + + + QmlJS + + QmlJSGlobal + + + 2 + KOI8-R + false + 4 + false + 80 + true + true + 1 + true + false + 0 + true + true + 0 + 8 + true + 1 + true + false + true + false + + + + ProjectExplorer.Project.PluginSettings + + + true + + + + ProjectExplorer.Project.Target.0 + + Desktop + Desktop + {65a14f9e-e008-4c1b-89df-4eaa4774b6e3} + 0 + 0 + 0 + + /tmp/astrosib/Doc/C-sources/10micron_stellarium + + + + all + + false + + + false + true + Сборка + + GenericProjectManager.GenericMakeStep + + 1 + Сборка + + ProjectExplorer.BuildSteps.Build + + + + + clean + + false + + + false + true + Сборка + + GenericProjectManager.GenericMakeStep + + 1 + Очистка + + ProjectExplorer.BuildSteps.Clean + + 2 + false + + По умолчанию + По умолчанию + GenericProjectManager.GenericBuildConfiguration + + 1 + + + 0 + Развёртывание + + ProjectExplorer.BuildSteps.Deploy + + 1 + Конфигурация развёртывания + + ProjectExplorer.DefaultDeployConfiguration + + 1 + + + 2 + + + Особая программа + + ProjectExplorer.CustomExecutableRunConfiguration + + 3768 + false + true + false + false + true + + + + 1 + + + + ProjectExplorer.Project.TargetCount + 1 + + + ProjectExplorer.Project.Updater.FileVersion + 22 + + + Version + 22 + + diff --git a/Daemons/10micron_stellarium/StelD.creator.user.cf63021.4.9-pre1 b/Daemons/10micron_stellarium/StelD.creator.user.cf63021.4.9-pre1 new file mode 100644 index 0000000..0781e9a --- /dev/null +++ b/Daemons/10micron_stellarium/StelD.creator.user.cf63021.4.9-pre1 @@ -0,0 +1,167 @@ + + + + + + EnvironmentId + {cf63021e-ef53-49b0-b03b-2f2570cdf3b6} + + + ProjectExplorer.Project.ActiveTarget + 0 + + + ProjectExplorer.Project.EditorSettings + + true + false + true + + Cpp + + CppGlobal + + + + QmlJS + + QmlJSGlobal + + + 2 + KOI8-R + false + 4 + false + 80 + true + true + 1 + false + false + 1 + true + true + 0 + 8 + true + 2 + true + true + true + true + + + + ProjectExplorer.Project.PluginSettings + + + + ProjectExplorer.Project.Target.0 + + Desktop + Desktop + {91347f2c-5221-46a7-80b1-0a054ca02f79} + 0 + 0 + 0 + + /tmp/as/Doc/C-sources/10micron_stellarium + + + + all + + false + + + false + true + Сборка + + GenericProjectManager.GenericMakeStep + + 1 + Сборка + + ProjectExplorer.BuildSteps.Build + + + + + clean + + false + + + false + true + Сборка + + GenericProjectManager.GenericMakeStep + + 1 + Очистка + + ProjectExplorer.BuildSteps.Clean + + 2 + false + + По умолчанию + По умолчанию + GenericProjectManager.GenericBuildConfiguration + + 1 + + + 0 + Установка + + ProjectExplorer.BuildSteps.Deploy + + 1 + Конфигурация установки + + ProjectExplorer.DefaultDeployConfiguration + + 1 + + + false + false + 1000 + + true + 2 + + + Особая программа + + ProjectExplorer.CustomExecutableRunConfiguration + + 3768 + false + true + false + false + true + + + + 1 + + + + ProjectExplorer.Project.TargetCount + 1 + + + ProjectExplorer.Project.Updater.FileVersion + 20 + + + Version + 20 + + diff --git a/Daemons/10micron_stellarium/StelD.cxxflags b/Daemons/10micron_stellarium/StelD.cxxflags new file mode 100644 index 0000000..6435dfc --- /dev/null +++ b/Daemons/10micron_stellarium/StelD.cxxflags @@ -0,0 +1 @@ +-std=c++17 \ No newline at end of file diff --git a/Daemons/domedaemon-astrosib/domeasib.cflags b/Daemons/domedaemon-astrosib/domeasib.cflags new file mode 100644 index 0000000..68d5165 --- /dev/null +++ b/Daemons/domedaemon-astrosib/domeasib.cflags @@ -0,0 +1 @@ +-std=c17 \ No newline at end of file diff --git a/Daemons/domedaemon-astrosib/domeasib.config b/Daemons/domedaemon-astrosib/domeasib.config new file mode 100644 index 0000000..e0284f4 --- /dev/null +++ b/Daemons/domedaemon-astrosib/domeasib.config @@ -0,0 +1,2 @@ +// Add predefined macros for your project here. For example: +// #define THE_ANSWER 42 diff --git a/Daemons/domedaemon-astrosib/domeasib.creator b/Daemons/domedaemon-astrosib/domeasib.creator new file mode 100644 index 0000000..e94cbbd --- /dev/null +++ b/Daemons/domedaemon-astrosib/domeasib.creator @@ -0,0 +1 @@ +[General] diff --git a/Daemons/domedaemon-astrosib/domeasib.creator.user b/Daemons/domedaemon-astrosib/domeasib.creator.user new file mode 100644 index 0000000..3d0e519 --- /dev/null +++ b/Daemons/domedaemon-astrosib/domeasib.creator.user @@ -0,0 +1,157 @@ + + + + + + EnvironmentId + {cf63021e-ef53-49b0-b03b-2f2570cdf3b6} + + + ProjectExplorer.Project.ActiveTarget + 0 + + + ProjectExplorer.Project.EditorSettings + + true + false + true + + Cpp + + CppGlobal + + + + QmlJS + + QmlJSGlobal + + + 2 + KOI8-R + false + 4 + false + 80 + true + true + 1 + false + false + 1 + true + true + 0 + 8 + true + 2 + true + true + true + true + + + + ProjectExplorer.Project.PluginSettings + + + + ProjectExplorer.Project.Target.0 + + Desktop + Desktop + {91347f2c-5221-46a7-80b1-0a054ca02f79} + 0 + 0 + 0 + + /home/eddy/Docs/SAO/10micron/C-sources/domedaemon-astrosib + + + + all + + false + + + false + true + GenericProjectManager.GenericMakeStep + + 1 + Сборка + Сборка + ProjectExplorer.BuildSteps.Build + + + + + clean + + true + + + false + true + GenericProjectManager.GenericMakeStep + + 1 + Очистка + Очистка + ProjectExplorer.BuildSteps.Clean + + 2 + false + + По умолчанию + GenericProjectManager.GenericBuildConfiguration + + 1 + + + 0 + Развёртывание + Развёртывание + ProjectExplorer.BuildSteps.Deploy + + 1 + + false + ProjectExplorer.DefaultDeployConfiguration + + 1 + + + 2 + + + ProjectExplorer.CustomExecutableRunConfiguration + + + false + + false + true + false + false + true + + + + 1 + + + + ProjectExplorer.Project.TargetCount + 1 + + + ProjectExplorer.Project.Updater.FileVersion + 22 + + + Version + 22 + + diff --git a/Daemons/domedaemon-astrosib/domeasib.cxxflags b/Daemons/domedaemon-astrosib/domeasib.cxxflags new file mode 100644 index 0000000..6435dfc --- /dev/null +++ b/Daemons/domedaemon-astrosib/domeasib.cxxflags @@ -0,0 +1 @@ +-std=c++17 \ No newline at end of file diff --git a/Daemons/domedaemon-astrosib/domeasib.files b/Daemons/domedaemon-astrosib/domeasib.files new file mode 100644 index 0000000..374892a --- /dev/null +++ b/Daemons/domedaemon-astrosib/domeasib.files @@ -0,0 +1,11 @@ +cmdlnopts.c +cmdlnopts.h +main.c +parseargs.c +parseargs.h +socket.c +socket.h +term.c +term.h +usefull_macros.c +usefull_macros.h diff --git a/Daemons/domedaemon-astrosib/domeasib.includes b/Daemons/domedaemon-astrosib/domeasib.includes new file mode 100644 index 0000000..9c558e3 --- /dev/null +++ b/Daemons/domedaemon-astrosib/domeasib.includes @@ -0,0 +1 @@ +. diff --git a/Daemons/netdaemon.deprecated/netdaemon-template.config b/Daemons/netdaemon.deprecated/netdaemon-template.config new file mode 100644 index 0000000..3cc83b2 --- /dev/null +++ b/Daemons/netdaemon.deprecated/netdaemon-template.config @@ -0,0 +1,3 @@ +#define EBUG 1 +# baudrate for USB<->UART converter +#define BAUD_RATE B115200 diff --git a/Daemons/netdaemon.deprecated/netdaemon-template.creator b/Daemons/netdaemon.deprecated/netdaemon-template.creator new file mode 100644 index 0000000..e94cbbd --- /dev/null +++ b/Daemons/netdaemon.deprecated/netdaemon-template.creator @@ -0,0 +1 @@ +[General] diff --git a/Daemons/netdaemon.deprecated/netdaemon-template.files b/Daemons/netdaemon.deprecated/netdaemon-template.files new file mode 100644 index 0000000..374892a --- /dev/null +++ b/Daemons/netdaemon.deprecated/netdaemon-template.files @@ -0,0 +1,11 @@ +cmdlnopts.c +cmdlnopts.h +main.c +parseargs.c +parseargs.h +socket.c +socket.h +term.c +term.h +usefull_macros.c +usefull_macros.h diff --git a/Daemons/netdaemon.deprecated/netdaemon-template.includes b/Daemons/netdaemon.deprecated/netdaemon-template.includes new file mode 100644 index 0000000..9c558e3 --- /dev/null +++ b/Daemons/netdaemon.deprecated/netdaemon-template.includes @@ -0,0 +1 @@ +. diff --git a/Daemons/netdaemon/netdaemon-template.cflags b/Daemons/netdaemon/netdaemon-template.cflags new file mode 100644 index 0000000..68d5165 --- /dev/null +++ b/Daemons/netdaemon/netdaemon-template.cflags @@ -0,0 +1 @@ +-std=c17 \ No newline at end of file diff --git a/Daemons/netdaemon/netdaemon-template.config b/Daemons/netdaemon/netdaemon-template.config new file mode 100644 index 0000000..274bb3c --- /dev/null +++ b/Daemons/netdaemon/netdaemon-template.config @@ -0,0 +1 @@ +#define EBUG 1 diff --git a/Daemons/netdaemon/netdaemon-template.creator b/Daemons/netdaemon/netdaemon-template.creator new file mode 100644 index 0000000..e94cbbd --- /dev/null +++ b/Daemons/netdaemon/netdaemon-template.creator @@ -0,0 +1 @@ +[General] diff --git a/Daemons/netdaemon/netdaemon-template.creator.user b/Daemons/netdaemon/netdaemon-template.creator.user new file mode 100644 index 0000000..4802e4f --- /dev/null +++ b/Daemons/netdaemon/netdaemon-template.creator.user @@ -0,0 +1,157 @@ + + + + + + EnvironmentId + {7bd84e39-ca37-46d3-be9d-99ebea85bc0d} + + + ProjectExplorer.Project.ActiveTarget + 0 + + + ProjectExplorer.Project.EditorSettings + + true + false + true + + Cpp + + CppGlobal + + + + QmlJS + + QmlJSGlobal + + + 2 + KOI8-R + false + 4 + false + 80 + true + true + 1 + true + false + 0 + true + true + 0 + 8 + true + 1 + true + false + true + false + + + + ProjectExplorer.Project.PluginSettings + + + + ProjectExplorer.Project.Target.0 + + Desktop + Desktop + {65a14f9e-e008-4c1b-89df-4eaa4774b6e3} + 0 + 0 + 0 + + /Big/Data/00__Small_tel/C-sources/netdaemon + + + + all + + false + + + false + true + GenericProjectManager.GenericMakeStep + + 1 + Сборка + Сборка + ProjectExplorer.BuildSteps.Build + + + + + clean + + false + + + false + true + GenericProjectManager.GenericMakeStep + + 1 + Очистка + Очистка + ProjectExplorer.BuildSteps.Clean + + 2 + false + + По умолчанию + GenericProjectManager.GenericBuildConfiguration + + 1 + + + 0 + Развёртывание + Развёртывание + ProjectExplorer.BuildSteps.Deploy + + 1 + + false + ProjectExplorer.DefaultDeployConfiguration + + 1 + + + 2 + + + ProjectExplorer.CustomExecutableRunConfiguration + + + false + + false + true + false + false + true + + + + 1 + + + + ProjectExplorer.Project.TargetCount + 1 + + + ProjectExplorer.Project.Updater.FileVersion + 22 + + + Version + 22 + + diff --git a/Daemons/netdaemon/netdaemon-template.creator.user.4.9-pre1 b/Daemons/netdaemon/netdaemon-template.creator.user.4.9-pre1 new file mode 100644 index 0000000..ebe493b --- /dev/null +++ b/Daemons/netdaemon/netdaemon-template.creator.user.4.9-pre1 @@ -0,0 +1,167 @@ + + + + + + EnvironmentId + {7bd84e39-ca37-46d3-be9d-99ebea85bc0d} + + + ProjectExplorer.Project.ActiveTarget + 0 + + + ProjectExplorer.Project.EditorSettings + + true + false + true + + Cpp + + CppGlobal + + + + QmlJS + + QmlJSGlobal + + + 2 + KOI8-R + false + 4 + false + 80 + true + true + 1 + true + false + 0 + true + true + 0 + 8 + true + 1 + true + false + true + false + + + + ProjectExplorer.Project.PluginSettings + + + + ProjectExplorer.Project.Target.0 + + Desktop + Desktop + {65a14f9e-e008-4c1b-89df-4eaa4774b6e3} + 0 + 0 + 0 + + /Big/Data/00__Small_tel/C-sources/netdaemon + + + + all + + false + + + false + true + Сборка + + GenericProjectManager.GenericMakeStep + + 1 + Сборка + + ProjectExplorer.BuildSteps.Build + + + + + clean + + false + + + false + true + Сборка + + GenericProjectManager.GenericMakeStep + + 1 + Очистка + + ProjectExplorer.BuildSteps.Clean + + 2 + false + + По умолчанию + По умолчанию + GenericProjectManager.GenericBuildConfiguration + + 1 + + + 0 + Установка + + ProjectExplorer.BuildSteps.Deploy + + 1 + Конфигурация установки + + ProjectExplorer.DefaultDeployConfiguration + + 1 + + + false + false + 1000 + + true + 2 + + + Особая программа + + ProjectExplorer.CustomExecutableRunConfiguration + + 3768 + false + true + false + false + true + + + + 1 + + + + ProjectExplorer.Project.TargetCount + 1 + + + ProjectExplorer.Project.Updater.FileVersion + 20 + + + Version + 20 + + diff --git a/Daemons/netdaemon/netdaemon-template.cxxflags b/Daemons/netdaemon/netdaemon-template.cxxflags new file mode 100644 index 0000000..6435dfc --- /dev/null +++ b/Daemons/netdaemon/netdaemon-template.cxxflags @@ -0,0 +1 @@ +-std=c++17 \ No newline at end of file diff --git a/Daemons/netdaemon/netdaemon-template.files b/Daemons/netdaemon/netdaemon-template.files new file mode 100644 index 0000000..07825a2 --- /dev/null +++ b/Daemons/netdaemon/netdaemon-template.files @@ -0,0 +1,7 @@ +cmdlnopts.c +cmdlnopts.h +main.c +socket.c +socket.h +term.c +term.h diff --git a/Daemons/netdaemon/netdaemon-template.includes b/Daemons/netdaemon/netdaemon-template.includes new file mode 100644 index 0000000..9c558e3 --- /dev/null +++ b/Daemons/netdaemon/netdaemon-template.includes @@ -0,0 +1 @@ +. diff --git a/Daemons/weatherdaemon/weatherdaemon.cflags b/Daemons/weatherdaemon/weatherdaemon.cflags new file mode 100644 index 0000000..68d5165 --- /dev/null +++ b/Daemons/weatherdaemon/weatherdaemon.cflags @@ -0,0 +1 @@ +-std=c17 \ No newline at end of file diff --git a/Daemons/weatherdaemon/weatherdaemon.config b/Daemons/weatherdaemon/weatherdaemon.config new file mode 100644 index 0000000..274bb3c --- /dev/null +++ b/Daemons/weatherdaemon/weatherdaemon.config @@ -0,0 +1 @@ +#define EBUG 1 diff --git a/Daemons/weatherdaemon/weatherdaemon.creator b/Daemons/weatherdaemon/weatherdaemon.creator new file mode 100644 index 0000000..e94cbbd --- /dev/null +++ b/Daemons/weatherdaemon/weatherdaemon.creator @@ -0,0 +1 @@ +[General] diff --git a/Daemons/weatherdaemon/weatherdaemon.creator.user b/Daemons/weatherdaemon/weatherdaemon.creator.user new file mode 100644 index 0000000..e4de2e7 --- /dev/null +++ b/Daemons/weatherdaemon/weatherdaemon.creator.user @@ -0,0 +1,157 @@ + + + + + + EnvironmentId + {7bd84e39-ca37-46d3-be9d-99ebea85bc0d} + + + ProjectExplorer.Project.ActiveTarget + 0 + + + ProjectExplorer.Project.EditorSettings + + true + false + true + + Cpp + + CppGlobal + + + + QmlJS + + QmlJSGlobal + + + 2 + KOI8-R + false + 4 + false + 80 + true + true + 1 + true + false + 0 + true + true + 0 + 8 + true + 1 + true + false + true + false + + + + ProjectExplorer.Project.PluginSettings + + + + ProjectExplorer.Project.Target.0 + + Desktop + Desktop + {65a14f9e-e008-4c1b-89df-4eaa4774b6e3} + 0 + 0 + 0 + + /Big/Data/00__Small_tel/C-sources/netdaemon + + + + all + + false + + + false + true + GenericProjectManager.GenericMakeStep + + 1 + Сборка + Сборка + ProjectExplorer.BuildSteps.Build + + + + + clean + + false + + + false + true + GenericProjectManager.GenericMakeStep + + 1 + Очистка + Очистка + ProjectExplorer.BuildSteps.Clean + + 2 + false + + По умолчанию + GenericProjectManager.GenericBuildConfiguration + + 1 + + + 0 + Развёртывание + Развёртывание + ProjectExplorer.BuildSteps.Deploy + + 1 + + false + ProjectExplorer.DefaultDeployConfiguration + + 1 + + + 2 + + + ProjectExplorer.CustomExecutableRunConfiguration + + + false + + false + true + false + false + true + + + + 1 + + + + ProjectExplorer.Project.TargetCount + 1 + + + ProjectExplorer.Project.Updater.FileVersion + 22 + + + Version + 22 + + diff --git a/Daemons/weatherdaemon/weatherdaemon.creator.user.4.9-pre1 b/Daemons/weatherdaemon/weatherdaemon.creator.user.4.9-pre1 new file mode 100644 index 0000000..ebe493b --- /dev/null +++ b/Daemons/weatherdaemon/weatherdaemon.creator.user.4.9-pre1 @@ -0,0 +1,167 @@ + + + + + + EnvironmentId + {7bd84e39-ca37-46d3-be9d-99ebea85bc0d} + + + ProjectExplorer.Project.ActiveTarget + 0 + + + ProjectExplorer.Project.EditorSettings + + true + false + true + + Cpp + + CppGlobal + + + + QmlJS + + QmlJSGlobal + + + 2 + KOI8-R + false + 4 + false + 80 + true + true + 1 + true + false + 0 + true + true + 0 + 8 + true + 1 + true + false + true + false + + + + ProjectExplorer.Project.PluginSettings + + + + ProjectExplorer.Project.Target.0 + + Desktop + Desktop + {65a14f9e-e008-4c1b-89df-4eaa4774b6e3} + 0 + 0 + 0 + + /Big/Data/00__Small_tel/C-sources/netdaemon + + + + all + + false + + + false + true + Сборка + + GenericProjectManager.GenericMakeStep + + 1 + Сборка + + ProjectExplorer.BuildSteps.Build + + + + + clean + + false + + + false + true + Сборка + + GenericProjectManager.GenericMakeStep + + 1 + Очистка + + ProjectExplorer.BuildSteps.Clean + + 2 + false + + По умолчанию + По умолчанию + GenericProjectManager.GenericBuildConfiguration + + 1 + + + 0 + Установка + + ProjectExplorer.BuildSteps.Deploy + + 1 + Конфигурация установки + + ProjectExplorer.DefaultDeployConfiguration + + 1 + + + false + false + 1000 + + true + 2 + + + Особая программа + + ProjectExplorer.CustomExecutableRunConfiguration + + 3768 + false + true + false + false + true + + + + 1 + + + + ProjectExplorer.Project.TargetCount + 1 + + + ProjectExplorer.Project.Updater.FileVersion + 20 + + + Version + 20 + + diff --git a/Daemons/weatherdaemon/weatherdaemon.cxxflags b/Daemons/weatherdaemon/weatherdaemon.cxxflags new file mode 100644 index 0000000..6435dfc --- /dev/null +++ b/Daemons/weatherdaemon/weatherdaemon.cxxflags @@ -0,0 +1 @@ +-std=c++17 \ No newline at end of file diff --git a/Daemons/weatherdaemon/weatherdaemon.files b/Daemons/weatherdaemon/weatherdaemon.files new file mode 100644 index 0000000..e782b69 --- /dev/null +++ b/Daemons/weatherdaemon/weatherdaemon.files @@ -0,0 +1,9 @@ +bta_shdata.c +bta_shdata.h +cmdlnopts.c +cmdlnopts.h +main.c +socket.c +socket.h +term.c +term.h diff --git a/Daemons/weatherdaemon/weatherdaemon.includes b/Daemons/weatherdaemon/weatherdaemon.includes new file mode 100644 index 0000000..9c558e3 --- /dev/null +++ b/Daemons/weatherdaemon/weatherdaemon.includes @@ -0,0 +1 @@ +.