summaryrefslogtreecommitdiff
path: root/code/esp32/components/eos/include
diff options
context:
space:
mode:
Diffstat (limited to 'code/esp32/components/eos/include')
-rw-r--r--code/esp32/components/eos/include/cell.h15
1 files changed, 12 insertions, 3 deletions
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);