summaryrefslogtreecommitdiffstats
path: root/main/net.h
diff options
context:
space:
mode:
authorSadeep Madurange <sadeep@asciimx.com>2023-06-21 10:47:31 +0800
committerSadeep Madurange <sadeep@asciimx.com>2023-06-21 10:47:31 +0800
commit24d9a11a326dc8e805b177c45bfe23e4675a2e05 (patch)
tree57dcbe8367b5dc9556cbdd8de174a143d1d64f65 /main/net.h
parent1692d13b27ec91e52269ba33b94ea47840880e4f (diff)
downloadesp8266-dht22-weather-station-24d9a11a326dc8e805b177c45bfe23e4675a2e05.tar.gz
Copied from sourcehut.
Diffstat (limited to 'main/net.h')
-rw-r--r--main/net.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/main/net.h b/main/net.h
new file mode 100644
index 0000000..622fd01
--- /dev/null
+++ b/main/net.h
@@ -0,0 +1,10 @@
+#ifndef NET_H
+#define NET_H
+
+#include <mqtt_client.h>
+
+void wifi_connect(void);
+
+esp_mqtt_client_handle_t mqtt_connect(void);
+
+#endif