Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ItKindaWorks/ESPHelper
/ functions
Functions
93 in github.com/ItKindaWorks/ESPHelper
⨍
Functions
93
◇
Types & classes
6
↓ 8 callers
Method
getSsid
src/sharedData.h:151
↓ 7 callers
Method
getMqttHost
src/sharedData.h:148
↓ 7 callers
Method
getMqttPort
src/sharedData.h:157
↓ 7 callers
Method
getMqttUser
src/sharedData.h:149
↓ 7 callers
Method
getMqttWillMessage
src/sharedData.h:156
↓ 7 callers
Method
getMqttWillRetain
src/sharedData.h:159
↓ 7 callers
Method
getMqttWillTopic
src/sharedData.h:155
↓ 6 callers
Method
getMqttPass
src/sharedData.h:150
↓ 6 callers
Method
getMqttWillQoS
src/sharedData.h:158
↓ 6 callers
Method
setMqttHost
src/sharedData.h:135
↓ 6 callers
Method
setMqttPort
src/sharedData.h:144
↓ 6 callers
Method
setMqttWillMessage
src/sharedData.h:143
↓ 6 callers
Method
setMqttWillTopic
src/sharedData.h:142
↓ 5 callers
Method
clear
@brief Clear the configuration data * * This method resets all fields in the ESPHelperConf structure to their default values. * It is useful fo
src/sharedData.h:190
↓ 5 callers
Method
getPass
src/sharedData.h:152
↓ 5 callers
Method
setMqttPass
src/sharedData.h:137
↓ 5 callers
Method
setMqttUser
src/sharedData.h:136
↓ 5 callers
Method
setMqttWillQoS
src/sharedData.h:146
↓ 5 callers
Method
setMqttWillRetain
src/sharedData.h:145
↓ 5 callers
Method
setPass
src/sharedData.h:139
↓ 5 callers
Method
setSsid
src/sharedData.h:138
↓ 4 callers
Method
begin
src/ESPHelper.cpp:182
↓ 3 callers
Method
cloneTo
* @brief Clone the current configuration to another NetInfo object * * @param target The target NetInfo object to clone to * @param storeLocal
src/sharedData.h:125
↓ 3 callers
Method
setCallback
legacy funtion - here for compatibility. Sets the callback function for MQTT (see function above) input: function ptr that matches the MQTT callback
src/ESPHelper.cpp:687
↓ 3 callers
Method
setHostname
src/sharedData.h:141
↓ 2 callers
Method
getHostname
returns the current ESPHelper hostname input: NA output: char ptr containing the ESP hostname */
src/ESPHelper.cpp:1291
↓ 2 callers
Method
handle
src/ESPHelperWebConfig.cpp:103
↓ 1 callers
Function
convert_file
(source_path, dest_path)
web_to_header.py:11
↓ 1 callers
Method
end
end the instance of ESPHelper (shutdown wifi, ota, mqtt) input: NA output: NA */
src/ESPHelper.cpp:308
↓ 1 callers
Method
handlePost
If a POST request is made to URI /config
src/ESPHelperWebConfig.cpp:147
↓ 1 callers
Method
handleReset
src/ESPHelperWebConfig.cpp:233
↓ 1 callers
Method
loop
main loop - should be called as often as possible - handles wifi/mqtt connection and mqtt handler input: NA output: true on: network/server connecte
src/ESPHelper.cpp:428
↓ 1 callers
Function
main
()
web_to_header.py:54
↓ 1 callers
Function
post_process_file
(file_path)
web_to_header.py:38
↓ 1 callers
Method
setExternalMemory
@brief Use an external ESPHelperConf object for storage * * This method allows the NetInfo instance to use an existing ESPHelperConf object * i
src/sharedData.h:111
↓ 1 callers
Method
setOtaPassword
src/sharedData.h:140
↓ 1 callers
Method
setToLocalCopy
@brief Set the NetInfo to a local copy of the provided ESPHelperConf * * This method creates a local copy of the provided ESPHelperConf object.
src/sharedData.h:208
↓ 1 callers
Method
unsubscribe
manually unsubscribes from a topic (This is basically just a wrapper for the pubsubclient function) input: char ptr to topic to unsubscribe from ou
src/ESPHelper.cpp:579
Method
ESPHelper
empty initializer wrapper used for creating instances of ESPHelper that will be filled in later from a loaded config file input: NA output: NA */
src/ESPHelper.cpp:66
Method
ESPHelperWebConfig
src/ESPHelperWebConfig.cpp:24
Method
NetInfo
* @brief Construct a new NetInfo object with local storage * */
src/sharedData.h:67
Method
OTA_begin
begin the OTA subsystem but with a check for connectivity and enabled use of OTA input: NA output: NA */
src/ESPHelper.cpp:1223
Method
OTA_disable
disable use of OTA updates input: NA output: NA */
src/ESPHelper.cpp:1237
Method
OTA_enable
enable use of OTA updates input: NA output: NA */
src/ESPHelper.cpp:1211
Method
OTA_setHostname
set the hostname of the ESP for OTA uploads input: char ptr containing the intended hostname output: NA */
src/ESPHelper.cpp:1262
Method
OTA_setHostnameWithVersion
set the hostname of the ESP for OTA uploads and append the ESPHelper version number input: char ptr containing the intended hostname output: NA */
src/ESPHelper.cpp:1275
Method
OTA_setPassword
set a password for OTA updates input: char ptr containing the OTA password to be used output: NA */
src/ESPHelper.cpp:1250
Method
addSubscription
add a topic to the list of subscriptions and attempt to subscribe to the topic on the spot input: char ptr for a topic to subscibe to output: true
src/ESPHelper.cpp:495
Method
begin
src/ESPHelperWebConfig.cpp:53
Method
broadcastMode
enables and sets up broadcast mode rather than station mode. This allows users to create a network from the ESP and upload using OTA even if there is
src/ESPHelper.cpp:367
Method
disableBroadcast
disable broadcast mode and reset to station mode (causes a call to begin - may want to change this in the future...) input: NA output: NA */
src/ESPHelper.cpp:406
Method
fillConfig
src/ESPHelperWebConfig.cpp:99
Method
getHostname
src/sharedData.h:154
Method
getIP
return the local IP address of the ESP as a string input: NA output: String representing the current IP address of the ESP */
src/ESPHelper.cpp:1147
Method
getIPAddress
return the local IP address of the ESP input: NA output: IPAddress instance representing the current IP address of the ESP */
src/ESPHelper.cpp:1165
Method
getMQTTClient
returns internal pubsubclient ptr (use with caution) input: NA output: pubsubclient ptr */
src/ESPHelper.cpp:1303
Method
getMQTTIP
return the current MQTT server IP input: NA output: char ptr to the current MQTT IP or Hostname */
src/ESPHelper.cpp:1041
Method
getMQTTQOS
return the QOS level for mqtt input: NA output: int for current MQTT QOS */
src/ESPHelper.cpp:1122
Method
getNetInfo
return the current NetInfo state input: NA output: NetInfo of the current network */
src/ESPHelper.cpp:975
Method
getOtaPassword
src/sharedData.h:153
Method
getPASS
return the current network password input: NA output: char ptr to the current network pass */
src/ESPHelper.cpp:1014
Method
getSSID
return the current SSID input: NA output: char ptr referencing the current SSID */
src/ESPHelper.cpp:987
Method
getStatus
get the current connection status of ESPHelper input: NA output: int for current ESPHelper connection status(refer to connStatus enum is sharedData.
src/ESPHelper.cpp:1182
Method
handleGet
main config page that allows user to enter in configuration info
src/ESPHelperWebConfig.cpp:118
Method
handleNotFound
src/ESPHelperWebConfig.cpp:242
Method
init
initialize the NetInfo data and reset wifi. set hopping and OTA to off input: char ptr for network SSID char ptr for network Password char ptr fo
src/ESPHelper.cpp:128
Method
listSubscriptions
DEBUG ONLY - print the subscribed topics list to the serial line input: NA output: NA */
src/ESPHelper.cpp:1195
Method
macToStr
generate unique MQTT name from MAC addr input: uint8* (array) representing the ESP mac address output: string version of that mac address # */
src/ESPHelper.cpp:958
Function
printNetInfo
src/ESPHelper.cpp:29
Method
publish
publish to a specified topic input: char ptr to topic to publish to char ptr to the payload to be published output: NA */
src/ESPHelper.cpp:592
Method
publishJson
src/ESPHelper.cpp:612
Method
reconnect
attempts to connect to wifi & mqtt server if not connected input: NA output: NA */
src/ESPHelper.cpp:725
Method
removeSubscription
attempts to remove a topic from the topic list input: char ptr to a topic to subscribe to output: true on: subscription removed from list (does not
src/ESPHelper.cpp:543
Method
resubscribe
loops through list of subscriptions and attempts to subscribe to all topics input: NA output: NA */
src/ESPHelper.cpp:522
Method
safeCopy
@brief Safely copy a string to a destination buffer * * This method copies a string from source to destination, ensuring that the destination *
src/sharedData.h:176
Method
setConnectionStatus
internal function used to set _connectionStatus based on the WiFi & MQTT status input: NA output: NA */
src/ESPHelper.cpp:877
Method
setFlashReset
src/ESPHelperWebConfig.cpp:226
Method
setMQTTBuffer
sets a new buffer size for mqtt messages in/out input: int bytes of how large the buffer should be output: true: success false: failure */
src/ESPHelper.cpp:1316
Method
setMQTTCallback
set the callback function for MQTT input: function ptr that matches the MQTT callback function signature in pubsubclient output: NA */
src/ESPHelper.cpp:668
Method
setMQTTIP
set a new MQTT server IP or Hostname - does not automatically disconnect from current network/server if already connected input: char ptr to a new M
src/ESPHelper.cpp:1054
Method
setMQTTQOS
set the QOS level for mqtt input: int for MQTT QOS level output: NA */
src/ESPHelper.cpp:1135
Method
setPASS
set a new network password - does not automatically disconnect from current network if already connected input: char ptr to the new network pass to
src/ESPHelper.cpp:1028
Method
setSSID
set a new SSID - does not automatically disconnect from current network if already connected input: char ptr to the SSID to connect to output: NA */
src/ESPHelper.cpp:1001
Method
setWifiCallback
sets a custom function to run when connection to wifi is established input: void function ptr with no params output: NA */
src/ESPHelper.cpp:700
Method
setWifiLostCallback
sets a custom function to run when connection to wifi is lost input: void function ptr with no params output: NA */
src/ESPHelper.cpp:713
Method
setWill
set a new MQTT Will - does not automatically disconnect from current network/server if already connected input: char ptr to MQTT will topic char pt
src/ESPHelper.cpp:1087
Method
subscribe
subscribe to a speicifc topic (does not add to topic list) input: char ptr to a topic to subscribe to int for QOS of the subscription output: true
src/ESPHelper.cpp:472
Method
updateNetwork
input: output: */
src/ESPHelper.cpp:922
Method
useConfig
src/ESPHelperWebConfig.cpp:95
Method
useSecureClient
enables the use of a secure (SSL) connection to an MQTT broker. (Make sure your mqtt port is set to one expecting a secure connection) input: char pt
src/ESPHelper.cpp:335
Method
validateConfig
checks which parts of a NetInfo have been filled out and updates internal flags noting which are set input: NA output: NA */
src/ESPHelper.cpp:146
Method
~ESPHelperWebConfig
src/ESPHelperWebConfig.cpp:44
Method
~NetInfo
* @brief Destroy the Net Info object * */
src/sharedData.h:91