commit
08a3f076ab
|
|
@ -0,0 +1,71 @@
|
||||||
|
# Created by https://www.toptal.com/developers/gitignore/api/c++,macos
|
||||||
|
# Edit at https://www.toptal.com/developers/gitignore?templates=c++,macos
|
||||||
|
|
||||||
|
### C++ ###
|
||||||
|
# Prerequisites
|
||||||
|
*.d
|
||||||
|
|
||||||
|
# Compiled Object files
|
||||||
|
*.slo
|
||||||
|
*.lo
|
||||||
|
*.o
|
||||||
|
*.obj
|
||||||
|
|
||||||
|
# Precompiled Headers
|
||||||
|
*.gch
|
||||||
|
*.pch
|
||||||
|
|
||||||
|
# Compiled Dynamic libraries
|
||||||
|
*.so
|
||||||
|
*.dylib
|
||||||
|
*.dll
|
||||||
|
|
||||||
|
# Fortran module files
|
||||||
|
*.mod
|
||||||
|
*.smod
|
||||||
|
|
||||||
|
# Compiled Static libraries
|
||||||
|
*.lai
|
||||||
|
*.la
|
||||||
|
*.a
|
||||||
|
*.lib
|
||||||
|
|
||||||
|
# Executables
|
||||||
|
*.exe
|
||||||
|
*.out
|
||||||
|
*.app
|
||||||
|
|
||||||
|
### macOS ###
|
||||||
|
# General
|
||||||
|
.DS_Store
|
||||||
|
.AppleDouble
|
||||||
|
.LSOverride
|
||||||
|
|
||||||
|
# Icon must end with two \r
|
||||||
|
Icon
|
||||||
|
|
||||||
|
# Thumbnails
|
||||||
|
._*
|
||||||
|
|
||||||
|
# Files that might appear in the root of a volume
|
||||||
|
.DocumentRevisions-V100
|
||||||
|
.fseventsd
|
||||||
|
.Spotlight-V100
|
||||||
|
.TemporaryItems
|
||||||
|
.Trashes
|
||||||
|
.VolumeIcon.icns
|
||||||
|
.com.apple.timemachine.donotpresent
|
||||||
|
|
||||||
|
# Directories potentially created on remote AFP share
|
||||||
|
.AppleDB
|
||||||
|
.AppleDesktop
|
||||||
|
Network Trash Folder
|
||||||
|
Temporary Items
|
||||||
|
.apdisk
|
||||||
|
|
||||||
|
### macOS Patch ###
|
||||||
|
# iCloud generated files
|
||||||
|
*.icloud
|
||||||
|
|
||||||
|
# End of https://www.toptal.com/developers/gitignore/api/c++,macos
|
||||||
|
|
||||||
|
|
@ -15,7 +15,7 @@
|
||||||
|
|
||||||
#define MSG_REBOOT_MCU "Reboot process started, wait several seconds for mcu to boot up. You can close this window now"
|
#define MSG_REBOOT_MCU "Reboot process started, wait several seconds for mcu to boot up. You can close this window now"
|
||||||
#define MSG_SAVE_OK_REBOOT "Save OK. Please reboot MCU" ///< WEB app msg save OK
|
#define MSG_SAVE_OK_REBOOT "Save OK. Please reboot MCU" ///< WEB app msg save OK
|
||||||
#define MSG_SAVE_OK_WIFI "Save OK. Connecting to Wi-Fi. Please wait several second"
|
#define MSG_SAVE_OK_WIFI "Save OK. Connecting to Wi-Fi. Please wait several seconds"
|
||||||
#define MSG_SAVE_OK "Save cfg OK" ///< WEB app msg save OK
|
#define MSG_SAVE_OK "Save cfg OK" ///< WEB app msg save OK
|
||||||
#define MSG_SAVE_NOTOK "Save cfg NOT OK!" ///< WEB app msg save NOT OK
|
#define MSG_SAVE_NOTOK "Save cfg NOT OK!" ///< WEB app msg save NOT OK
|
||||||
#define MSG_SCANNING "Scanning Wi-Fi networks. Wait 8s..." ///< WEB app msg Scanning wifi
|
#define MSG_SCANNING "Scanning Wi-Fi networks. Wait 8s..." ///< WEB app msg Scanning wifi
|
||||||
|
|
@ -1342,7 +1342,7 @@ function updateProgress() {
|
||||||
|
|
||||||
function checkUpdate() {
|
function checkUpdate() {
|
||||||
var xmlHttp = new XMLHttpRequest();
|
var xmlHttp = new XMLHttpRequest();
|
||||||
alert("Connecting to server... Please wait several second");
|
alert("Connecting to server... Please wait several seconds");
|
||||||
xmlHttp.open("GET", "/check_web_ota_update", false);
|
xmlHttp.open("GET", "/check_web_ota_update", false);
|
||||||
xmlHttp.send(null);
|
xmlHttp.send(null);
|
||||||
alert(xmlHttp.responseText);
|
alert(xmlHttp.responseText);
|
||||||
|
|
|
||||||
|
|
@ -443,7 +443,7 @@ void Server_InitWebServer_Actions() {
|
||||||
request->send(200, "text/plain", "Send Photo");
|
request->send(200, "text/plain", "Send Photo");
|
||||||
});
|
});
|
||||||
|
|
||||||
/* route for change LED status */
|
/* route to toggle the LED on and off. If the LED is on, this route turns it off, and vice-versa. */
|
||||||
server.on("/action_led", HTTP_GET, [](AsyncWebServerRequest* request) {
|
server.on("/action_led", HTTP_GET, [](AsyncWebServerRequest* request) {
|
||||||
SystemLog.AddEvent(LogLevel_Verbose, F("WEB server: /action_led Change LED status"));
|
SystemLog.AddEvent(LogLevel_Verbose, F("WEB server: /action_led Change LED status"));
|
||||||
if (Server_CheckBasicAuth(request) == false)
|
if (Server_CheckBasicAuth(request) == false)
|
||||||
|
|
@ -455,7 +455,7 @@ void Server_InitWebServer_Actions() {
|
||||||
request->send(200, "text/plain", "Change LED status");
|
request->send(200, "text/plain", "Change LED status");
|
||||||
});
|
});
|
||||||
|
|
||||||
/* route for change LED status */
|
/* route to set the LED on or off manually */
|
||||||
server.on("/light", HTTP_GET, [](AsyncWebServerRequest* request) {
|
server.on("/light", HTTP_GET, [](AsyncWebServerRequest* request) {
|
||||||
SystemLog.AddEvent(LogLevel_Verbose, F("WEB server: /light set LED status"));
|
SystemLog.AddEvent(LogLevel_Verbose, F("WEB server: /light set LED status"));
|
||||||
if (Server_CheckBasicAuth(request) == false)
|
if (Server_CheckBasicAuth(request) == false)
|
||||||
|
|
@ -511,7 +511,7 @@ void Server_InitWebServer_Actions() {
|
||||||
ESP.restart();
|
ESP.restart();
|
||||||
});
|
});
|
||||||
|
|
||||||
/* route for change LED status */
|
/* route for erasing the SD card */
|
||||||
server.on("/action_sderase", HTTP_GET, [](AsyncWebServerRequest* request) {
|
server.on("/action_sderase", HTTP_GET, [](AsyncWebServerRequest* request) {
|
||||||
SystemLog.AddEvent(LogLevel_Verbose, F("WEB server: /action_sderase remove files from SD card"));
|
SystemLog.AddEvent(LogLevel_Verbose, F("WEB server: /action_sderase remove files from SD card"));
|
||||||
if (Server_CheckBasicAuth(request) == false)
|
if (Server_CheckBasicAuth(request) == false)
|
||||||
|
|
|
||||||
|
|
@ -110,7 +110,7 @@
|
||||||
#define TIMELAPS_PHOTO_SUFFIX ".jpg" ///< photo file type for timelaps
|
#define TIMELAPS_PHOTO_SUFFIX ".jpg" ///< photo file type for timelaps
|
||||||
|
|
||||||
/* ---------------- FACTORY CFG ----------------*/
|
/* ---------------- FACTORY CFG ----------------*/
|
||||||
#define FACTORY_CFG_PHOTO_REFRESH_INTERVAL 30 ///< in the second
|
#define FACTORY_CFG_PHOTO_REFRESH_INTERVAL 30 ///< in seconds
|
||||||
#define FACTORY_CFG_PHOTO_QUALITY 10 ///< 10-63, lower is better
|
#define FACTORY_CFG_PHOTO_QUALITY 10 ///< 10-63, lower is better
|
||||||
#define FACTORY_CFG_FRAME_SIZE 0 ///< 0 - FRAMESIZE_QVGA, ..., 6 - FRAMESIZE_UXGA. Look function Cfg_TransformFrameSizeDataType
|
#define FACTORY_CFG_FRAME_SIZE 0 ///< 0 - FRAMESIZE_QVGA, ..., 6 - FRAMESIZE_UXGA. Look function Cfg_TransformFrameSizeDataType
|
||||||
#define FACTORY_CFG_BRIGHTNESS 0 ///< from -2 to 2
|
#define FACTORY_CFG_BRIGHTNESS 0 ///< from -2 to 2
|
||||||
|
|
|
||||||
|
|
@ -434,7 +434,7 @@ function updateProgress() {
|
||||||
|
|
||||||
function checkUpdate() {
|
function checkUpdate() {
|
||||||
var xmlHttp = new XMLHttpRequest();
|
var xmlHttp = new XMLHttpRequest();
|
||||||
alert("Connecting to server... Please wait several second");
|
alert("Connecting to server... Please wait several seconds");
|
||||||
xmlHttp.open("GET", "/check_web_ota_update", false);
|
xmlHttp.open("GET", "/check_web_ota_update", false);
|
||||||
xmlHttp.send(null);
|
xmlHttp.send(null);
|
||||||
alert(xmlHttp.responseText);
|
alert(xmlHttp.responseText);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue