- 19 Nov, 2021 1 commit
-
-
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
-
- 09 Jun, 2020 1 commit
-
-
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 removal * espconn_secure: simplify ssl options structure There is nothing "ssl_packet" about this structure. Get rid of the terrifying "pbuffer" pointer. Squash two structure types together and eliminate an unused field. * espconn_secure: refactor mbedtls_msg_info_load Split out espconn_mbedtls_parse, which we can use as part of our effort towards addressing https://github.com/nodemcu/nodemcu-firmware/issues/3032 * espconn_secure: introduce TLS cert/key callbacks The new feature part of https://github.com/nodemcu/nodemcu-firmware/issues/3032 Subsequent work will remove the old mechanism. * tls: add deprecation warnings * luacheck: net.ifinfo is a thing now * tls: remove use of espconn->reverse * mqtt: stop using espconn->reverse Instead, just place the espconn structure itself at the top of the user data. This enlarges the structure somewhat but removes one more layer of dynamic heap usage and NULL checks. While here, simplify the code a bit. * mqtt: remove redundant pointer to connect_info Everywhere we have the mqtt_state_t we also have the lmqtt_userdata. * mqtt: doc fixes * mqtt: note bug * tls: allow :on(...,nil) to unregister a callback
-
- 27 Jul, 2019 3 commits
-
-
Gregor Hartmann authored
* Add DHCP option 42 / NTP * Update dhcp.c * resolve merge conflict * add lineend at end of file * fix merge conflict resolution error
-
Gregor authored
This reverts commit af9b123bc1c0603859caf9fcd6fcfdeeeb08dbce.
-
Gregor authored
-
- 23 Jul, 2019 2 commits
-
-
Terry Ellison authored
-
Johny Mattsson authored
-
- 20 May, 2019 1 commit
-
-
Terry Ellison authored
Fixes #2511
-
- 19 May, 2019 1 commit
-
-
Terry Ellison authored
Force libpp.a into iRAM, and backout redundant IRAM_DATA_ATTR changes
-
- 17 May, 2019 1 commit
-
-
Terry Ellison authored
includes some dRAM -> iRAM optimisations
-
- 17 Feb, 2019 1 commit
-
-
sergio authored
-
- 20 Jul, 2018 1 commit
-
-
Nathaniel Wesley Filardo authored
Minimally build and boot tested, but the changes look pretty boring
-
- 15 May, 2018 1 commit
-
-
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()
-
- 13 Apr, 2018 1 commit
-
-
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
-
- 17 Mar, 2018 1 commit
-
-
TerryE authored
-
- 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 ...
-
- 20 Jun, 2017 1 commit
-
-
https://github.com/espressif/esp-idf/issues/631Arnim Läuger authored
* backport fix for https://github.com/espressif/esp-idf/issues/631 * remove code from intermediate fix
-
- 25 May, 2017 1 commit
-
-
Arnim Läuger authored
-
- 11 Dec, 2016 1 commit
-
-
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
-
- 20 Aug, 2016 3 commits
-
-
Marcel Stör authored
The original code did not deal with UDP binding failures, this new code does one random port attempt and then sets port to 0 to get 'OS default' behaviour, and ASSERTs that that has to work. Patch also moves the local UDP port range definition to udp.h from udp.c.
-
Marcel Stör authored
-
bert hubert authored
The original code did not deal with UDP binding failures, this new code does one random port attempt and then sets port to 0 to get 'OS default' behaviour, and ASSERTs that that has to work. Patch also moves the local UDP port range definition to udp.h from udp.c.
-
- 19 Jul, 2016 1 commit
-
-
bert hubert authored
-
- 23 Dec, 2015 1 commit
-
-
Johny Mattsson authored
Removed earlier TCP port randomisation fix - the new SDK has its own fix even though Espressif told me they wouldn't fix it. Yay?
-
- 05 Nov, 2015 1 commit
-
-
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.
-
- 12 Oct, 2015 2 commits
-
-
Johny Mattsson authored
Plus directly provided patch for user_interface.h.
-
Johny Mattsson authored
From Espressif's lwip_open_src_template_proj_for_v1.3.0.zip
-
- 02 Aug, 2015 2 commits
-
-
Robert Foss authored
-
Robert Foss authored
-
- 31 Jul, 2015 1 commit
-
-
Johny Mattsson authored
-
- 28 Jul, 2015 1 commit
-
-
Robert Foss authored
-
- 27 Jun, 2015 1 commit
-
-
Johny Mattsson authored
-
- 16 Feb, 2015 2 commits
- 09 Feb, 2015 1 commit
-
-
Santiago authored
-
- 24 Jan, 2015 1 commit
-
-
funshine authored
-
- 08 Jan, 2015 1 commit
-
-
funshine authored
-
- 22 Dec, 2014 1 commit
-
-
funshine authored
-