Commit Graph
582 Commits
Author SHA1 Message Date
Shawn A 08bb2322aa Oops 2018-07-16 17:07:31 -05:00
Shawn A 9ab4deaf5b clean up param length
Just changing to not modify argument, spacing
2018-07-16 08:06:03 -05:00
Christopher Liebman 2fac07cbf0 WiFiManagerParameter::setValue used length of default value for i
allocation and not passed length. Changed to use passed length or
length of default value if > passed length.
2018-07-15 14:39:11 -07:00
Christopher Liebman 85dd747949 Use hasParam() instead of checking server.arg() for NULL, it returns a String anyway.
Don't use .c_str() when its being assigned to a String anyway
2018-07-15 10:44:06 -07:00
tablatronix fc84e7a260 trying to fix param issues when param is out of scope
Ideally this should be done entirely different so params can follow wm scope and object lifetime..
2018-07-13 23:52:36 -05:00
tablatronix 933f86720a param was using user length for strncpy, causing overflows 2018-07-13 23:43:07 -05:00
tablatronix abbc110656 Merge branch 'development' of https://github.com/tzapu/WiFiManager into development 2018-07-13 18:41:16 -05:00
tablatronix 17f2316ea8 fixes #655 2018-07-13 18:41:14 -05:00
tablatronix 24d317b9da fix #655 2018-07-13 18:27:50 -05:00
Chris Liebman e235a45d5a value is PROGMEM too.... 2018-07-08 08:32:41 -07:00
Christopher Liebman aeba5478ee fix bad progmem access introduced in https://github.com/tzapu/WiFiManager/pull/608 2018-07-08 07:14:11 -07:00
tablatronix b9f6b472a7 #645 comments 2018-07-07 09:45:24 -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
Shawn A c0187a60e1 fix esp32 usermode 2018-06-28 12:54:49 -05:00
Shawn A 0ab6f57239 fix esp32 resetsettings 2018-06-28 12:53:48 -05:00
Shawn A 8f2791f908 fix esp32 fatal 2018-06-28 11:53:48 -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 00b14d5d1c Merge pull request #608 from ohadcn/patch-1
add CORS headers
2018-06-19 12:46:45 -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 e3d91a03ff add esp32 persistent test support
persistent support was added via a PR, but not very well, it is buggy.
2018-06-18 15:28:32 -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
Shawn A 01a5646317 Merge branch 'development' of https://github.com/tzapu/WiFiManager into development 2018-06-18 11:40:05 -05:00
Shawn A 5066b86102 fix esp32 new bugs
esp32 only uses persistent on wifiLowLevelInit
        if(!persistent){
          esp_wifi_set_storage(WIFI_STORAGE_RAM);
        }
which only gets applied during certain functions, namely changing modes, or turning on wifi
2018-06-18 11:40:01 -05:00
ohad 128214a159 add CORS headers
this will allow external portal on the network to send credentials via browser.
2018-05-14 11:47:13 +03:00
tablatronix 718a8c8f4c fixing up setmenu docblocks 2018-04-26 20:46:00 -05:00
tablatronix 3c8af53440 comments, debugging 2018-04-25 11:12:12 -05:00
tablatronix 042640924f fix menu output
removed test menu output, removed ref , not sure why I put that there....
2018-04-19 19:01:50 -05:00
sidey79 428c9fcbd5 Updated for ESP32 - compile only tested 2018-04-13 21:51:36 +02:00
sidey79 9e265b44b5 Merge remote-tracking branch 'remotes/origin/development' into dev-ota-updater 2018-04-13 20:53:46 +02:00
sidey79 3fafb3304a HTML Pages and generation for OAT Update adapted to current version of lib
Debug output corrected at some point
2018-04-10 23:07:56 +02:00
tablatronix f8ae461bfd fix savetimeout, too short, made optional 2018-04-09 19:48:31 -05:00
tablatronix d27fa7df61 hotfixing #425
this is a hotfix, there are numerous issues with this, development branch already addressed all of them.
2018-04-09 19:16:12 -05:00
sidey79 8065a1eaa4 Added OTA updater option from esp8266. Code is manly taken from KoljaWindeler but modified in some pieces to fit current library version 2018-04-09 23:08:43 +02: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 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