Commit Graph
70 Commits
Author SHA1 Message Date
Chris Liebman c4905c23b7 remove init function as its not needed with one constructor 2017-06-27 16:27:37 -07:00
Chris Liebman 3950a3b859 use single constructor with default value for size 2017-06-27 16:24:23 -07:00
Chris Liebman 362a561a35 use malloc/free for WiFiManagerParameter* array instead of hard coding.
add alternate constructor to specifiy max parameter count
origional default constructor uses old hard codded value
2017-06-04 06:41:27 -07: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 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
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
SebiPanther 5dfb2e9ad6 Fixed incompatibilities with DHT Library from https://github.com/adafruit/DHT-sensor-library 2016-01-07 22:18:28 +01:00
Alex Tudorache e0548dc4b4 modified custom parameters feature so user can provide their own storage mechanism
added FS json storage of parameters example
2016-01-07 17:52:29 +02:00
Rafael de Pelegrini Soares f29d63018c Added support for additional parameters 2016-01-05 23:31:10 -02:00
Alberto Ricci Bitti 807933270b Added "forceAP" parameter to autoconnect (defaulted to false, which leaves previous behaviour unchanged).
If true, starts the configuration portal anyway (in my case I have a physical button to enter configuration)
2016-01-04 13:17:06 +01:00
Alberto Ricci Bitti ead84aea36 Removed unused/commented code 2016-01-04 10:57:43 +01:00
Alberto Ricci Bitti 9fd11f13b6 connectWifi() now returns connection status, making its use more straightforward 2016-01-04 10:44:56 +01:00
Alex Tudorache 777c2fab1b presentation tweaks 2015-12-28 18:07:02 +02:00
Alex Tudorache ffdc117a6e added AP quality
added padlock for secured networks
moved more stuff to PROGMEM
2015-12-27 11:17:29 +02:00
Alex Tudorache 44419e10a2 moved most stuff to PROGMEM
added warning for invalid password
2015-12-23 18:15:58 +02:00