summaryrefslogtreecommitdiff
path: root/code/esp32/components/eos/include/cell.h
blob: 61da67a69745d3de43b217474031c6d546c67170 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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);