Commit Graph

2433 Commits

Author SHA1 Message Date
Frank Exoo ba36cb3d2d MQTT re-connect issue (#2256)
Fix to start sending PINGREQ after a reconnect.
2018-02-09 08:13:24 +01:00
Pawel Jasinski 2a944026c5 introduced sign into read and startread (#2246)
in float build, uV and sign are included in mV
in int build, uV and mV are absolute, sign is -1, 0, 1
added rounding of uV values
added optional test function
2018-02-07 21:29:17 +01:00
Arnim Läuger e3807bd439 enforce single source for SSL buffer size (#2248) 2018-02-07 21:27:01 +01:00
Marcel Stör 555b5574a2 Add sjson streaming example
Fixes #2209.
2018-02-04 12:45:27 +01:00
Pawel Jasinski f87d68ff8f added support for ads1015 (#2231)
* ads1015 is supported, up to 4 devices can be connected at the same time

* removed debug, updated documentation

* changed to oop API

* added __gc to handle active timer cleanup

* reworked argument validation and error reporting

* stack is no longer messed up after __del
2018-01-29 22:21:16 +01:00
Konrad Hübner ed56d949ee ws2812 effects library (#2215)
* ws2812 effects and color utils modules added

* Added documentation for new modules to mkdocs.yml

* changed mode option to string, documentation, default modules fixed

* updated user_modules.h
2018-01-23 21:05:04 +01:00
Marcel Stör 316a5fc566 With RTD the JS search seems no longer necessary 2018-01-21 23:58:58 +01:00
Terry Ellison 6ef6db907c
Merge pull request #2233 from devsaurus/remove_inline
Remove inline declarations
2018-01-21 07:33:57 +00:00
devsaurus a0ea61f595 remove inline declarations 2018-01-20 19:42:55 +01:00
Terry Ellison 73c9700b00
Merge pull request #2228 from devsaurus/pcm_fix_leak
Fix leak in pcm for subsequent object creation
2018-01-15 08:15:15 +00:00
devsaurus d0c55876c8 initialize task ids only once at module open 2018-01-14 21:21:32 +01:00
Luiz Felipe Silva df930c2d03 Add sqlite3 module (#2008)
* add final sqlite3 patch
* remove unused defines, join caching code with esp vfs code to reduce exported symbols and shrink final file size
* Modules should by default be disabled and in alphabetical order
2018-01-10 22:45:56 +01:00
Marcel Stör 58d4e0692d Increase iram1_0_seg for PR builds, supports #2008 2018-01-10 22:28:28 +01:00
Marcel Stör 9dc574d2b7 Increase irom0_0_seg for PR builds (again), supports #2008 2018-01-10 22:04:19 +01:00
Nathaniel Wesley Filardo 6576af959b Update mbedTLS (#2214)
* mbedTLS update
* mbedtls: vsnprintf macroification
* Further update mbedTLS to 2.6.1
* mbedtls: make debugging work again
* Silence SSL messages on normal teardown
* Drop DTLS support from mbedtls
2018-01-10 21:48:36 +01:00
Arnim Läuger fc2f325029 add missing NULLification of serout.delay_table after luaM_freearray() (#2220) 2018-01-10 21:25:35 +01:00
Philip Gladstone ceadd30bca Add support for the wifi monitor mode in the SDK (#2204) 2018-01-10 21:24:41 +01:00
Philip Gladstone 77fe51050a Addition of gpio.pulse functions (#2190) 2018-01-10 21:08:39 +01:00
Arnim Läuger 0e491e869f remove guidance to fall back to 1.5.4.1 for 512Kb modules (#2222) 2018-01-10 07:17:12 +01:00
Johny Mattsson 452778eda8 Fix batch multi-line UART input discarding all but first line (#2217)
* Only load a single non-empty line from the uart at a time.

* Don't fall behind in processing of uart buffer.
2018-01-04 22:50:39 +01:00
Pawel Jasinski 05b0a0134c host field in HTTP header is no longer limited to 31 charcters (#2210) 2017-12-25 21:47:45 +01:00
Marcel Stör e0f811dd2b Fix the use of the term "Lua" 2017-12-25 11:40:33 +01:00
Marcel Stör 5073c199c0
Revert "host field in HTTP header is no longer limited to 31 charcters (#2205)" (#2208)
This reverts commit d8d7381a38.
2017-12-24 23:22:03 +01:00
Pawel Jasinski d8d7381a38 host field in HTTP header is no longer limited to 31 charcters (#2205)
* host field in HTTP header is no longer limited to 31 charcters
* added description for magic values
2017-12-24 23:21:09 +01:00
Philip Gladstone bee404c358
Merge pull request #2201 from bastos1505/patch-1
Thank you for this change.
2017-12-19 21:43:22 -05:00
Carlos Bastos Filho 442e3e2e6c
Update file.c
Buffer size of funtion readline is wrong  (Line 480)
Should be FILE_READ_CHUNK = 1024 bytes instead 256 bytes
2017-12-19 15:32:23 -02:00
Marcel Stör 3747d7cbe0 Minor update flashing docs 2017-12-18 21:54:41 +01:00
Philip Gladstone 9aebc84b72 Add support of counting of interrupts (#2149)
* Add support of counting of interrupts

* Update the timestamp when interrupt happens during dispatch. Also
clear out interrupts when setting up a new callback
2017-12-17 21:42:54 +01:00
Marcel Stör 368c25db8b
Add WiFi mode documentation (#2191) 2017-12-17 15:48:57 +01:00
Philip Gladstone 11c47fa17a New version of spiffs (#2172) 2017-12-03 13:14:22 +01:00
Philip Gladstone ef91580c7b Addition of a Bloom Filter object (#2176)
* Initial checkin
* Add bloom.md into mkdocs
* Added reset and improved info
* Update bloom.c
* Update bloom.md
* Add Wikipedia link
2017-12-03 13:10:59 +01:00
Lukáš Voborský 87a6a9bdb9 Add BME680 module (#2151) 2017-11-19 20:49:07 +01:00
Marcel Stör a037e842b3 Enhance setmaxtxpower description 2017-11-19 20:21:29 +01:00
Mark Deneen 4af68d8360 WiFi method to adjust maximum TX power (#2171) 2017-11-19 20:00:20 +01:00
Mark Deneen b2ce0e8581 fix example which is not intended to write to flash, but actually was (#2174) 2017-11-18 22:40:36 +01:00
Philip Gladstone 5ece2fda20 Another dsleep fix (or rather a not-deep-sleep case) (#2155)
* Make the rtc variables not be cleared by the .bss initialization
* Move the save to the right place
* Make sure that we reset the rtctime to 0 if we didn't sleep properly.
* Setting the seconds to zero doesn't update the dsleep calibration
2017-11-03 17:50:10 +01:00
Philip Gladstone 0f7716297c Make the CRON module work reliably (#2153) 2017-10-30 11:05:41 +01:00
Terry Ellison ffc914dad0
Merge pull request #2152 from pjsg/fix-no-int
Make it build without INTERRUPT_ENABLE
2017-10-29 18:19:40 +00:00
philip f17b5ebf59 Make it build without INTERRUPT_ENABLE 2017-10-29 10:35:24 -04:00
Johny Mattsson 4a91464467 Fixed broken wifi.sta.{dis,}connect() with event mon enabled. (#2098) 2017-10-28 23:23:15 +02:00
Terry Ellison 26540cf098 LuaOTA provisioning system (#2060) 2017-10-28 23:22:34 +02:00
Philip Gladstone 1a6e83d088 Fixes problems with time not preserved through dsleep (#2148)
* Make the rtc variables not be cleared by the .bss initialization
* Move the save to the right place
2017-10-28 22:16:09 +02:00
Nathaniel Wesley Filardo 5c8619eb4d ws2812 mix: add all, then divide (#2032)
This achieves rounding between multiple summed frame buffers
2017-10-22 19:20:45 +02:00
Marcel Stör ded599f8ba Add missing admonitions (#2107)
Amends #2064
2017-10-19 10:00:41 +02:00
Suraj151 aebfd1a907 Swap reading y and z values (#2137) 2017-10-16 14:51:24 +02:00
Marcel Stör 443e821952 Revert "Swap reading y and z values (#2133)" (#2135)
This reverts commit 92b6bad1e4.
2017-10-15 23:03:45 +02:00
Suraj151 92b6bad1e4 Swap reading y and z values (#2133)
As per hmc5883l datasheet 2nd and 3rd bytes are of z axis rather than y.
2017-10-15 22:17:53 +02:00
dbaumgarten ec6ed6f868 Better documentation for mqtt:lwt() (#2128) 2017-10-06 00:31:41 +02:00
Johny Mattsson 3e60fa8f60 Fix data loss in TCP streams. (#2097)
* Fix data loss in TCP streams.

* Factored out the UDP extra args handling.
2017-09-28 22:41:22 +02:00
Marcel Stör 119835bf30 Update WiFi code sample
Fixes #2117
2017-09-28 22:40:17 +02:00