- 05 Dec, 2018 1 commit
-
-
Nathaniel Wesley Filardo authored
-
- 30 Nov, 2018 1 commit
-
-
Johan Ström authored
* MQTT: handle large/chunked/fragmented messages properly If a message spans multiple TCP packets it must be buffered before delivered to LUA. Prior code did not do this at all, so this "patch" really adds proper handling of fragmented MQTT packets. This could also occur if multiple small messages was sent in a single TCP packet, and the last message did not completely fit in that packet. Introduces a new option to the mqtt.Client constructor: max_publish_length which defaults to 1024 Introduces a new 'overflow' callback. Fixes issue #2308 and proper fix for PR #2544. * mqtt.md: clarified heap allocation * mqtt: ensure ack is sent for overflowed publish If QoS is used we should still acknowledge that we received it, or server might retransmit it later.
-
- 16 Nov, 2018 1 commit
-
-
Carsten Elton Sørensen authored
The volume returned by file.mount() could not be unmounted, because vol:umount() would fail with a cryptic error about the uncallable nature of the volume userdata object. This was due to the wrong metatable name being used for setting up the volume structure. The correct name, as registered elsewhere in file.c, is now used, and vol:umount() is callable.
-
- 13 Nov, 2018 1 commit
-
-
Johan Ström authored
Any TCP packet with more than 1024 bytes of payload was silently dropped. With MTU of 1500 the TCP payload can be up to 1460 bytes (1500 - 20(IP hdr) - 20(TCP hdr))
-
- 28 Oct, 2018 1 commit
-
-
Arnim Läuger authored
-
- 19 Oct, 2018 1 commit
-
-
Arnim Läuger authored
* turn ucg into submodule * update ucg to 1.5.2 * add license note to doc * align docs with esp32 * move ucg hal into platform folder adapt examples
-
- 13 Oct, 2018 1 commit
-
-
Terry Ellison authored
- Optimise ROTable accesses and interface This includes some refinements to the ROTable cache which remove the linker cludges on the CROSS_COMPILE builds. Also keyhole tweaks to some of the Lua VM code to implrove runtimes. I also noticed some compile time warnings during the build; the change to uz_unzip.c doesn't impact the compiled code, but does remove the compiler warnings.
-
- 10 Oct, 2018 1 commit
-
-
Nathaniel Wesley Filardo authored
* Restore WRAPCC when building Lua * Fix several parsing bugs
-
- 09 Oct, 2018 1 commit
-
-
Nathaniel Wesley Filardo authored
-
- 10 Aug, 2018 1 commit
-
-
Nathaniel Wesley Filardo authored
Thanks to @TerryE for many useful suggestions
-
- 29 Jul, 2018 1 commit
-
-
devsaurus authored
-
- 22 Jul, 2018 3 commits
- 22 Jun, 2018 1 commit
-
-
TerryE authored
-
- 22 May, 2018 1 commit
-
-
Arnim Läuger authored
-
- 20 May, 2018 2 commits
-
-
dnc40085 authored
* updated wifi_eventmon to store events in LUA_REGISTRYINDEX * updated wifi_eventmon debug comments * Updated wifi.c to remove c_free() In wifi_ap_listclient(app/modules/wifi.c), c_free() was replaced with wifi_softap_free_station_info() * Removed unnecessary line of code from app/modules/wifi_eventmon.c
-
dnc40085 authored
-
- 19 May, 2018 1 commit
-
-
dnc40085 authored
-
- 08 May, 2018 1 commit
-
-
dnc40085 authored
-
- 07 May, 2018 1 commit
-
-
dnc40085 authored
-
- 26 Apr, 2018 1 commit
-
-
dnc40085 authored
* Update node.dsleep() to support longer deep sleep duration. * Updated documentation for node.dsleepMax()
-
- 19 Apr, 2018 1 commit
-
-
TerryE authored
-
- 13 Apr, 2018 2 commits
-
-
dnc40085 authored
* pmsleep refactor * Shortened swtmr disabled message * Added swtimer debug module option to user_modules.h. * Added comments to user_config.h. * Fixed error in documentation for node.sleep() * remove blank sntp.c that got added in during rebase onto dev(6218b926) * Added #ifdefs around SWTIMER_REG_CB to prevent inclusion of disabled code
-
philip authored
-
- 06 Apr, 2018 1 commit
-
-
Johny Mattsson authored
Added `node.egc.meminfo()` to expose LVM usage (to make the regular `node.egc.ON_MEM_LIMIT` option usable). Extended the `node.egc.ON_MEM_LIMIT` option to also take negative limits, in which case that's taken as a request to keep a certain amount of heap available for non-Lua use.
-
- 31 Mar, 2018 1 commit
-
-
dnc40085 authored
-
- 25 Mar, 2018 1 commit
-
-
petur authored
ds18b20 decimals do not take into account the sign bit. Since the original calculation was not so readable, rewritten in readable way that also fixes the bug. Same code as PR against master.
-
- 23 Mar, 2018 1 commit
-
-
Arnim Läuger authored
Initialize new members in station_config and scan_config
-
- 21 Mar, 2018 2 commits
-
-
Arnim Läuger authored
-
Philip Gladstone authored
-
- 17 Mar, 2018 3 commits
- 13 Mar, 2018 1 commit
-
-
Nathaniel Wesley Filardo authored
Initial commit for https://github.com/nodemcu/nodemcu-firmware/issues/2225 . Replay patches from Espressif's repository at https://github.com/espressif/ESP8266_NONOS_SDK between tags v2.1.0 and v2.2.0: 0001-sync-from-ccca00f2.patch Superseded by existing changes, but lines reordered in app/driver/key.c to minimize divergences. 0002-sync-from-3f38ad5a.patch Upstream files only 0003-Update-links.patch Not meaningful to NodeMCU 0004-sync-from-01990ad0.patch 0005-sync-from-cdf6877d.patch Upstream files only 0006-sync-from-f29e744c.patch Upstream files only, user_interface.h override non-conflicting 0009-feat-lwip-Move-lwip-source-code-to-third_party-folde.patch Merged change to lwip/app/espconn_udp.c; rest is just moves or appears to not apply. 0010-feat-mbedtls-Add-mbedtls-source-code-in-third_party-.patch Does not apply; we use our own mbedtls 0011-added-C-support.patch Merged to Makefile 0012-feat-mbedtls-Rebuild-libmbedtls.patch Already ...
-
- 12 Mar, 2018 1 commit
-
-
Arnim Läuger authored
remove deprecated init functions in adxl345, am2320, bme280, bmp085, hdc1080, hmc58831, l3g4200d, HDC1000, lm92 (#2276)
-
- 03 Mar, 2018 1 commit
-
-
Nathaniel Wesley Filardo authored
* mbedtls 2.7.0 (mbedtls-2.7.0-0-g32605dc8) Wholesale import, with a few changes from earlier preserved through. Ideally we would soon get to the point of having no divergences from upstream. * tls: add function to adjust mbedTLS debug level
-
- 01 Mar, 2018 2 commits
-
-
Philip Gladstone authored
-
Arnim Läuger authored
-
- 23 Feb, 2018 1 commit
-
-
Philip Gladstone authored
* Fix some subtle timing issues with gpio.pulse * Add the pulse:update method * Allow getstate to work on stopped pulsers * Make gpio.mode(, gpio.OUTPUT) actually set the output mode * Added some more documentation
-