summaryrefslogtreecommitdiff
path: root/fw/esp32/components/eos/include/power.h
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2022-09-04 18:43:50 +0200
committerUros Majstorovic <majstor@majstor.org>2022-09-04 18:43:50 +0200
commit6a4b3ef0e72ee134b81a523ce41fd4c45f3b4429 (patch)
treec4cb9b524711238b162511f515d484df4052e3ab /fw/esp32/components/eos/include/power.h
parent03ec4d6158bd3c555b6c60b9e7476740464f19fa (diff)
fixed wifi and cell
Diffstat (limited to 'fw/esp32/components/eos/include/power.h')
-rw-r--r--fw/esp32/components/eos/include/power.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/fw/esp32/components/eos/include/power.h b/fw/esp32/components/eos/include/power.h
index 3d2e0bc..2215907 100644
--- a/fw/esp32/components/eos/include/power.h
+++ b/fw/esp32/components/eos/include/power.h
@@ -4,9 +4,10 @@
#define EOS_PWR_WAKE_RST 0
#define EOS_PWR_WAKE_BTN 1
-#define EOS_PWR_WAKE_NET 2
-#define EOS_PWR_WAKE_MSG 3
-#define EOS_PWR_WAKE_UART 4
+#define EOS_PWR_WAKE_UART 2
+#define EOS_PWR_WAKE_NET 3
+#define EOS_PWR_WAKE_NETQ 4
+#define EOS_PWR_WAKE_UNDEF 5
#define EOS_PWR_SMODE_LIGHT 1
#define EOS_PWR_SMODE_DEEP 2
@@ -14,6 +15,7 @@
void eos_power_init(void);
void eos_power_wait4init(void);
+void eos_power_wait4wake(void);
uint8_t eos_power_wakeup_cause(void);
void eos_power_sleep(void);
void eos_power_wake(uint8_t source);