diff options
author | Uros Majstorovic <majstor@majstor.org> | 2020-05-24 00:00:38 +0200 |
---|---|---|
committer | Uros Majstorovic <majstor@majstor.org> | 2020-05-24 00:00:38 +0200 |
commit | 375ac3b0c7e9ed8b2d2d0fc4d0700a23c8865836 (patch) | |
tree | 2b2b53c1b1823a606983061f4d6f61e7478cc611 /code/esp32/components/eos/include/net.h | |
parent | 8cab5fea518d4bf6c680816f8ba8b7b7d9ee7401 (diff) |
esp32 deep sleep implemented
Diffstat (limited to 'code/esp32/components/eos/include/net.h')
-rw-r--r-- | code/esp32/components/eos/include/net.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/code/esp32/components/eos/include/net.h b/code/esp32/components/eos/include/net.h index 818776e..54bad6d 100644 --- a/code/esp32/components/eos/include/net.h +++ b/code/esp32/components/eos/include/net.h @@ -25,9 +25,10 @@ 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); void eos_net_set_handler(unsigned char mtype, eos_net_fptr_t handler); -void eos_net_sleep_done(void); -void eos_net_wake(uint8_t source); +void eos_net_sleep_done(uint8_t mode); +void eos_net_wake(uint8_t source, uint8_t mode); |