Chris Marrin
174bb615e6
Changed setAPCallback and setSaveConfigCallback to take std::function params
...
This allows Predicates and Lambdas to be passed. Still allows bare function pointers
so this patch is fully backward compatible. Tested on WiFiManager examples for
backward compatibility and on my own project (OfficeClock) for handling lambdas with
captured variables
2018-04-07 09:13:48 -07:00
Shawn A
82309e7a84
comment
2018-04-05 12:38:34 -05:00
Shawn A
b682d8996b
Merge branch 'development' of https://github.com/tzapu/WiFiManager into development
2018-04-05 12:34:56 -05:00
Shawn A
c5b3637350
fixes #581
...
adds htmlentities to ssid outputs, limited replacements for now
2018-04-05 12:34:27 -05:00
Shawn A
5b3ac4236e
fix some error logging
2018-04-05 12:29:42 -05:00
Shawn A
87c2eb42b6
fixup scnanetworks
2018-04-05 12:29:11 -05:00
tablatronix
7ec3b99020
clean up defines, removed stuff for memory
2018-03-31 12:42:06 -05:00
tablatronix
49104d4bbb
adds chip revision efuse
...
not sure what use this is, as getChipRevision is usually the same anyway... shrug
2018-03-31 12:41:47 -05:00
Shawn A
41b29fa08c
fix erroneous error debug
2018-03-28 09:38:07 -05:00
Shawn A
ef70b49e98
fix nvs erase
2018-03-28 08:27:57 -05:00
Shawn A
4a6631511b
fix handleerase add softapconfig catch fail
2018-03-28 08:23:04 -05:00
Shawn A
a7b992450f
Merge branch 'development' of https://github.com/tzapu/WiFiManager into development
2018-03-28 08:14:10 -05:00
Shawn A
10db048d61
getmodestr, handleerase(bool)
2018-03-28 08:13:53 -05:00
Christopher Liebman
7495fe2999
add setEnableConfigPortal(boolean enable) - if false dont open condig portal from autoConnect()
2018-03-24 18:29:30 -07:00
Shawn A
c9a7112cbb
fix parenths #573
2018-03-21 13:46:53 -05:00
Shawn A
32d6f11217
fixes #573
2018-03-21 13:30:53 -05:00
Shawn A
c2cbe3015b
refactor connectwifi, adds save timeout
...
wifi save now no longer uses settimeout timeout
2018-03-21 12:18:00 -05:00
Shawn A
851a38e7fa
ugh
2018-03-20 13:27:50 -05:00
Shawn A
7f6bd107e6
fix debug levels
2018-03-20 13:22:43 -05:00
Shawn A
d090dd3dd7
move menutokens
2018-03-20 13:14:50 -05:00
Shawn A
881f50fb7e
fix compiler warnings
2018-03-20 12:35:01 -05:00
Shawn A
941865ec85
datatype fixes
2018-03-20 12:24:28 -05:00
Shawn A
88d2cfbff4
change varnames
2018-03-20 12:05:46 -05:00
Shawn A
7a57a1395d
change setmenu to take vector or array of strnig tokens
2018-03-20 12:00:59 -05:00
Shawn A
8d4f745abf
Merge branch 'development' of https://github.com/tzapu/WiFiManager into development
2018-03-19 12:47:57 -05:00
Shawn A
e970686064
fix debug blank
2018-03-19 12:47:56 -05:00
tablatronix
de85162267
add bug workaround for esp8266 softap
2018-03-17 10:11:03 -05:00
tablatronix
8ddc86f470
adds handleClose
2018-03-17 10:10:46 -05:00
Shawn A
c9e82ae920
menuids as vector to deal with size
...
This kind of makes it a pain in the ass for users, not sure how to make this easier, I can take in an array of string ids, with a count arg, makes it easier, but then users can pass nonsense in, this way its enum ids, but damn it sure is convoluted. Welcome to ideas here...
```c++
std::vector<WiFiManager::menu_page_t> menu = {wm.MENU_WIFI,wm.MENU_INFO,wm.MENU_PARAM,wm.MENU_CLOSE,wm.MENU_SEP,wm.MENU_ERASE,wm.MENU_EXIT};
wm.setMenu(menu);
```
2018-03-16 15:55:53 -05:00
Shawn A
0741dbde2e
debug remove
2018-03-16 14:19:16 -05:00
Shawn A
e3b7dc2641
kludge setmenu with size so it works
...
Prboably going to add a vector for this, I do not want to add the overhead of std::array for something optional
2018-03-16 14:18:48 -05:00
Shawn A
d07f73263a
showinfoerase toggle
2018-03-16 14:17:58 -05:00
Shawn A
f60a1d1b06
adds section hrs
2018-03-16 10:56:28 -05:00
Shawn A
424f48f0a8
add setShowDnsFields, adds edge case force hide ip fields
2018-03-16 10:56:12 -05:00
Shawn A
03a40915ee
minor layout fix to config
2018-03-15 16:34:37 -05:00
Shawn A
8cbd0fa54e
oops
2018-03-15 16:08:48 -05:00
Shawn A
655db109c1
comments
2018-03-15 15:51:47 -05:00
Shawn A
3cc1fabae7
fix tabs
2018-03-15 15:40:34 -05:00
Deb
81045e6433
Added Custom DNS, fix newlines
2018-03-15 15:29:34 -05:00
Shawn A
278c320e22
added debug levels
2018-03-14 17:00:46 -05:00
Shawn A
29edaed0e7
fixes #555 oops
2018-03-14 12:59:51 -05:00
Shawn A
32e51ea37b
notes
2018-03-14 12:52:50 -05:00
Shawn A
9346cee76c
fix autoreconnect on auth failure
2018-03-14 10:46:08 -05:00
Shawn A
19d6101a1b
fix up connection result for ondemand portal
2018-03-14 10:45:50 -05:00
Shawn A
68201cd965
remove serial.prints
2018-03-14 10:06:44 -05:00
Shawn A
158dac1e68
fixes #551
2018-03-08 14:06:39 -06:00
Shawn A
721bb417bf
remove debug
2018-03-07 15:41:47 -06:00
Shawn A
0c5e005866
fix customhtml parameters
2018-03-07 15:40:21 -06:00
Shawn A
5e487d6edc
remove preallocation of params memory
2018-03-06 16:42:54 -06:00
Shawn A
1f9a13a42e
oops fix constructor again
2018-03-06 16:14:13 -06:00