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. 08 Nov, 2018 1 commit
  4. 03 Nov, 2018 1 commit
  5. 19 Oct, 2018 1 commit
  6. 11 Oct, 2018 1 commit
  7. 07 Oct, 2018 1 commit
  8. 29 Sep, 2018 1 commit
  9. 10 Sep, 2018 1 commit
  10. 02 Sep, 2018 1 commit
  11. 10 Aug, 2018 1 commit
  12. 06 Aug, 2018 1 commit
  13. 05 Aug, 2018 1 commit
  14. 22 Jul, 2018 5 commits
  15. 01 Jul, 2018 1 commit
  16. 22 Jun, 2018 1 commit
  17. 20 May, 2018 1 commit
  18. 26 Apr, 2018 2 commits
  19. 24 Apr, 2018 1 commit
  20. 19 Apr, 2018 1 commit
  21. 18 Apr, 2018 1 commit
  22. 13 Apr, 2018 1 commit
    • dnc40085's avatar
      Refactor timer suspend portion of node.sleep (pmsleep) (#2287) · 96e5c026
      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
      96e5c026
  23. 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
  24. 31 Mar, 2018 1 commit
  25. 21 Mar, 2018 1 commit
  26. 17 Mar, 2018 2 commits
  27. 12 Mar, 2018 1 commit
  28. 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
  29. 26 Feb, 2018 1 commit
  30. 23 Feb, 2018 1 commit
  31. 15 Feb, 2018 2 commits
  32. 13 Feb, 2018 1 commit
  33. 07 Feb, 2018 1 commit