summaryrefslogtreecommitdiff
path: root/code/esp32/components/eos/include/cell.h
diff options
context:
space:
mode:
Diffstat (limited to 'code/esp32/components/eos/include/cell.h')
-rw-r--r--code/esp32/components/eos/include/cell.h17
1 files changed, 13 insertions, 4 deletions
diff --git a/code/esp32/components/eos/include/cell.h b/code/esp32/components/eos/include/cell.h
index 61da67a..f3eb89d 100644
--- a/code/esp32/components/eos/include/cell.h
+++ b/code/esp32/components/eos/include/cell.h
@@ -6,13 +6,22 @@
#define EOS_CELL_MTYPE_DATA_START 2
#define EOS_CELL_MTYPE_DATA_STOP 3
-#define EOS_CELL_MTYPE_AUDIO_START 2
-#define EOS_CELL_MTYPE_AUDIO_STOP 3
+#define EOS_CELL_MTYPE_AUDIO_START 4
+#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_RELAY 2
void eos_pcm_init(void);
-ssize_t eos_pcm_write(void *data, size_t size);
-void eos_pcm_call(void);
+
+ssize_t eos_pcm_read(unsigned char *data, size_t size);
+int eos_pcm_push(unsigned char *data, size_t size);
+void eos_pcm_start(void);
+void eos_pcm_stop(void);
void eos_modem_init(void);
ssize_t eos_modem_write(void *data, size_t size);
void eos_modem_set_mode(char mode);
+
+void eos_cell_init(void); \ No newline at end of file