diff options
Diffstat (limited to 'code/esp32/components/eos/include/cell.h')
-rw-r--r-- | code/esp32/components/eos/include/cell.h | 18 |
1 files changed, 18 insertions, 0 deletions
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 <sys/types.h> + +#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); |