From 8cdc7528c800a3f10bca3e875e76f6d9661ab88f Mon Sep 17 00:00:00 2001 From: Uros Majstorovic Date: Sat, 7 Dec 2019 17:12:27 +0100 Subject: added net_alloc; fixed cell modem driver --- code/esp32/components/eos/include/cell.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 code/esp32/components/eos/include/cell.h (limited to 'code/esp32/components/eos/include/cell.h') diff --git a/code/esp32/components/eos/include/cell.h b/code/esp32/components/eos/include/cell.h new file mode 100644 index 0000000..61da67a --- /dev/null +++ b/code/esp32/components/eos/include/cell.h @@ -0,0 +1,18 @@ +#include + +#define EOS_CELL_MTYPE_DATA 0 +#define EOS_CELL_MTYPE_AUDIO 1 + +#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 + +void eos_pcm_init(void); +ssize_t eos_pcm_write(void *data, size_t size); +void eos_pcm_call(void); + +void eos_modem_init(void); +ssize_t eos_modem_write(void *data, size_t size); +void eos_modem_set_mode(char mode); -- cgit v1.2.3