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
0b6341bea4
cleanup readme (removed hint about alternate constructor)
2017-10-26 16:10:34 -07: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
tzapu
89af31245b
Merge pull request #398 from Derek123456/Derek123456-patch-1
...
Fix for issue https://github.com/tzapu/WiFiManager/issues/392
closes #392
thank you very much
2017-08-22 10:12:29 +03: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
Derek123456
cee18a7ce3
Update WiFiManager.h
...
Changed <input ... length={l}>to <input ... maxlength={l}>
2017-08-22 10:30:53 +08:00
tzapu
f9c4c87c61
Merge pull request #386 from denisvm/readme-wishlist
...
Improve wishlist in README
2017-07-13 09:39:40 +03:00
tzapu
06d75bf7b1
Update README.md
2017-07-13 09:39:28 +03:00
Dênis Volpato Martins
9637d9473e
Improve wishlist in README
2017-07-12 22:07:33 -03: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
tzapu
eb4594c8e4
Merge pull request #383 from scop/spelling
...
Spelling fixes
thanks
2017-07-10 09:38:21 +03:00
Ville Skyttä
58eb7113e7
Spelling fixes
2017-07-09 17:11:31 +03:00
Chris Liebman
898768092c
removed un-needed constructor declaration
2017-06-27 16:35:48 -07: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
tzapu
5e9248651f
Merge pull request #334 from camelmasa/fix-broken-links
...
Fix broken link
2017-06-06 16:04:16 +03: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
tzapu
3135bc5e89
Merge pull request #310 from tablatronix/feature_308_configportaltimeouts
...
Feature 308 configportaltimeouts
fixes #308
thank you very much
2017-02-08 08:55:15 -08: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
Shawn A
a8c13a7c96
Merge remote-tracking branch 'refs/remotes/tzapu/master'
2017-02-08 08:07:01 -06:00
tzapu
8ffb4cbfa9
Merge pull request #284 from robertoostenveld/master
...
use setAPStaticIPConfig instead of (old?) setAPConfig in first example
2017-02-02 02:57:55 -08:00
tzapu
0cc4487e42
Merge pull request #297 from jorgecis/patch-1
...
Quotes are missing creating issues.
2017-02-02 02:57:16 -08:00
tzapu
b696b2c29a
Merge pull request #286 from vyruz1986/master
...
Don't add custom parameters if array size is exceeded
2017-02-02 02:56:56 -08:00
Jorge Cisneros
bd0da6c7a6
Quotes are missing creating issues.
2017-01-16 22:48:09 -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
Robert Oostenveld
a231ae5deb
use setAPStaticIPConfig instead of (old?) setAPConfig in first example
2017-01-07 22:10:00 +01:00
tzapu
022b15d2c8
Merge pull request #250 from ivankravets/patch-5
...
Update platforms compatibility
Thank you very much
2016-11-22 12:51:52 +02:00
Ivan Kravets
2a0ac55f87
Update platforms compatibility
2016-11-22 12:50:55 +02:00
tzapu
fd15f986d3
Merge pull request #210 from TaaraLabs/patch-1
...
startConfigPortal() without any parameters
thank you very much
2016-10-15 08:04:13 +03:00
Alex T
60c22d672f
Merge commit 'e0b8acb8dd8e419e378e71abed77fe926c2e5b54'
2016-09-08 13:08:09 +03:00
Alex T
1b261f2371
intial html template parser
2016-09-08 13:07:51 +03:00
TaaraLabs
31887ff36a
startConfigPortal() without parameters
2016-08-06 12:45:22 +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
tzapu
e0b8acb8dd
Merge pull request #188 from bakrus/patch-1
...
Fix to allow 5 digit 'mqtt_port'
2016-07-02 15:25:29 +03:00
bakrus
039702327e
Fix to allow 5 digit 'mqtt_port'
...
'WiFiManagerParameter custom_mqtt_port' made consistent with declaration of 'mqtt_port'
2016-07-02 13:27:59 +02:00
Alex T
fac1575c96
attempt codecov
2016-06-15 14:35:43 +03:00
tzapu
560d4113f9
Merge pull request #168 from gitgrimbo/staticip-example-improved-comments
...
Improve comments for AutoConnectWithStaticIP example
thank you very much
2016-05-24 08:32:28 +03:00
gitgrimbo
c93cd80f58
Improve comments for AutoConnectWithStaticIP example
2016-05-11 08:21:23 +01:00
Alex T
04d47882a7
ver bump
0.12
2016-05-08 11:25:03 +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
801ae82ef5
removed extraneous headers
2016-05-08 09:41:06 +03:00
Alex T
a209509d98
0.11 readme and ver bump
0.11
2016-04-05 09:28:13 +03:00
Shawn A
8a375ec340
Merge remote-tracking branch 'refs/remotes/tzapu/master'
2016-03-18 14:47:57 -05:00
Alex T
f99156e29f
added setter for removing duplicate APs
2016-03-16 20:42:47 +02:00
tzapu
413b76cd81
Merge pull request #124 from tablatronix/remove-duplicate-aps
...
Remove duplicate aps
2016-03-16 20:35:05 +02:00