removed ttn-esp32
This commit is contained in:
parent
2a7c8df919
commit
d86c632b66
3
.gitmodules
vendored
3
.gitmodules
vendored
|
|
@ -1,9 +1,6 @@
|
|||
[submodule "components/esp_modem"]
|
||||
path = components/esp_modem
|
||||
url = https://github.com/userbogd/esp_modem.git
|
||||
[submodule "components/ttn-esp32"]
|
||||
path = components/ttn-esp32
|
||||
url = https://github.com/userbogd/ttn-esp32.git
|
||||
[submodule "components/webguiapp"]
|
||||
path = components/webguiapp
|
||||
url = https://gitlab.com/userbogd/webguiapp.git
|
||||
|
|
|
|||
11
build_ui.bat
11
build_ui.bat
|
|
@ -1,11 +0,0 @@
|
|||
@ECHO OFF
|
||||
SETLOCAL
|
||||
SET "sourcedir=C:\BOGD-PROJECTS\WebguiappTemplate\WEBUI"
|
||||
SET "keepfile=espfs.paths"
|
||||
SET "keepdir=keep"
|
||||
|
||||
FOR /d %%a IN ("%sourcedir%\*") DO IF /i NOT "%%~nxa"=="%keepdir%" RD /S /Q "%%a"
|
||||
FOR %%a IN ("%sourcedir%\*") DO IF /i NOT "%%~nxa"=="%keepfile%" DEL "%%a
|
||||
cd C:\BOGD-PROJECTS\webui\
|
||||
quasar %build
|
||||
xcopy /s C:\BOGD-PROJECTS\webui\dist\spa C:\BOGD-PROJECTS\WebguiappTemplate\WEBUI
|
||||
|
|
@ -1 +0,0 @@
|
|||
Subproject commit d603d92738f677e9391afae9cb57b95db17148f7
|
||||
|
|
@ -1 +1 @@
|
|||
Subproject commit 434af91865ff0ceb9f926f5e22b40f39afa69236
|
||||
Subproject commit 2a89f5f190a59d5b5e565491e60f5d60e28c514f
|
||||
|
|
@ -10,7 +10,7 @@
|
|||
int HTTPPrintCustom(httpd_req_t *req, char *buf, char *var, int arg);
|
||||
HTTP_IO_RESULT AfterPostHandlerCustom(httpd_req_t *req, const char *filename, char *PostData);
|
||||
void UserMQTTEventHndlr(int idx, void *handler_args, esp_event_base_t base, int32_t event_id, void *event_data);
|
||||
void TimeObtainHandler(struct timeval* tm);
|
||||
void TimeObtainHandler(struct timeval *tm);
|
||||
void SaveUserConf();
|
||||
|
||||
const char my_context_data[] = "MyContextDataPassedIntoMQTTHandler";
|
||||
|
|
@ -19,13 +19,12 @@ void app_main(void)
|
|||
{
|
||||
regHTTPPrintCustom(&HTTPPrintCustom);
|
||||
regAfterPostHandlerCustom(&AfterPostHandlerCustom);
|
||||
regUserEventHandler(&UserMQTTEventHndlr, (void*)my_context_data);
|
||||
regUserEventHandler(&UserMQTTEventHndlr, (void*) my_context_data);
|
||||
regTimeSyncCallback(&TimeObtainHandler);
|
||||
regCustomSaveConf(&SaveUserConf);
|
||||
|
||||
RegAppVariables();
|
||||
|
||||
|
||||
WebGuiAppInit();
|
||||
if (GetUserAppNeedReset())
|
||||
{
|
||||
|
|
@ -34,7 +33,6 @@ void app_main(void)
|
|||
}
|
||||
ESP_ERROR_CHECK(InitAppConfig());
|
||||
|
||||
|
||||
while (true)
|
||||
{
|
||||
sleep(1);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user