Commit Graph
79 Commits
Author SHA1 Message Date
Shawn A 0b0eb6159c moving blocks 2017-02-10 15:29:32 -06:00
Shawn A 1a44dd53e6 move apcallback to proper location
This was actually being called before the ap was setup!
2017-02-10 15:21:48 -06:00
Shawn A 65349cb546 fix WL_IDLE_STATUS return values for compatibility
This might need better handling in future, since we only get back a bool
of wether or not we are connected, not if configportal was saved etc.
might be a problem.
2017-02-10 15:13:48 -06:00
Shawn A e9b36f9084 fix breakafterconfig 2017-02-10 15:05:45 -06:00
Shawn A bd9c3b31fb refactoring some larger functions
* broke large functions into smaller , to allow new features to be
hooked in easier
* added persistent test to constructor destructor
* testing turn off sta during portal , causes issues
2017-02-10 14:07:52 -06:00
Shawn A c819d46902 allow for empty password 2017-02-09 17:10:15 -06:00
Shawn A 2edd37eeb8 oops typo 2017-02-09 17:02:33 -06:00
Shawn A 45a325bd34 fix validippassword
abstracted ap password validation
passing a invalid password should be fatal , not fallback to null, but
could be an optional define
2017-02-09 16:57:34 -06:00
Shawn A 9c72bf98f7 cleaning up source, comments 2017-02-09 16:33:10 -06:00
Alex T 628307dbf7 Merge branch 'master' into development 2017-02-09 15:56:51 +02:00
Shawn A c810633ee3 reset configportal timeouts after ap disconnect
configportaltimeout now starts at configportalstart if no sta clients,
or after last client disconnects. Will never timeout if ap has sta
client! handle edge case in user code.
2017-02-08 10:34:41 -06:00
Shawn A 0ddb835072 feature #308
only timeout when ap has no client, do not timeout configportal when
user is connected.
2017-02-08 08:18:59 -06:00
Alex T 7a17c98828 Merge branch 'master' into development 2017-02-03 06:17:42 +02:00
Alex Goris 1f500fddd1 Don't add custom parameters if array size is exceeded
array containing custom parameters is initialised at class
initialization time with a fixed value. When we later try to add more
parameters than the array allows we will now discard the offending
parameters and make a debug logging so the developer knows what's going
on.

Might be further improved as per this answer on StackOverflow:
http://stackoverflow.com/a/12271501
This would allow the array size to be specified at initialisation time,
and would give flexibility to the developer to decide how big the array
should be.

