1. 19 Nov, 2021 1 commit
    • Johan Ström's avatar
      Fix IGMP timer (#3476) · f7b48b92
      Johan Ström authored
      LWIP_RAND() return type is int, value returned is sometimes negative.
      This causes timer to sometimes (often) go outside of max_time, which in turn causes IGMP snoopers or IGMP routers to drop the subscription
      f7b48b92
  2. 09 Jun, 2020 1 commit
    • Nathaniel Wesley Filardo's avatar
      Networking rampage and accumulated fixes (#3060) · af426d03
      Nathaniel Wesley Filardo authored
      * espconn: remove unused espconn code, take 1
      
      This is the easiest part of https://github.com/nodemcu/nodemcu-firmware/issues/3004 .
      It removes a bunch of functions that were never called in our tree.
      
      * espconn: De-orbit espconn_gethostbyname
      
      Further work on https://github.com/nodemcu/nodemcu-firmware/issues/3004
      
      While here, remove `mqtt`'s charming DNS-retry logic (which is neither
      shared with nor duplicated in other modules) and update its :connect()
      return value behavior and documentation.
      
      * espconn: remove scary global pktinfo
      
      A write-only global!  How about that.
      
      * net: remove deprecated methods
      
      All the TLS stuff moved over there a long time ago, and
      net_createUDPSocket should just do what it says on the tin.
      
      * espconn_secure: remove ESPCONN_SERVER support
      
      We can barely function as a TLS client; being a TLS server seems like a
      real stretch.  This code was never called from Lua anyway.
      
      * espconn_secure: more code rem...
      af426d03
  3. 27 Jul, 2019 3 commits
  4. 23 Jul, 2019 2 commits
  5. 20 May, 2019 1 commit
  6. 19 May, 2019 1 commit
  7. 17 May, 2019 1 commit
  8. 17 Feb, 2019 1 commit
  9. 20 Jul, 2018 1 commit
  10. 15 May, 2018 1 commit
    • Arnim Läuger's avatar
      Fix MQTT connect leak (#2368) · 914a4afc
      Arnim Läuger authored
      * fix application of patch 0018-feat-espconn-Modification-for-espconn.patch in #2269
      espconn_tcp_reconnect() was removed instead of espconn_list_delete()
      914a4afc
  11. 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
  12. 17 Mar, 2018 1 commit
  13. 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
  14. 20 Jun, 2017 1 commit
  15. 25 May, 2017 1 commit
  16. 11 Dec, 2016 1 commit
    • Yury Popov's avatar
      Upgrade to SDK 2.0.0 (#1435) · bdd54648
      Yury Popov authored
      * Update LWIP from SDK
      * mbedTLS integration
      * Fix argument type in dbg_printf (#1624)
      * Migrate to espressif’s download center (#1604)
      * Fixed BBS links to firmware
      * Adjust net module docs with mbedTLS info
      * Remove unrelevant axTLS notice
      bdd54648
  17. 20 Aug, 2016 3 commits
  18. 19 Jul, 2016 1 commit
  19. 23 Dec, 2015 1 commit
  20. 05 Nov, 2015 1 commit
    • Johny Mattsson's avatar
      Fix to do TCP port number randomization at boot. · f82415f6
      Johny Mattsson authored
      This addresses the issue where a server would otherwise reject a valid
      connection attempt from a rebooted node, due to the server thinking that
      packet belonged to a recently closed session. By starting off the local
      TCP port numbers at random* points each boot the risk of port reuse
      across a reboot is significantly reduced.
      
      *) As random as can be had via the lower 12 bits of the ccounter.
      f82415f6
  21. 12 Oct, 2015 2 commits
  22. 02 Aug, 2015 2 commits
  23. 31 Jul, 2015 1 commit
  24. 28 Jul, 2015 1 commit
  25. 27 Jun, 2015 1 commit
  26. 16 Feb, 2015 2 commits
  27. 09 Feb, 2015 1 commit
  28. 24 Jan, 2015 1 commit
  29. 08 Jan, 2015 1 commit
  30. 22 Dec, 2014 1 commit