Previously a valid predefined static IP had to be passed before the
config page would show the IP, gateway and subnet fields. This did not
allow the config page to show 'optional' static IP fields.
Now a boolean can be passed to the autoConnect() function which will
specify whether the static IP fields should be shown or not.
When this boolean is true but no predefined values are passed and fields
are left blank in config page, wifiManager will revert to DHCP. This
allows user to choose between static IP or DHCP without changing code
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.
closestzapu/WiFiManager#285
another ci test
ci fix
ci attempt 6
stable package json
fixe prefs
fix lib folder
debug
alalalalaalal
try with 1.6.5
try with 1.6.7
verbose build
1.6.7 again
back to 1.6.5
escaped : in url
no save pref
no save pref, one line
and back to working 1.6.5
getting all examples built
added sh include
fix sh
added build
build examples
aded debug output
going insane
beautify
added lib ArduinoJson
try again
1.6.8
get arduino json from github
back to 1.6.5
If you have a long list of APs, the password field gets focuses on click, but this happens below the fold, this jumps to the form so you can see it. Added id to form instead of jumping to the #p field because it makes the input too close to the top of page, a well known issue of anchor links.
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.