closes tzapu/WiFiManager#285
2017-01-08 23:31:53 +01:00
Alex T abedb61ca1 parameter label 2016-10-15 12:07:48 +03:00
TaaraLabs c3d01d33e1 startConfigPortal() without any parameters
startConfigPortal() without any parameters uses auto generated name ESP + ChipID
2016-08-06 12:38:26 +03:00
Alex T 028bdeeb17 removed 204 header response https://github.com/tzapu/WiFiManager/issues/114 2016-05-08 10:14:11 +03:00
Alex T 44e828e77a reverted std::sort that caused problems with isnan and other none namespeced used function calls 2016-05-08 10:07:32 +03:00
Alex T f99156e29f added setter for removing duplicate APs 2016-03-16 20:42:47 +02:00
Shawn A 276795079e add remove duplicate ap feature fixes #26 2016-03-09 16:03:51 -06:00
Alex Tudorache 566bcbe063 attempt to fix not connecting issues and endless loops 2016-03-08 07:46:06 +02:00
Alex Tudorache b99487785d fix for auto connect racing issue 2016-03-05 17:47:12 +02:00
Alex Tudorache 7f11a5d144 added custom head element, like style/css 2016-03-04 15:01:12 +02:00
Alex Tudorache ae007befd0 Merge commit '33a5e5b3cb81e960e10d7ae8d4b3a2940d38660b' 2016-03-04 09:12:39 +02:00
Alex Tudorache 6f727ff2df new sort 2016-03-02 16:39:03 +02:00
Pablo Sanchez 33a5e5b3cb Added an option to the WiFiManagerParameter so that a parameter can be read-only. This is done in a way that does not break an existing
program by having a constructor for either way. If a "1" is added to the end of the parameter list then the field becomes readonly.
The HTML will add the "readonly" option.
2016-02-18 23:29:00 -05:00
Alex Tudorache 2582dd8735 version 0.10
ordered networks based on signal quality
2016-02-16 18:24:12 +02:00
Alex Tudorache f82141c98c changed styling 2016-02-16 14:46:18 +02:00
Alex Tudorache 9cde9a8170 added a new version of wait for connect result
added setConnectTimeout
renamed setTimeout to setConfigPortalTimeout
2016-02-16 11:17:34 +02:00
Alex Tudorache 3f617c7455 fixed all pages so they don t return unknown content length, much faster now 2016-02-14 15:46:01 +02:00
Alex Tudorache 6f0c16d74f added flash chip real size to info page 2016-02-14 15:04:20 +02:00
Alex Tudorache 0f75d745fe 0.9 fixed encoding problems 2016-02-04 14:38:48 +02:00
Alex Tudorache ba1aa5496d added more examples,
updated readme
made it compile on older versions
2016-02-01 12:34:29 +02:00
Alex Tudorache 6e65f39895 added rescan option
added reset option
added info page
precomposed page for A LOT faster page sending
2016-01-25 10:51:25 +02:00
Alex Tudorache 031b7c97bc added ability of returning even if connection fails
added example that resets after configuration if connection is unsuccessful
2016-01-25 09:25:51 +02:00
Alex Tudorache c1038ea371 fixed check for gateway and subnet 2016-01-22 10:28:31 +02:00
Alex Tudorache 823767cb8b char array would cut off strings that were too small in size 2016-01-18 16:34:25 +02:00
Alex Tudorache 13fa4ffa3a added example on how to save static ip to FS config.json
added static ip to config portal, if set
2016-01-18 11:20:15 +02:00
Alex Tudorache e2bbd527d1 added static mode
thanks @jonathanendersby
renamed private variables for more clarity
readme update
2016-01-17 13:27:24 +02:00
Jonathan Endersby 598baf4451 Adding Static IP Support 2016-01-17 07:40:26 +02:00
Alex Tudorache b4e688a543 changed template
fix for web server returning empty pages in latest github
2016-01-14 20:29:58 +02:00
Alex Tudorache 217faa43a3 0.6 release
updated readme
2016-01-13 11:48:52 +02:00
Alex Tudorache 1351245d09 added signal quality filter 2016-01-11 13:06:12 +02:00
Franklin van Velthuizen c77e9cbcc9 To show the config portal SSID in the callback, a global reference to the WiFiManager object was needed. To solve this, a pointer to the WiFiManager object is now passed to the callback. The feedback example is edited accordingly. 2016-01-10 00:28:39 +01:00
Franklin van Velthuizen 0780115c7b Renamed getConfigurationSSID() to getConfigPortalSSID() 2016-01-09 01:24:48 +01:00
Franklin van Velthuizen 1db01f08e6 Added method getConfigurationSSID(), so the config portal SSID that is created by the ESP8266 can be used in the callback (e.g. for output to a screen) 2016-01-09 01:17:16 +01:00
Alex Tudorache b05dff34b7 added example for on demand config portal
cleanup
2016-01-08 21:04:37 +02:00
Alex Tudorache 0bef4467b3 cleanup
moved ap creation logic to new function so it can be called on demand
implemented changes and suggestions from @riccibitti , thanks

Merge branch 'master' of https://github.com/riccibitti/WiFiManager

# Conflicts:
#	WiFiManager.cpp
#	WiFiManager.h
2016-01-08 18:42:27 +02:00
Alex Tudorache 53489e9c3d resolved conflicts with other libraries that might have used DEBUG_PRINT
thanks @SebiPanther
2016-01-08 13:18:23 +02:00
Alex Tudorache 83177e9c55 a bit of cleanup
removed write on every connect of parameters, now it only writes parameters to FS if config portal is started and connection is successful
2016-01-08 12:51:10 +02:00