-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PersWiFiManager without SPIFFS #34
Comments
Take a look in the cpp file, there's an optional define for WIFI_HTM_PROGMEM
. If you define that, it stores the whole html page in progmem and serves
it from that, and you can modify that as needed
https://github.com/r-downing/PersWiFiManager/blob/master/PersWiFiManager.cpp
…On Tue, May 26, 2020, 10:45 AM Arturo ***@***.***> wrote:
Hi @r-downing <https://github.com/r-downing>
What modifications should I implement in order to use your library without
the use of SPIFFS, including the HTM pages directly in the sketch?
The idea is to divide the LED control functions in one tab, OTAupdate in
another tab and PersWiFiManager in another tab
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#34>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGKJRO33ALTUJUP56YSMNSDRTPIXDANCNFSM4NKL54LQ>
.
|
@r-downing |
Hi @r-downing |
In your case you would want to add a link to the wifi.html in your main
page like so:
https://github.com/r-downing/PersWiFiManager/blob/master/examples/basic_rest_api/data/index.htm#L24
…On Wed, May 27, 2020, 10:52 AM Arturo ***@***.***> wrote:
Hi @r-downing <https://github.com/r-downing>
I have used the example basic_rest_api.ino and I have declared within
PersWiFiManager.cpp the line #define WIFI_HTM_PROGMEM
but there is no launch of the page that is inside the PersWiFiManager.cpp
file
Is there any extra line that needs to be added for proper operation?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#34 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGKJROYN47H7IZJL5STTK73RTUSJ3ANCNFSM4NKL54LQ>
.
|
Hi @r-downing But that would imply using SPIFFS and having in the sketch a page with all the 3 tabs mentioned and loading the wifi.htm page found in the flash space in one of the tabs? |
Hi @r-downing
What modifications should I implement in order to use your library without the use of SPIFFS, including the HTM pages directly in the sketch?
The idea is to divide the LED control functions in one tab, OTAupdate in another tab and PersWiFiManager in another tab
The text was updated successfully, but these errors were encountered: