Giter VIP home page Giter VIP logo

Comments (10)

domonetic avatar domonetic commented on June 29, 2024

+1

from wifimanager.

tzapu avatar tzapu commented on June 29, 2024

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.

tzapu avatar tzapu commented on June 29, 2024

I will also try to add a display/oled example for this, maybe i ll mange tomorrow
thank again

from wifimanager.

tzapu avatar tzapu commented on June 29, 2024

probably worth sending the ip of the AP in the call back as well

from wifimanager.

domonetic avatar domonetic commented on June 29, 2024

I think it would overload of unnecessary code, there are functions to find the ip.

from wifimanager.

tablatronix avatar tablatronix commented on June 29, 2024

Got a pull request or commit ? I was about to do this myself.

from wifimanager.

tzapu avatar tzapu commented on June 29, 2024

@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.

tzapu avatar tzapu commented on June 29, 2024

guys, pushed an update, will update documentation as well later
thanks again

from wifimanager.

tzapu avatar tzapu commented on June 29, 2024

this is done and seems to work fine
thanks guys

from wifimanager.

alwynallan avatar alwynallan commented on June 29, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.