Commit Graph

1805 Commits

Author SHA1 Message Date
Johny Mattsson c01f653736 Unbreak build when SPIFFS_CACHE==0. (#2028) 2017-07-05 18:00:26 +02:00
Johny Mattsson 0c315ed0ef Merge pull request #2024 from DiUS/sjson_undefined_symbol_fix
Sjson undefined symbol fix
2017-07-04 14:21:41 +10:00
Johny Mattsson ea4d33715f Cleaned up sjson module build.
- Move jsonsl build to regular library build rather than #include the .c file
- Provide wrappers for malloc/calloc/free to fix undefined symbol warnings.
2017-07-03 13:35:45 +10:00
Johny Mattsson 2061167bd9 Add check for unresolved-but-unused symbols at build.
From what I can tell they *should* be harmless, but I'd rather we keep a
neat house in the first place.
2017-07-03 13:29:47 +10:00
Marcel Stör 4ce2d68301 Add missing period 2017-07-01 18:32:44 +02:00
Gregor Hartmann 15b4fa24fd Call HTTP callback in all cases (#2020)
* fix 2007 Call callback in all cases, call callback with errorcode -1 if no connection could be establioshed
* change logging from ERR to DEBUG
* make debug output more clear (hopefully)
* add handling of errors to docs, note error handling on every call instead of only in the main documentation
2017-07-01 18:29:54 +02:00
dnc40085 e2fc37fa17 Removed code allowing argument style station configuration (#2018) 2017-06-29 22:05:40 +02:00
dnc40085 4095c26bd0 Update documentation for wifi.sta.setaplimit() (#2017) 2017-06-28 10:02:09 +02:00
Marcel Stör 583afc0f33 Remove hardware FAQ, fixes #2015 2017-06-27 17:17:28 +02:00
Arnim Läuger 26df4a32ad Change default flash mode to 'dio' in fw image header (#2013) 2017-06-25 20:41:36 +02:00
Arnim Läuger 435a4cf5a1 backport fix for https://github.com/espressif/esp-idf/issues/631 (#2006)
* backport fix for https://github.com/espressif/esp-idf/issues/631
* remove code from intermediate fix
2017-06-20 21:59:12 +02:00
Terry Ellison 827642b49a Version 2.0 of the Lua Develoer FAQ (#1899) 2017-06-19 07:47:02 +02:00
Philip Gladstone 438f1609f6 Only handle errors if we have not parsed a complete object (#1999)
* Only handle errors if we have not parsed a complete object
* Fix typo which means that \n was not an ending character
2017-06-18 08:20:26 +02:00
Arnim Läuger 216b820d08 Ensure standard DHCP message length when sending response to clients (#1985) 2017-05-25 13:59:45 +02:00
dnc40085 2c553583ea Fixed incorrect documentation for wifi.sta.setaplimit (#1986) 2017-05-24 09:37:21 +02:00
dnc40085 e90ffb4266 Add mcp4725 module (#1966) 2017-05-21 16:30:26 +02:00
dnc40085 169cb69ee2 Add event callbacks to wifi.sta.config() and wifi.ap.config() and more (#1903)
* Add event callbacks to wifi.sta.config() and wifi.ap.config() and more

Added option to register event callbacks during configuration of both
station and AP.
Added option to register event callbacks to `wifi.sta.connect()` and
`wifi.sta.disconnect()`

* Add note about event registration to wifi module documentation

Other minor changes to wifi documentation are also included

* Add more detail to documentation for wifi.sta.config()
2017-05-21 16:18:56 +02:00
dnc40085 7b1f0223ad Removed wifi station event monitor (#1900)
The following functions were removed:
 - `wifi.sta.eventMonReg()`
 - `wifi.sta.eventMonStart()`
 - `wifi.sta.eventMonStop()`
 
The corresponding documentation has also been removed

This PR addresses issue #1893
2017-05-21 16:17:54 +02:00
Arnim Läuger 7dae5236e6 Deprecate xyz.init() in favor of xyz.setup(), removing inherent i2c configuration (#1887) 2017-05-21 16:17:29 +02:00
Philip Gladstone e7f063950b Update to current version of SPIFFS (#1949) 2017-05-21 16:16:39 +02:00
Arnim Läuger 787379f0f5 Merge branch 'master' into dev 2017-05-21 09:34:31 +02:00
Arnim Läuger 4e4dfc1d88 Align 8 MB & 16 MB flash sizes with SDK 2.1.0. (#1968)
* align 8MB and 16MB auto flash support with sdk 2.1.0
* remove SAFE_API
* fix flash size mismatch detection logic
2017-05-16 16:50:36 +02:00
dnc40085 447fcd397d Exposed wifi event OPMODE_CHANGED. (#1967) 2017-05-15 09:05:22 +02:00
Arnim Läuger c4516f1a17 Upgrade to SDK 2.1.0. (#1962) 2017-05-11 07:13:23 +02:00
Frank Exoo 3aef438aa0 Documenting creating integer build (#1961) 2017-05-08 13:39:27 +02:00
fetchbot faefc09595 add ads1115 module (#1942)
* add ads1115 module

* replace os_delay with os_timer

* typo
2017-05-07 09:49:57 +02:00
dnc40085 cba40213c6 Update AP_PROBEREQRECVED example message (#1956)
The example for the eventmon registration for AP_PROBEREQRECVED was displaying "STATION DISCONNECTED" when it should say "PROBE REQUEST RECEIVED".
2017-05-06 12:32:56 +02:00
Marcel Stör cceb770d67 Add a few tiny corrections 2017-05-05 13:39:13 +02:00
dnc40085 e491f4b743 Update init.lua example to use new wifi.sta.config() implementation (#1953)
* Update init.lua example in upload.md with new station config format
* Fixed typo in description of wifi.eventmon.register()
* Fixed typo and improved example init.lua in docs/en/upload.md
2017-05-05 13:28:45 +02:00
Marcel Stör 201ba9c959 Put functions in alphabetical order 2017-04-30 20:08:37 +02:00
Marcel Stör 3fbb84c48a Add missing .md 2017-04-30 19:25:13 +02:00
devsaurus f1bc858021 remove si7021 from lua_modules tree 2017-04-27 23:22:08 +02:00
fetchbot 8668239640 add si7021 module (#1921)
* add si7021 module

* add settings function for resolution and heater
2017-04-27 23:16:33 +02:00
dnc40085 3e24b1c75b Added deprecation message to wifi.sta.config() for argument style cfg (#1939)
Documentation for the old(argument) style of station configuration was
removed in a previous PR, so I added a deprecation message to inform
developer of the upcoming removal of the feature.
2017-04-26 13:00:34 +02:00
dnc40085 9dbae1c963 Expose UART 1 (#1934)
* Expose UART 1 and update uart module documentation
2017-04-24 22:06:54 +02:00
dnc40085 f5fac7a19e Updated documentation and example for wps.start() (#1933) 2017-04-24 09:59:30 +02:00
Marcel Stör 572e4235fb Unwind bit.ly link 2017-04-22 22:57:37 +02:00
Marcel Stör ef1654fa1e Add 'connection: close' note 2017-04-21 07:49:27 +02:00
Metin KOC 9d11543fa9 Hdc1080 Module Add (#1880)
* Hdc1080 Module Add

* for Float/Integer Build fixes

* disable module for default

* document fix

* Deprecate init() in favor of setup()

* Fix grammar and code sample

* Deprecate init() in favor of setup()

* Update hdc1080.md

* Update hdc1080.md

* Mini fix

* Update user_modules.h
2017-04-20 22:23:51 +02:00
Marcel Stör 1fcb3259ce Update module count 2017-04-20 09:29:43 +02:00
Nathaniel Wesley Filardo 332bcb39a3 mqtt: fix several buffer length checks (#1906)
Partially addresses nodemcu/nodemcu-firmware#1773.
2017-04-19 20:16:44 +02:00
tjhowse d777fdc50a Add module for TCS34725 colour sensor. (#1895)
* Add module for TCS34725 colour sensor.

* Fix implicit return.

* Fix timer disarm after init completion callback.

* Rework init() into setup() as per PR#1887.

* Add new module to mkdocs and user_modules.

* Fix unclear debug messages.

* Documentation updates.

* Cleanup comments and formatting.

* Don't auto-enable the sensor.

* Add callback function to enable.

* Simplify Read16.

* Remove Lua state argument to enable callback.

* Remove self_ref.
2017-04-19 20:16:27 +02:00
flip111 3f787ac421 Update telnet link (#1918) 2017-04-18 21:04:36 +02:00
dnc40085 84c5275c37 Moved the documentation for wifi.nullmodesleep to the correct spot (#1913) 2017-04-17 13:45:32 +02:00
dnc40085 971627f3d3 Fix admonition formatting error in wifi module docs added with #1910 (#1912)
* Fix admonition formatting error in wifi module docs added with #1910

Modified documentation for:
  wifi.suspend()
  wifi.resume()

* More wifi documentation changes
2017-04-17 08:27:12 +02:00
Marcel Stör 2f8b35365a Prevent determineSelectedLanguageCode() from failing for offline site 2017-04-16 20:31:38 +02:00
dnc40085 039026995a Update wifi suspend documentation (#1910)
* Added message about potential for wifi crashes and more

Added message about potential for wifi crashes caused by long running
functions

Modified description for wifi.resume() and wifi.suspend()
2017-04-16 19:38:08 +02:00
Marcel Stör dba73cf214 Fix HTML anchors in ToC generator 2017-04-13 21:42:18 +02:00
Arnim Läuger b1dcb70593 File doc fix (#1905)
* clarify differing command support for spiffs and fatfs
* fix toc
2017-04-10 23:02:20 +02:00
dnc40085 b2cbf52a4b Fix error in documentation added with merge of PR#1231 (#1901) 2017-04-05 06:57:10 +02:00