Commit Graph

1830 Commits

Author SHA1 Message Date
dnc40085 7946deadab Added boolean return value for wifi.sta.sethostname (#2079)
- simplified wifi_change_default_host_name
- refactored code that checks hostname for compliance
2017-09-15 22:38:35 +02:00
Philip Gladstone e4d010e1c0 Handle doublequotes in strings. (#2104) 2017-09-15 22:25:13 +02:00
Marcel Stör 4324ea0dcd Correct typo
Fixes #2103
2017-09-14 20:46:22 +02:00
Marcel Stör ce1712d1c1 Add additional note wrt rtctime 2017-08-31 22:57:32 +02:00
Marcel Stör ee3d72f5f2 Fix markdown syntax 2017-08-31 22:55:11 +02:00
Marcel Stör 9f022e9856 Manually applying changes from #2093 2017-08-31 22:46:57 +02:00
Marcel Stör 082015ebdc Add doc link for bootreason EXCCAUSE 2017-08-27 21:26:14 +02:00
Nathaniel Wesley Filardo f9e0aab200 cron: don't include rtctime_internal.h (#2084)
That file is supposed to only be included once because it does things
like declare static globals.  As it stands, cron doesn't believe time is
ticking.

Fixes #2080
2017-08-24 21:17:31 +02:00
Marcel Stör 0a11e84f36 Add note to BME280 docs
A delay is required between `setup` and reading from sensor.

Fixes #1994.
2017-08-22 22:22:36 +02:00
Marcel Stör 003c2453c3 Add note to mqtt:subscribe
Fixes #2039
2017-08-22 22:05:24 +02:00
Nathaniel Wesley Filardo 569628789c Makefile: add an optional compiler wrapper (#2066)
Use as 'make WRAPCC="ccache"', for example.
2017-08-17 07:23:00 +02:00
Nathaniel Wesley Filardo fe032edd9c Add %p to libc's debug printf (#2062) 2017-08-16 21:38:10 +02:00
Marcel Stör c4440e47ba Link ds18b20 C/Lua module docs 2017-08-16 21:32:04 +02:00
Lukáš Voborský 55c368ac03 DS18B20 module - update (enhanced, optimized) (#1996) 2017-08-16 21:04:52 +02:00
fetchbot d079b842a8 add ds18b20 module (#2003)
* add ds18b20 module
* add intitial eeprom value definition
* adjust read() function and address handling
2017-08-16 21:04:23 +02:00
Terry Ellison fee5608c16 Merge pull request #2064 from dnc40085/dev_disable_pmsleep_and_timer_suspend
Comment out pmsleep and timer_suspend options in user_config.h
2017-08-05 23:08:26 +01:00
dnc40085 c9e8621821 fix for travisCI 2017-08-05 14:46:14 -07:00
dnc40085 295e640a7a Comment out pmsleep and timer_suspend options in user_config.h
for master drop
2017-08-05 14:05:26 -07:00
wolfg 61562b45bd Fix typo in code sample (#2063) 2017-08-05 22:10:49 +02:00
Johny Mattsson e09e830d4b Fixed alignment assumptions in SHA2 update. (#2034)
Unaligned loads are a no-no on many architectures, the ESP8266 included.
2017-07-31 14:12:34 +02:00
Philip Gladstone d93465cd86 Add tracking and control of the rate error in the clock crystal. (#1697)
* Improve RTC timekeeping -- includes clock rate tracking
* Improved division by 1M
* Fix crash in sntp
* Disable RTC debug
* Get the offset correct
* Add comments on where the mysterious numbers came from
* Fix a crash with auto repeat mode and errors on repeat
2017-07-18 22:51:20 +02:00
Johny Mattsson 864bcdbd89 Merge pull request #2038 from pjsg/spiffs-blocksize
Fix the SPIFFS blocksize issues
2017-07-12 11:15:25 +10:00
dnc40085 9edcce5b44 Update wifi.sta.config to save configuration to flash by default (#1998) 2017-07-08 22:51:33 +02:00
dnc40085 2e33abe198 Modify wifi.sta.get*config() to return AP's MAC (#2026)
* Modified wifi.sta.get*config() to return AP's MAC even if bssid_set==0
* Improved documentation for wifi.sta.getapinfo, fixes #2025
2017-07-08 22:49:02 +02:00
philip 761c9dff7f Try to fix the blocksize issues 2017-07-06 23:18:06 -04:00
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