Update todo, add config module and update submodules references
This commit is contained in:
+1
-1
Submodule cStuff updated: 93234df78d...17ce2c5753
+1
-1
Submodule sdk updated: f43bb30065...6347444494
@@ -33,5 +33,11 @@ agent_release(void)
|
|||||||
int
|
int
|
||||||
agent_run_cycle(void)
|
agent_run_cycle(void)
|
||||||
{
|
{
|
||||||
|
int result = 0, rc;
|
||||||
|
|
||||||
|
if ((rc = surgard_run_cycle())) {
|
||||||
|
result = rc;
|
||||||
|
}
|
||||||
|
:
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,24 @@
|
|||||||
|
/******************************************************************************
|
||||||
|
*
|
||||||
|
* Copyright (c) 2017-2019 by Löwenware Ltd
|
||||||
|
* Please, refer LICENSE file for legal information
|
||||||
|
*
|
||||||
|
******************************************************************************/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @file config.c
|
||||||
|
* @author Ilja Kartašov <ik@lowenware.com>
|
||||||
|
* @brief
|
||||||
|
*
|
||||||
|
* @see https://lowenware.com/
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <cStuff/config.h>
|
||||||
|
#include "config.h"
|
||||||
|
|
||||||
|
int
|
||||||
|
config_read(void)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
+2
-29
@@ -25,34 +25,7 @@
|
|||||||
#define CONFIG_LOG_TARGET "output.log"
|
#define CONFIG_LOG_TARGET "output.log"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef CONFIG_SMTP_SERVER
|
int
|
||||||
#define CONFIG_SMTP_SERVER "mx.lowenware.com"
|
config_read(void);
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef CONFIG_SMTP_PORT
|
|
||||||
#define CONFIG_SMTP_PORT 465
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef CONFIG_SMTP_USER
|
|
||||||
#define CONFIG_SMTP_USER "robot@lowenware.com"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef CONFIG_SMTP_PASS
|
|
||||||
#define CONFIG_SMTP_PASS "3HFzxiQYY9QJ6LN3" /* +){xA8}(mNF43B(~" */
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef CONFIG_MAIL_FROM
|
|
||||||
#define CONFIG_MAIL_FROM CONFIG_SMTP_USER
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef CONFIG_MAIL_TO
|
|
||||||
#define CONFIG_MAIL_TO "ik@lowenware.com"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef CONFIG_MAIL_SUBJECT
|
|
||||||
#define CONFIG_MAIL_SUBJECT "Feedback from website"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#endif /* !CONFIG_H */
|
#endif /* !CONFIG_H */
|
||||||
|
|||||||
@@ -1,12 +1,10 @@
|
|||||||
Port templight to SDK
|
Agent configuration manager
|
||||||
Implement authentication UI
|
Surgard module
|
||||||
Implement authentication modules in SDK
|
Authentication
|
||||||
Implement serial surgard receiver
|
Monitoring module
|
||||||
Implement EBS OSM receiver
|
Editor module
|
||||||
Define device file format
|
EBS OSM module
|
||||||
Implement device logs
|
|
||||||
Implement ARC journal
|
|
||||||
Implement device cards
|
|
||||||
Implement routes
|
|
||||||
x Create project repository
|
x Create project repository
|
||||||
|
x Port templight to SDK
|
||||||
|
x Implement authentication modules in SDK
|
||||||
|
x Configuration parser
|
||||||
|
|||||||
Reference in New Issue
Block a user