From 76edd6c448c55c4f9bcf37509ec372149c966993 Mon Sep 17 00:00:00 2001 From: schneefux Date: Fri, 25 Dec 2015 13:38:31 +0100 Subject: first commit --- portal.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 portal.h (limited to 'portal.h') diff --git a/portal.h b/portal.h new file mode 100644 index 0000000..1c5cb6e --- /dev/null +++ b/portal.h @@ -0,0 +1,24 @@ +#include +#include + +#include "dnsserver.h" +#include "util.h" + +#ifndef __PORTAL_H__ +#define __PORTAL_H__ + +void portalSetup(String ssid); +void portalLoop(); +boolean isConnected(); +void startWebServer(); +void setWeatherIcon(String id); +int getAPIOverride(int pinId); +boolean apiNeedLedUpdate(); +void apiUpdatedLeds(); + +void scanSSIDs(); +void enterAPMode(); +boolean enterClientMode(const char* ssid, const char *passphrase); + +#endif + -- cgit v1.3.1