From e6c06c38ea7ed2c46a605af4c87f154377caadba Mon Sep 17 00:00:00 2001
From: Uros Majstorovic <majstor@majstor.org>
Date: Sat, 9 May 2020 19:43:25 +0200
Subject: added sleep/wake for modem; fixed ppp driver API

---
 code/esp32/components/eos/include/cell.h | 15 ++++++++++++---
 1 file changed, 12 insertions(+), 3 deletions(-)

(limited to 'code/esp32/components/eos/include')

diff --git a/code/esp32/components/eos/include/cell.h b/code/esp32/components/eos/include/cell.h
index 4a2cfbc..3a9e955 100644
--- a/code/esp32/components/eos/include/cell.h
+++ b/code/esp32/components/eos/include/cell.h
@@ -10,8 +10,8 @@
 #define EOS_CELL_MTYPE_AUDIO_STOP   5
 
 #define EOS_CELL_UART_MODE_NONE     0
-#define EOS_CELL_UART_MODE_PPP      1
-#define EOS_CELL_UART_MODE_ATCMD    2
+#define EOS_CELL_UART_MODE_ATCMD    1
+#define EOS_CELL_UART_MODE_PPP      2
 #define EOS_CELL_UART_MODE_RELAY    3
 
 void eos_pcm_init(void);
@@ -34,4 +34,13 @@ int eos_modem_set_mode(uint8_t mode);
 int eos_modem_take(void);
 void eos_modem_give(void);
 
-void eos_cell_init(void);
\ No newline at end of file
+void eos_modem_sleep(void);
+void eos_modem_wake(void);
+
+void eos_ppp_set_apn(char *apn);
+void eos_ppp_set_auth(char *user, char *pass);
+
+int eos_ppp_connect(void);
+int eos_ppp_disconnect(void);
+
+void eos_cell_init(void);
-- 
cgit v1.2.3