src.nth.io/

summaryrefslogtreecommitdiff
path: root/main/net_eth.h
diff options
context:
space:
mode:
Diffstat (limited to 'main/net_eth.h')
-rw-r--r--main/net_eth.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/main/net_eth.h b/main/net_eth.h
new file mode 100644
index 0000000..23f2450
--- /dev/null
+++ b/main/net_eth.h
@@ -0,0 +1,10 @@
+#pragma once
+
+#include <stdbool.h>
+#include <stdint.h>
+#include "esp_err.h"
+
+esp_err_t net_eth_init(void);
+esp_err_t net_eth_wait_for_ip(uint32_t timeout_ms);
+bool net_eth_is_up(void);
+const char *net_eth_get_ip_str(void);