nodemcu-firmware/app
Johny Mattsson 86839d6e71 Fixes and enchancements for enduser_setup module.
Fixes:

* Removed spurious \0 bytes being sent to the client in many cases.

* Properly terminated 404 header.

* Now including Content-length: header for index.html (including built-in).

  Clients otherwise had to wait for their own timeout before considering
  the page load complete, which resulting in an unpleasant sluggish
  experience.

* Switched form submission to GET, as iOS sometimes does not include the
  body in the same packet as the POST header, which led to the module
  not finding the form values.

* Added redirect after form submission to avoid blank-page-in-browser.

* Moved common "enduser_setup" prefix to a lua_pushfstring() to reduce
  string literal overhead.

* Replaced cached lua_State* with calls to lua_getstate(), as in other
  modules.

* Fixed broken appending of MAC to the SSID.

* Fixed up macro definitions to not break `if` clauses unintentionally.

Enhancements:

* Support for scanning for available WiFi networks, and picking from the list.

* Support for retrieving the current WiFi station status.

* Added "manual" mode, where the module does not (re)configure the AP setup,
  nor shut down automatically. Default is still automatic, as before.

* Updated docs for new `enduser_setup.manual()` function.
2016-02-01 14:42:24 +11:00
..
cjson Fixed broken linear growth allocation in cjson. 2015-07-31 13:17:05 +10:00
coap Enable -std=gnu11 for modules dir. 2016-01-20 19:40:47 +11:00
crypto enable -std=gnu11 for crypto dir 2016-01-23 22:36:35 +01:00
dhtlib Changed os_intr_xxx to ets_intr_xxx. 2015-10-12 13:26:04 +11:00
driver enable -std=gnu11 for driver dir with corrected os_printf* decls 2016-01-23 11:22:03 +01:00
http Merge pull request #968 from devsaurus/crypto_http_mqtt_lua-gnu11 2016-01-28 17:36:27 +11:00
include Merge pull request #968 from devsaurus/crypto_http_mqtt_lua-gnu11 2016-01-28 17:36:27 +11:00
json source file first commit, folder structure refact 2014-12-22 19:35:05 +08:00
libc Corrected sprintf() prototype & behaviour. 2016-01-28 17:56:01 +11:00
lua enable -std=gnu11 for lua dir 2016-01-24 00:02:27 +01:00
lwip Upgrade to SDK 1.5.0 + Espressif's Open LWIP 1.5.0. 2015-12-23 11:17:05 +11:00
modules Fixes and enchancements for enduser_setup module. 2016-02-01 14:42:24 +11:00
mqtt enable -std=gnu11 for mqtt dir 2016-01-23 22:42:55 +01:00
platform enable -std=gnu11 for platform dir 2016-01-22 23:21:34 +01:00
smart Enable -std=gnu11 for modules dir. 2016-01-20 19:40:47 +11:00
spiffs Merge pull request #958 from DiUS/modules-gnu11 2016-01-22 23:20:29 +01:00
tsl2561 Switch to SDK LWIP until issues with the open one can be resolved. 2015-10-12 13:26:05 +11:00
u8glib Add ImageMagic info. 2015-12-15 09:35:20 +03:00
ucglib prefix local routines in ucg_polygon 2015-09-17 21:53:49 +02:00
upgrade Fix UPGRADE_DBG when in DEVELOP_VERSION. 2015-01-27 13:48:10 +08:00
user Upgrade to SDK 1.5.0 + Espressif's Open LWIP 1.5.0. 2015-12-23 11:17:05 +11:00
wofs Cleaned up all uses of INTERNAL_FLASH_START_ADDRESS. 2015-12-12 13:20:22 +11:00
.gitignore seperate user_config.h to speed-up compile when modules disabled/enabled 2015-03-06 11:59:04 +08:00
Makefile Merge pull request #887 from vowstar/dev-all-in-one 2016-01-15 17:44:41 +11:00