summaryrefslogtreecommitdiff
path: root/fw/esp32/components/eos/include/net.h
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2020-08-07 19:26:12 +0200
committerUros Majstorovic <majstor@majstor.org>2020-08-07 19:26:12 +0200
commit3af816f20b94326b05a6dde21d7f734df14b61d3 (patch)
treea4bbdb6e22c670b7231d9d909dc6b75fe9c5433e /fw/esp32/components/eos/include/net.h
parenta35636fc4a55e6b0cfbb5772f7274ee749059836 (diff)
net driver: removed obsolete flags; urc process simplefied; pcm: added active flag; tested cell voice/data
Diffstat (limited to 'fw/esp32/components/eos/include/net.h')
-rw-r--r--fw/esp32/components/eos/include/net.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/fw/esp32/components/eos/include/net.h b/fw/esp32/components/eos/include/net.h
index 54bad6d..f71d07d 100644
--- a/fw/esp32/components/eos/include/net.h
+++ b/fw/esp32/components/eos/include/net.h
@@ -19,16 +19,13 @@
#define EOS_NET_SIZE_BUFQ 4
#define EOS_NET_SIZE_SNDQ 4
-#define EOS_NET_FLAG_BFREE 0x1
-#define EOS_NET_FLAG_BCOPY 0x2
-
typedef void (*eos_net_fptr_t) (unsigned char, unsigned char *, uint16_t);
void eos_net_init(void);
unsigned char *eos_net_alloc(void);
void eos_net_free(unsigned char *buf);
-int eos_net_send(unsigned char mtype, unsigned char *buffer, uint16_t len, uint8_t flags);
+int eos_net_send(unsigned char mtype, unsigned char *buffer, uint16_t len);
void eos_net_set_handler(unsigned char mtype, eos_net_fptr_t handler);
void eos_net_sleep_done(uint8_t mode);
void eos_net_wake(uint8_t source, uint8_t mode);