1. 05 Dec, 2018 1 commit
  2. 30 Nov, 2018 1 commit
    • Johan Ström's avatar
      Handle large/chunked/fragmented MQTT messages properly (#2571) · 2d958750
      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.
      2d958750
  3. 16 Nov, 2018 1 commit
    • Carsten Elton Sørensen's avatar
      Calling vol:umount() would fail (#2558) · bb9a5977
      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.
      bb9a5977
  4. 13 Nov, 2018 1 commit
  5. 28 Oct, 2018 1 commit
  6. 19 Oct, 2018 1 commit
  7. 13 Oct, 2018 1 commit
    • Terry Ellison's avatar
      Optimise ROTable accesses and interface (#2505) · 5f67de8d
      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.
      5f67de8d
  8. 10 Oct, 2018 1 commit
  9. 09 Oct, 2018 1 commit
  10. 10 Aug, 2018 1 commit
  11. 29 Jul, 2018 1 commit
  12. 22 Jul, 2018 3 commits
  13. 22 Jun, 2018 1 commit
  14. 22 May, 2018 1 commit
  15. 20 May, 2018 2 commits
  16. 19 May, 2018 1 commit
  17. 08 May, 2018 1 commit
  18. 07 May, 2018 1 commit
  19. 26 Apr, 2018 1 commit
  20. 19 Apr, 2018 1 commit
  21. 13 Apr, 2018 2 commits
  22. 06 Apr, 2018 1 commit
    • Johny Mattsson's avatar
      Tie in the EGC with the SDK's heap knowledge. (#2319) · 085f35da
      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.
      085f35da
  23. 31 Mar, 2018 1 commit
  24. 25 Mar, 2018 1 commit
    • petur's avatar
      fix for ds18b20 negative decimals · a1e02fc6
      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.
      a1e02fc6
  25. 23 Mar, 2018 1 commit
  26. 21 Mar, 2018 2 commits
  27. 17 Mar, 2018 3 commits
  28. 13 Mar, 2018 1 commit
    • Nathaniel Wesley Filardo's avatar
      Update to sdk 2.2 · c972d86e
      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 ...
      c972d86e
  29. 12 Mar, 2018 1 commit
  30. 03 Mar, 2018 1 commit
    • Nathaniel Wesley Filardo's avatar
      Update mbedTLS to 2.7.0 (#2267) · 5c8af3c4
      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
      5c8af3c4
  31. 01 Mar, 2018 2 commits
  32. 23 Feb, 2018 1 commit