maintenance mode (experimental)
This commit is contained in:
1 parent
ad2c889889
commit
b1e08f0269
14 files changed
+186
-138
No files matched your search
@@ -0,0 +1,17 @@
|
||||
#ifndef BOOT_H
|
||||
#define BOOT_H
|
||||
|
||||
#include "globals.h"
|
||||
#include "hash.h"
|
||||
|
||||
#include <Update.h>
|
||||
#include <WiFi.h>
|
||||
#include <WiFiClientSecure.h>
|
||||
#include <WiFiClient.h>
|
||||
#include <WebServer.h>
|
||||
#include <ESPmDNS.h>
|
||||
|
||||
void IRAM_ATTR exit_boot_menu(void);
|
||||
void start_boot_menu(void);
|
||||
|
||||
#endif // BOOT_H
|
||||
+1
-1
@@ -4,6 +4,6 @@
|
||||
#include <Arduino.h>
|
||||
#include <RokkitHash.h>
|
||||
|
||||
uint32_t IRAM_ATTR hash(const char *data, int len);
|
||||
uint32_t IRAM_ATTR myhash(const char *data, int len);
|
||||
|
||||
#endif
|
||||
@@ -20,5 +20,6 @@
|
||||
#include "lorawan.h"
|
||||
#include "timekeeper.h"
|
||||
#include "corona.h"
|
||||
#include "boot.h"
|
||||
|
||||
#endif
|
||||
@@ -3,6 +3,7 @@
|
||||
|
||||
#include "globals.h"
|
||||
#include "rcommand.h"
|
||||
#include "hash.h"
|
||||
#include <MQTT.h>
|
||||
#include <ETH.h>
|
||||
#include <mbedtls/base64.h>
|
||||
|
||||
+1
-6
@@ -13,17 +13,12 @@
|
||||
#include <WiFiClientSecure.h>
|
||||
#include <BintrayClient.h>
|
||||
|
||||
#include <WiFiClient.h>
|
||||
#include <WebServer.h>
|
||||
#include <ESPmDNS.h>
|
||||
|
||||
int do_ota_update();
|
||||
void start_ota_update();
|
||||
void start_maintenance();
|
||||
void ota_display(const uint8_t row, const std::string status,
|
||||
const std::string msg);
|
||||
void show_progress(unsigned long current, unsigned long size);
|
||||
|
||||
#endif // USE_OTA
|
||||
|
||||
#endif // OTA_H
|
||||
#endif // OTA_H
|
||||
Reference in new issue
Block a user