ESP_IOT v2.5
IOT ESP Coding
WIFI_APModule.h File Reference
#include "../../Defines.h"
Include dependency graph for WIFI_APModule.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void preSetup_WIFI_APModule ()
 
void setup_WIFI_APModule ()
 sets the config in the EPPROM called wifi-config. NOTE: the _done isn't valid until after this code... More...
 
void loop_WIFI_APModule ()
 main loop More...
 
void cleanEPROM_WIFI_APModule ()
 cleans the eprom info More...
 
boolean doneWIFI_APModule_Credentials ()
 called to see if the WIFIModule has finished bootstrapping.. More...
 
void setDoneWIFI_APModuleFlag (boolean flag)
 called to set the done flag (this could be from outside like if BLE updated credentials..) More...
 
void WIFI_APModule_ResetCredentials ()
 resets the credentials (maybe only the SSID .. keep the other) More...
 
String WIFI_APModule_JsonOutputString ()
 retrieves the JSON string More...
 
boolean isSet_SSID_WIFICredentials ()
 returns true if the SSID is set, false otherwise. If set, then just exit.. More...
 
void clean_SSID_WIFICredentials ()
 cleans credentials More...
 
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 More...
 

Function Documentation

◆ clean_SSID_WIFICredentials()

void clean_SSID_WIFICredentials ( )

cleans credentials

cleans credentials

Definition at line 171 of file WIFI_APModule.cpp.

Here is the caller graph for this function:

◆ cleanEPROM_WIFI_APModule()

void cleanEPROM_WIFI_APModule ( )

cleans the eprom info

Definition at line 189 of file WIFI_APModule.cpp.

Here is the caller graph for this function:

◆ doneWIFI_APModule_Credentials()

boolean doneWIFI_APModule_Credentials ( )

called to see if the WIFIModule has finished bootstrapping..

The rest are custom methods ..

called to see if the WIFIModule has finished bootstrapping..

Definition at line 131 of file WIFI_APModule.cpp.

Here is the caller graph for this function:

◆ isSet_SSID_WIFICredentials()

boolean isSet_SSID_WIFICredentials ( )

returns true if the SSID is set, false otherwise. If set, then just exit..

Definition at line 153 of file WIFI_APModule.cpp.

Here is the caller graph for this function:

◆ loop_WIFI_APModule()

void loop_WIFI_APModule ( )

main loop

Definition at line 256 of file WIFI_APModule.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ preSetup_WIFI_APModule()

void preSetup_WIFI_APModule ( )

4.8.22. Called to do any state variables. a presetup() approach .. THIS will make the doneWIFI call valid.. and has to be done before _done is looked at..

4.8.22. Called to do any state variables. a presetup() approach ..

Exit setup(). 退出setup()

Definition at line 222 of file WIFI_APModule.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setDoneWIFI_APModuleFlag()

void setDoneWIFI_APModuleFlag ( boolean  flag)

called to set the done flag (this could be from outside like if BLE updated credentials..)

called to set the done flag (this could be from outside like if BLE updated credentials..)

Definition at line 125 of file WIFI_APModule.cpp.

Here is the caller graph for this function:

◆ setup_WIFI_APModule()

void setup_WIFI_APModule ( )

sets the config in the EPPROM called wifi-config. NOTE: the _done isn't valid until after this code...

Exit setup(). 退出setup()

Definition at line 235 of file WIFI_APModule.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ WIFI_APModule_JsonOutputString()

String WIFI_APModule_JsonOutputString ( )

retrieves the JSON string

Definition at line 146 of file WIFI_APModule.cpp.

Here is the caller graph for this function:

◆ WIFI_APModule_ResetCredentials()

void WIFI_APModule_ResetCredentials ( )

resets the credentials (maybe only the SSID .. keep the other)

resets the credentials (maybe only the SSID .. keep the other)

Definition at line 137 of file WIFI_APModule.cpp.

Here is the caller graph for this function:

◆ WIFI_APModule_updateMQTTInfo()

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

Definition at line 198 of file WIFI_APModule.cpp.

Here is the caller graph for this function: