summaryrefslogtreecommitdiff
path: root/fw/esp32/components/eos/include/eos.h
blob: 3f9755dc9bc7e9a27a6f8630d0a257f2b4b5f6cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#define EOS_OK                      0
#define EOS_ERR                     -1
#define EOS_ERR_TIMEOUT             -2
#define EOS_ERR_BUSY                -3

#define EOS_ERR_SIZE                -10
#define EOS_ERR_FULL                -11
#define EOS_ERR_EMPTY               -12
#define EOS_ERR_NOTFOUND            -13
#define EOS_ERR_NOTSUPPORTED        -14

#define EOS_ERR_NOMEM               -100

#define EOS_TASK_PRIORITY_NET       16
#define EOS_TASK_PRIORITY_APP       17
#define EOS_TASK_PRIORITY_SOCK      10
#define EOS_TASK_PRIORITY_UART      10
#define EOS_TASK_PRIORITY_MODEM     10
#define EOS_TASK_PRIORITY_PCM       10
#define EOS_TASK_PRIORITY_CELL      10
#define EOS_TASK_PRIORITY_PWR       10

#define EOS_TASK_SSIZE_NET          8192
#define EOS_TASK_SSIZE_APP          8192
#define EOS_TASK_SSIZE_SOCK         4096
#define EOS_TASK_SSIZE_UART         4096
#define EOS_TASK_SSIZE_MODEM        4096
#define EOS_TASK_SSIZE_PCM          4096
#define EOS_TASK_SSIZE_CELL         4096
#define EOS_TASK_SSIZE_PWR          4096