Commit Graph
267 Commits
Author SHA1 Message Date
Dontsov Evgeny aad1a8d9d2 WiFiManagerParameter init() to protected 2018-09-23 23:19:17 +03:00
Shawn A 393e7e45df bug fixes #726 2018-09-12 09:56:20 -05:00
Shawn A c52186079a stopconfigportal public 2018-09-07 15:43:21 -05:00
Shawn A 7f12e202d4 Merge branch 'development' of https://github.com/tzapu/WiFiManager into development 2018-09-07 14:53:11 -05:00
Shawn A 97e7d30c66 esp8266 2.3.0 compatability restored #576
asyncscannetworks not available in esp8266 2.3.0, adjusted server on to take cstr for backwards compatability
2018-09-07 14:53:08 -05:00
tablatronix 0d8b96ebf3 update docblock to reflect setConfigPortalBlocking ignored configportaltimeout 2018-09-06 20:45:38 -05:00
Shawn A c78b76ba2e scan timing debugging 2018-08-27 12:30:28 -05:00
Shawn A 85d7f2a549 esp32 fix event cb to std::bind, adds async preload
esp32 does not have scan cb, must use event system and oncomplete to get scan count
2018-08-27 12:17:37 -05:00
tablatronix 28cf8eed16 adding async scannetworks 2018-08-23 16:46:17 -05:00
tablatronix 51432d0ef7 remove tests from example 2018-08-23 15:04:31 -05:00
tablatronix 8f03b5df10 testing sta ap modes 2018-08-23 13:35:07 -05:00
tablatronix 2074d85da7 cleanconnect 2018-08-23 12:54:48 -05:00
Shawn A 8d5e9e3977 esp32 autoconnect is deprecated
https://github.com/espressif/esp-idf/issues/1960
2018-07-20 16:16:08 -05:00
Shawn A 37cdda33c7 adds setClass(invert) black theme
adds class string to body, invert(black) is built in
` wm.setClass("invert");`
2018-07-19 13:10:37 -05:00
Shawn A c9ca210803 removing US default 2018-07-19 11:33:38 -05:00
Shawn A 2db93d28c7 clean up 2018-07-19 10:05:25 -05:00
Shawn A d140ccff84 adds setCountry, default US
accepts US JP CN, codes must be added to strings and WiFiSetCountry atm
2018-07-19 10:02:53 -05:00
tablatronix a39b96be9c disable autoreconect esp32 2018-07-18 16:25:53 -05:00
Christopher Liebman 5a06f29c5b In https://github.com/esp8266/Arduino/pull/4889 the core was modified to
disable WPS by default.  Its only enabled if NO_EXTRA_4K_HEAP is defined.
To enable you must re-run the board manager with --noextra4kheap.
This addes #ifdef NO_EXTRA_4K_HEAP arround WPS usage so it won't generate
compiler errors.
2018-07-07 06:26:36 -07:00
tablatronix 906a9d89cb advanced example testing 2018-06-29 16:52:20 -05:00
Shawn A 8d7da2fd8b FIx esp32 updates
Webserver now builtin to esp32 lib, esp32 persistent still not implemented properly, fixes erase again, fixes save again
2018-06-27 16:19:12 -05:00
Shawn A bff3d75f91 Merge pull request #584 from cmarrin/development
Changed setAPCallback and setSaveConfigCallback to take std::function…
2018-06-19 11:35:18 -05:00
Shawn A b3e19041ff fix esp32 erase w persistent 2018-06-18 15:27:47 -05:00
Shawn A 10088c71f3 Move all wifi functions out of constructor
Cannot use wifi in constructor on esp32, as it is not available yet,
2018-06-18 15:27:18 -05:00
tablatronix f8ae461bfd fix savetimeout, too short, made optional 2018-04-09 19:48:31 -05:00
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 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
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 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 c2cbe3015b refactor connectwifi, adds save timeout
wifi save now no longer uses settimeout timeout
2018-03-21 12:18:00 -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 57fc15a20a fix section compile error 2018-03-20 12:31:49 -05:00
Shawn A 941865ec85 datatype fixes 2018-03-20 12:24:28 -05:00
Shawn A 7a57a1395d change setmenu to take vector or array of strnig tokens 2018-03-20 12:00:59 -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 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 424f48f0a8 add setShowDnsFields, adds edge case force hide ip fields 2018-03-16 10:56:12 -05:00
Shawn A 655db109c1 comments 2018-03-15 15:51:47 -05:00
Shawn A 109dfa5c58 Merge pull request #561 from tzapu/pr560
Added Custom DNS, fix newlines
2018-03-15 15:41:07 -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 36840fc712 add WM_RTC def for rtc.h 2018-03-15 13:50:17 -05:00
Shawn A 278c320e22 added debug levels 2018-03-14 17:00:46 -05:00