summaryrefslogtreecommitdiff
path: root/fw/esp32/components/eos/include/cell.h
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2022-09-23 20:09:50 +0200
committerUros Majstorovic <majstor@majstor.org>2022-09-23 20:09:50 +0200
commit92458eb1934e0f104f4a397c2c09ab2d19693436 (patch)
tree76c63779b15c1ac562e1a6c122e3371c04ee2a51 /fw/esp32/components/eos/include/cell.h
parent69ed847740e3efb5c5ff6319629c93d236150959 (diff)
sleep respects modem_present flag
Diffstat (limited to 'fw/esp32/components/eos/include/cell.h')
-rw-r--r--fw/esp32/components/eos/include/cell.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fw/esp32/components/eos/include/cell.h b/fw/esp32/components/eos/include/cell.h
index 269615d..3ed2646 100644
--- a/fw/esp32/components/eos/include/cell.h
+++ b/fw/esp32/components/eos/include/cell.h
@@ -80,6 +80,7 @@ size_t eos_modem_write(void *data, size_t size);
size_t eos_modem_read(void *data, size_t size, uint32_t timeout);
int eos_modem_readln(char *buf, size_t buf_size, uint32_t timeout);
int eos_modem_resp(char *ok_str, char *err_str, uint32_t timeout);
+int eos_modem_present(void);
uint8_t eos_modem_get_mode(void);
size_t eos_modem_get_status(unsigned char *buffer);
int eos_modem_set_mode(uint8_t mode);