mirror of
https://github.com/OpenEPaperLink/OpenEPaperLink.git
synced 2026-03-21 07:06:36 +01:00
- separated content types for 'not configured', 'static image', 'uploaded image' and 'home assistant' (which is all the same internally, but it confused the users to always see 'static image' - changed channel reported by the AP to the ieee801.15.4 channel instead of the WiFi channel - added geocoding to the 'location' fields (e.g. weather forecast). Now you can choose an ambiguous location from a dropdown. - added 'firmware update rejected' wakeup reason
18 lines
477 B
C
18 lines
477 B
C
#include <Arduino.h>
|
|
|
|
#define WAKEUP_REASON_TIMED 0
|
|
#define WAKEUP_REASON_BOOT 1
|
|
#define WAKEUP_REASON_GPIO 2
|
|
#define WAKEUP_REASON_NFC 3
|
|
#define WAKEUP_REASON_BUTTON1 4
|
|
#define WAKEUP_REASON_BUTTON2 5
|
|
#define WAKEUP_REASON_FAILED_OTA_FW 0xE0
|
|
#define WAKEUP_REASON_FIRSTBOOT 0xFC
|
|
#define WAKEUP_REASON_NETWORK_SCAN 0xFD
|
|
#define WAKEUP_REASON_WDT_RESET 0xFE
|
|
|
|
void initTime(void* parameter);
|
|
void logLine(const char* buffer);
|
|
void logLine(const String& text);
|
|
void logStartUp();
|