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
|
||||
agent_run_cycle(void)
|
||||
{
|
||||
int result = 0, rc;
|
||||
|
||||
if ((rc = surgard_run_cycle())) {
|
||||
result = rc;
|
||||
}
|
||||
:
|
||||
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"
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_SMTP_SERVER
|
||||
#define CONFIG_SMTP_SERVER "mx.lowenware.com"
|
||||
#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
|
||||
|
||||
|
||||
int
|
||||
config_read(void);
|
||||
|
||||
#endif /* !CONFIG_H */
|
||||
|
||||
@@ -1,12 +1,10 @@
|
||||
Port templight to SDK
|
||||
Implement authentication UI
|
||||
Implement authentication modules in SDK
|
||||
Implement serial surgard receiver
|
||||
Implement EBS OSM receiver
|
||||
Define device file format
|
||||
Implement device logs
|
||||
Implement ARC journal
|
||||
Implement device cards
|
||||
Implement routes
|
||||
Agent configuration manager
|
||||
Surgard module
|
||||
Authentication
|
||||
Monitoring module
|
||||
Editor module
|
||||
EBS OSM module
|
||||
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