-->
Page 1 of 1

Resetting wifi credentials by resetting multiple times

PostPosted: Tue Jun 02, 2020 2:46 pm
by GHBLoos
Hi All,

I would like to have the option to reset the stored wifi credentials by resetting an ESP module multiple times within a certain time. For example after resetting 7 times in 10 seconds, the credentials are removed.
I guess that must be possible using the flash memory to store the time of reset and the number of times it has been reset the last 10 seconds.

Does anyone know if there is a (comparable) example of this or can someone help me to setup such a sketch (using arduino)?

Re: Resetting wifi credentials by resetting multiple times

PostPosted: Thu Jun 04, 2020 7:52 am
by QuickFix
Do you mean something like detecting a double reset?


BTW. are you Dutch by any chance? :lol:

Re: Resetting wifi credentials by resetting multiple times

PostPosted: Thu Jun 04, 2020 11:55 am
by GHBLoos
Thank you. This helps. Maybe I can change it to MultipleResetDetector
(And Yes, I'm a Dutchman. Did I mix up Dutch and English text?)

Re: Resetting wifi credentials by resetting multiple times

PostPosted: Fri Jun 05, 2020 2:56 am
by QuickFix
GHBLoos wrote:(And Yes, I'm a Dutchman. Did I mix up Dutch and English text?)

Hehehe no, but it's always nice to know you're not under the influence of drugs. :lol:

(Ik weet niet of je naam daaraan refereert, maar zo las ik het wel) ;)