Norbert
f1e657e2b8
Fixed Waiting for connection result with time out issue
2018-06-04 13:51:29 +02:00
David Gauchard
f333f271e4
remove warning
2018-02-21 12:10:19 +01:00
Jasper
5243036dbf
Update WiFiManager.cpp
2018-02-13 20:00:17 +08:00
Jasper
a94d897ee4
Update WiFiManager.cpp
2018-02-13 19:52:38 +08:00
Jasper
aa734eb606
Update WiFiManager.cpp
2018-02-13 17:18:26 +08:00
Jasper
a863167b23
Lower RAM usage of library
...
Place remaining debug messages into Flash using F().
2018-02-13 11:16:37 +08:00
Laurent Louf
6aaa83a266
Bug fix for problem discovered when setting length to 1 for additional parameters
...
The initialization of the buffer holding the value stopped before the last character and storage did not take into account the extra-byte for end of string.
2018-02-06 14:12:13 +01:00
Shawn A
a4795b77f7
Merge pull request #374 from liebman/allocate-params-array
...
use malloc/free for WiFiManagerParameter* array instead of hard coding.
2018-01-30 12:29:30 -06:00
Christopher Liebman
5c6252fe45
should use delete[] not delete
2017-12-09 08:37:35 -08:00
Christopher Liebman
a5ff5cb9e4
Add WiFiManagerParameter destructor to free new'd _value, it was allocated but never free'd
2017-12-09 06:24:15 -08:00
Christopher Liebman
d66cd47df8
use realloc() when increasing the size of _params. addParameter() now returns bool
...
indicating the status of adding the parameter where false indicates it failed to
increase the size of _params and did not add the parameter.
2017-12-09 06:04:07 -08:00
Chris Liebman
6465d72f6e
Refactored to use only a default constructor and automatically resize the parameter array each time the size limit is reached.
...
I used the initial size (WIFI_MANAGER_MAX_PARAMS) as the increment when resizing.
Existing data is coppied to the new array and the old one is free'd.
2017-10-26 15:23:47 -07:00
Chris Liebman
33704176e0
Merge remote-tracking branch 'upstream/master' into allocate-params-array
2017-10-25 18:59:23 -07:00
Derek123456
68e32a10c0
Update WiFiManager.cpp
...
https://github.com/tzapu/WiFiManager/issues/392
Increased size of parLength to 5 so the custom parameter length variable can be up to 9999 long.
2017-08-22 10:32:52 +08:00
tzapu
0de9d12930
Merge pull request #363 from suculent/fix-content-length
...
fix for #362 - Setting Content-length explicitly - https://github.com…
2017-07-10 13:41:07 +03:00
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
Matěj Sychra
ada93b721a
fix for #362 - Setting Content-length explicitly - https://github.com/tzapu/WiFiManager/issues/362
2017-05-03 14:56:31 +02:00
camelmasa
29b2f02ae4
Fix broken links
2017-03-20 12:58:49 +09: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