Comments (10)
+1
from wifimanager.
Hi,
this is very nice, i will add it.
something like this i plan to also add for additional variables, thank you very much, you hva kickstarted me in the right direction.
cheers
alex
On 16 Dec 2015, at 19:52, Peter Allan [email protected] wrote:
Others might have this need, so feel free to integrate my solution My application has a display but no user input It's useful to display that the device is in AP mode, waiting for configuration I did it with a callback function: in WiFiManagerh, public:
void setAPCallback( void (*func)(void) );
and private:
void (*_apcallback)(void) = NULL;
Then in WiFiMangercpp after WiFimode(WIFI_AP); I added
if( _apcallback != NULL) _apcallback();
and the obvious
void WiFiManager::setAPCallback( void (*func)(void) ) {
_apcallback = func;
}Feel free to improve Thanks for the handy library
—
Reply to this email directly or view it on GitHub #21.
from wifimanager.
I will also try to add a display/oled example for this, maybe i ll mange tomorrow
thank again
from wifimanager.
probably worth sending the ip of the AP in the call back as well
from wifimanager.
I think it would overload of unnecessary code, there are functions to find the ip.
from wifimanager.
Got a pull request or commit ? I was about to do this myself.
from wifimanager.
@domonetic you are right, makes sense
@tablatronix i plan on merging it today, as soon as i get a chance. will update here
from wifimanager.
guys, pushed an update, will update documentation as well later
thanks again
from wifimanager.
this is done and seems to work fine
thanks guys
from wifimanager.
Thanks guys for including this. I have upgraded to your version and it all works. One day I'll learn git fork/merge and make my changes myself.
from wifimanager.
Related Issues (20)
- If anyone wants to change the name (SSID) of the Access Point (AP) that appears (with the IP address 192.168.4.1) HOT 12
- Wifimanager and ESP Mail Client HOT 4
- Possibility to change pass for SoftAP from webui.
- Feature configurable? WiFi AP started when local WiFi is down HOT 2
- How to save and restore Ip adress from webportal ?
- Dedicated Parameter Page HOT 1
- Unable to save/retrieve custom variables in WiFiManager
- Q: ESP Reboot after successful initial connection to own wifi possible (bind issue with Async Webserver from AP to STA)
- Esp32 wroom 32 UE
- Question: Is there a way to detect if the WiFi connection is successful before the config portal closes? HOT 1
- Force remove DNS input from Captive portal
- Question: Is possible change deep link to redirect to an App instead of Captive Portal HOT 3
- Add new Release to platformio HOT 5
- Custom Param doesn't load when starting ConfigPortal on demand & WiFi has been already connected.
- Hi
- How to refresh (repaint) custom param element on setValue() HOT 2
- unable to do OTA update for esp32 s3. update failed due to error in downloading version. unable to find the where the exact issue is?
- OTA UPDATE ISSUE
- Changing STA config's authmode causes the STA config's SSID to become empty
- Custom configuration, on demand server, and invoking web server for future config updates
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wifimanager.