src.nth.io/

summaryrefslogtreecommitdiff
path: root/main/mdns_service.h
diff options
context:
space:
mode:
Diffstat (limited to 'main/mdns_service.h')
-rw-r--r--main/mdns_service.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/main/mdns_service.h b/main/mdns_service.h
new file mode 100644
index 0000000..1e7eb12
--- /dev/null
+++ b/main/mdns_service.h
@@ -0,0 +1,9 @@
+#pragma once
+
+#include "esp_err.h"
+
+esp_err_t mdns_service_start(void);
+
+// Update the mDNS hostname and TXT records to reflect the current
+// viewport name / orientation. Call after /config writes either field.
+esp_err_t mdns_service_refresh(void);