Skip to content
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

Open
arlaor opened this issue May 26, 2020 · 5 comments
Open

PersWiFiManager without SPIFFS #34

arlaor opened this issue May 26, 2020 · 5 comments

Comments

@arlaor
Copy link

arlaor commented May 26, 2020

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

@r-downing
Copy link
Owner

r-downing commented May 26, 2020 via email

@arlaor
Copy link
Author

arlaor commented May 26, 2020

@r-downing
So the idea would be to write inside the .cpp file all the htm code of my project plus the one found in the pages wifi.htm and index.htm of the folder data of your library?

@arlaor
Copy link
Author

arlaor commented May 27, 2020

Hi @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?

@r-downing
Copy link
Owner

r-downing commented May 27, 2020 via email

@arlaor
Copy link
Author

arlaor commented May 28, 2020

Hi @r-downing

https://github.com/r-downing/PersWiFiManager/blob/master/examples/basic_rest_api/data/index.htm#L24

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants