1#ifndef WIFI_AP_MODULE_h
2#define WIFI_AP_MODULE_h
17#include "../../Defines.h"
18#ifdef USE_WIFI_AP_MODULE
51void WIFI_APModule_updateMQTTInfo(
char *ssid,
char *ssid_password,
char *username,
char *password,
char *guestPassword,
char *deviceName,
char *host,
char *port,
char *locationString);
String WIFI_APModule_JsonOutputString()
retrieves the JSON string
void loop_WIFI_APModule()
main loop
void setup_WIFI_APModule()
sets the config in the EPPROM called wifi-config. NOTE: the _done isn't valid until after this code....
void clean_SSID_WIFICredentials()
cleans credentials
void WIFI_APModule_ResetCredentials()
resets the credentials (maybe only the SSID .. keep the other)
void WIFI_APModule_updateMQTTInfo(char *ssid, char *ssid_password, char *username, char *password, char *guestPassword, char *deviceName, char *host, char *port, char *locationString)
sets the MQTT user/password. It's up to the code to decide who needs to know
boolean doneWIFI_APModule_Credentials()
called to see if the WIFIModule has finished bootstrapping..
void cleanEPROM_WIFI_APModule()
cleans the eprom info
void preSetup_WIFI_APModule()
void setDoneWIFI_APModuleFlag(boolean flag)
called to set the done flag (this could be from outside like if BLE updated credentials....
boolean isSet_SSID_WIFICredentials()
returns true if the SSID is set, false otherwise. If set, then just exit..