121 Commits

Author SHA1 Message Date
cheloftus
58dd15e1d1 Added crypto.fhash function for hashing files 2016-02-05 22:19:00 +00:00
Johny Mattsson
fcb14a33b3 Merge pull request #987 from DiUS/enduser_enhanced
Enhancements to enduser_setup module
2016-02-02 00:39:47 +11:00
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
Arnim Läuger
d083122688 remove space in heading for gpio.write() 2016-01-31 21:58:49 +01:00
Marcel Stör
9e861313e9 Add chapter about firmware files and flash address
Had to slightly tweak the Markdown headers due to
https://github.com/mkdocs/mkdocs/issues/770 :(.

Fixes #990.
2016-01-31 14:33:49 +01:00
Marcel Stör
ccd556be68 Add note about UART speed 2016-01-31 14:31:15 +01:00
Arnim Läuger
53f1761cfb add notes about upgrading from old fw 2016-01-31 11:54:58 +01:00
Arnim Läuger
f42fdb1a76 also fix cb prototype description 2016-01-30 10:23:27 +01:00
Arnim Läuger
1697126a15 terminate example 2016-01-29 22:40:15 +01:00
devsaurus
9741c8f1b5 fix #527 2016-01-28 23:46:35 +01:00
devsaurus
1c32d20502 improve error checking in mqtt module
connect(), close(), subscribe(), publish()
2016-01-28 21:36:38 +01:00
Marcel Stör
c3e49940eb Fix a few titles on doc pages 2016-01-27 22:06:24 +01:00
Johny Mattsson
8f7055d030 Updated http module docs for #977. 2016-01-27 10:52:13 +11:00
Marcel Stör
51352ed782 Merge branch 'dev' of https://github.com/nodemcu/nodemcu-firmware into dev 2016-01-26 23:07:53 +01:00
Marcel Stör
e23e07fd16 Make the APA102 docs available on RTD 2016-01-26 23:07:29 +01:00
Arnim Läuger
3124a0e6a8 add autoconnect option for publish() and update optional parameters 2016-01-26 22:55:33 +01:00
Robert Foss
0f3c0ffbb0 Added support for the APA102 LED. 2016-01-25 20:54:27 -05:00
Terry Ellison
aac9824364 Merge pull request #955 from zhujunsan/dev
Fix example code in WiFi Module Doc
2016-01-20 10:25:34 +00:00
San
598b098184 Fix example code in WiFi Module Doc 2016-01-20 09:34:45 +08:00
Terry Ellison
5cbea0a61f Merge pull request #952 from DiUS/crypto-aes
Added AES support to crypto module.
2016-01-19 15:28:11 +00:00
San
3983dbcac9 Fix example code in HTTP Module
syntax error
2016-01-19 16:34:25 +08:00
Johny Mattsson
5b381d2f1e Added AES support to crypto module.
Merely a wrapper around the (undocumented) internal SDK AES functions.
2016-01-19 15:19:11 +11:00
Keith Fieldhouse
339f71ad75 Fix sample code bug (inconsistent variable names) in DHT example 2016-01-17 15:31:37 -05:00
Marcel Stör
96a05dcd41 Fix syntax for optional parameters for a few modules 2016-01-17 14:14:34 +01:00
Marcel Stör
e86347acf3 Minor syntax fixes for the 1-wire docs 2016-01-17 14:05:41 +01:00
Arnim Läuger
c7a40ea3ae fix introductory sentences for toc 2016-01-17 11:20:09 +01:00
Arnim Läuger
cc975a947e move ow.reset 2016-01-17 11:13:11 +01:00
devsaurus
66eb0dfdb2 transferred ow module documentation 2016-01-17 11:10:51 +01:00
Marcel Stör
15577af881 Deactivate DE translation that was used for testing 2016-01-16 23:14:27 +01:00
Marcel Stör
9969c6b285 Final polishing on several pages 2016-01-16 23:11:40 +01:00
Marcel Stör
1dcb71618f Minor tweaks to FAQ 2016-01-16 15:26:19 +01:00
Marcel Stör
4609a88230 Fix font-size, it's odd and inconsistent in the theme 2016-01-16 15:25:48 +01:00
Marcel Stör
4afac3f5ab Replace I2C with I²C in the prose text 2016-01-16 15:09:44 +01:00
Marcel Stör
b93f2ee8b1 Fix syntax in coap doc 2016-01-16 15:03:22 +01:00
Marcel Stör
8cbc5d6a05 Merge pull request #943 from funshine/newdocs
add a doc for coap module
2016-01-16 14:44:19 +01:00
Arnim Läuger
e5f351e59b fix md links 2016-01-16 13:42:05 +01:00
devsaurus
e48be07d8b ucg constants 2016-01-16 13:18:43 +01:00
devsaurus
ce8b26501f feed the toc for u8g and ucg 2016-01-16 13:18:43 +01:00
Johny Mattsson
bf0dc5e65f Avoid hard-coding the SDK version number in RTD. 2016-01-16 23:07:54 +11:00
Johny Mattsson
a3ac4c80ba Documented HTTP module. 2016-01-16 22:59:08 +11:00
Marcel Stör
9efc4d5445 Add fix in TOC JavaScript for in-page anchors 2016-01-16 10:02:06 +01:00
Zeroday
57f8c1a25c add a doc for coap module
typo fix
2016-01-16 14:01:27 +08:00
Marcel Stör
b03a669683 Add documentation for new wifi functions 2016-01-15 23:06:09 +01:00
Marcel Stör
6cc5af2fae Add JavaScript function to generate TOC on each module page 2016-01-15 22:34:33 +01:00
Johny Mattsson
0900958e92 Updated node.bootreason() to match latest dev merge. 2016-01-15 11:54:45 +11:00
Marcel Stör
e1733f8d3a Remove extra comma in wifi docs 2016-01-15 00:00:49 +01:00
Marcel Stör
6480ba7282 Complete wifi docs transition 2016-01-14 23:27:38 +01:00
Marcel Stör
d98b19daa2 Minor style fixes in the bm085 docs 2016-01-14 22:46:12 +01:00
Konrad Beckmann
5922fdba21 BMP085: Added documentation 2016-01-14 22:22:43 +01:00
Arnim Läuger
517faf44e3 note note 2016-01-13 23:30:39 +01:00