New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow using both bme280 addresses simultaneously #3124
Commits on Jul 23, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 14c1b8f - Browse repository at this point
Copy the full SHA 14c1b8fView commit details -
Configuration menu - View commit details
-
Copy full SHA for ba03cb0 - Browse repository at this point
Copy the full SHA ba03cb0View commit details -
Configuration menu - View commit details
-
Copy full SHA for bc98174 - Browse repository at this point
Copy the full SHA bc98174View commit details -
Configuration menu - View commit details
-
Copy full SHA for 39bb60e - Browse repository at this point
Copy the full SHA 39bb60eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 522b1d0 - Browse repository at this point
Copy the full SHA 522b1d0View commit details
Commits on Sep 7, 2019
-
Merge pull request nodemcu#2836 from TerryE/dev-new-lua.c
Lua 5.1 to 5.3 realignement phase 1
Configuration menu - View commit details
-
Copy full SHA for fff9f95 - Browse repository at this point
Copy the full SHA fff9f95View commit details
Commits on Sep 10, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 32ad759 - Browse repository at this point
Copy the full SHA 32ad759View commit details
Commits on Sep 13, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 4c3d45e - Browse repository at this point
Copy the full SHA 4c3d45eView commit details
Commits on Sep 21, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 81e213a - Browse repository at this point
Copy the full SHA 81e213aView commit details
Commits on Sep 29, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 04287ac - Browse repository at this point
Copy the full SHA 04287acView commit details
Commits on Sep 30, 2019
-
Deprecate crypto.to{Hex,Base64} (nodemcu#2929)
The internal implementation already preferentially forwards to the encoder module, so we should just remove these functions as they confuse people into thinking that we don't have their inverses (see the feature request nodemcu#2907). Update the docs to refer to the encoder version and add deprecation warnings to the runtime implementations.
Configuration menu - View commit details
-
Copy full SHA for 043046d - Browse repository at this point
Copy the full SHA 043046dView commit details
Commits on Oct 30, 2019
-
Configuration menu - View commit details
-
Copy full SHA for f3044e1 - Browse repository at this point
Copy the full SHA f3044e1View commit details
Commits on Nov 13, 2019
-
Matsievskiy S.V committed
Nov 13, 2019 Configuration menu - View commit details
-
Copy full SHA for 0e34f7d - Browse repository at this point
Copy the full SHA 0e34f7dView commit details
Commits on Nov 14, 2019
-
Merge pull request nodemcu#2961 from seregaxvm/lfsfix
fix lfs upload issue
Configuration menu - View commit details
-
Copy full SHA for f3b4984 - Browse repository at this point
Copy the full SHA f3b4984View commit details
Commits on Nov 21, 2019
-
Configuration menu - View commit details
-
Copy full SHA for e3935de - Browse repository at this point
Copy the full SHA e3935deView commit details
Commits on Nov 26, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 9a2579d - Browse repository at this point
Copy the full SHA 9a2579dView commit details
Commits on Dec 9, 2019
-
Configuration menu - View commit details
-
Copy full SHA for c7d0f83 - Browse repository at this point
Copy the full SHA c7d0f83View commit details -
Fixes for
ws2812
andws2812_effects
(nodemcu#2953)* clean effects library * Fix several issues in ws2812 and effects * Implement working way of calling shift from callback
Configuration menu - View commit details
-
Copy full SHA for b179f30 - Browse repository at this point
Copy the full SHA b179f30View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4fc2b85 - Browse repository at this point
Copy the full SHA 4fc2b85View commit details -
New
net.if.info
call to show LwIP information (nodemcu#2862)* Remove app/include/netif/wlan_lwip_if.h This file appears to be unused in our tree. * New `net.if.info` call to show LwIP information This is a generalization of `wifi.sta`'s and `wifi.ap`'s `getip` and `getmac` calls. I don't propose to deprecate those, but perhaps we should, in the documentation, point users at this function instead. The direct motivation is to permit continued use of DHCP-provided NTP servers in a future where nodemcu#2819 has landed, now that nodemcu#2709 is in the tree. But rather than exposing just that information, a more general interface seems useful.
Configuration menu - View commit details
-
Copy full SHA for f85c278 - Browse repository at this point
Copy the full SHA f85c278View commit details
Commits on Dec 13, 2019
-
Configuration menu - View commit details
-
Copy full SHA for d84da36 - Browse repository at this point
Copy the full SHA d84da36View commit details
Commits on Dec 27, 2019
-
* Remove stale putative MD2 support This hasn't worked in a while, presumably since one of our upstream merges. Don't bother making it work, since MD2 is generally considered insecure. * Land mbedtls 2.16.3-77-gf02988e57 * TLS: remove some dead code from espconn_mbedtls There was some... frankly kind of scary buffer and data shuffling if ESP8266_PLATFORM was defined. Since we don't, in fact, define that preprocessor symbol, just drop the code lest anyone (possibly future-me) be scared. * TLS: espconn_mbedtls: run through astyle No functional changes * TLS: espconn_mbedtls: put the file_params on the stack There's no need to malloc a structure that's used only locally. * TLS: Further minor tidying of mbedtls glue What an absolute shitshow this is. mbedtls should absolutely not be mentioned inside sys/socket.h and app/mbedtls/app/lwIPSocket.c is not so much glue as it as a complete copy of a random subset of lwIP; it should go, but we aren't there yet. Get rid of the mysterious "mbedlts_record" struct, which housed merely a length of bytes sent solely for gating the "record sent" callback. Remove spurious __attribute__((weak)) from symbols not otherwise defined and rename them to emphasize that they are not actually part of mbedtls proper. * TLS: Rampage esp mbedtls glue and delete unused code This at least makes the shitshow smaller * TLS: lwip: fix some memp definitions I presume these also need the new arguments * TLS: Remove more non-NodeMCU code from our mbedtls * TLS: drop support for 1.1 Depending on who you ask it's either EOL already or EOL soon, so we may as well get rid of it now.
Configuration menu - View commit details
-
Copy full SHA for bf8f14b - Browse repository at this point
Copy the full SHA bf8f14bView commit details -
3
Configuration menu - View commit details
-
Copy full SHA for 52a1587 - Browse repository at this point
Copy the full SHA 52a1587View commit details
Commits on Dec 28, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 1652c0c - Browse repository at this point
Copy the full SHA 1652c0cView commit details
Commits on Dec 30, 2019
-
Polish Lua examples (nodemcu#2846)
* Add missing globals from luacheck config * Fix luacheck warnings in all lua files * Re-enable luacheck in Travis * Speed up Travis by using preinstalled LuaRocks * Fix more luacheck warnings in httpserver lua module * Fix DCC module and add appropriate definitions to luacheck config. * Change inline comments from ignoring block to only ignore specific line * Add Luacheck for Windows and enable it for both Windows and Linux * Change luacheck exceptions and fix errors from 1st round of polishing * Add retry and timeout params to wget
Configuration menu - View commit details
-
Copy full SHA for bcb669a - Browse repository at this point
Copy the full SHA bcb669aView commit details
Commits on Jan 1, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 7ed3d00 - Browse repository at this point
Copy the full SHA 7ed3d00View commit details
Commits on Jan 2, 2020
-
Also clean-up a nasty `ow` module example.
Configuration menu - View commit details
-
Copy full SHA for 8c08e76 - Browse repository at this point
Copy the full SHA 8c08e76View commit details
Commits on Jan 3, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 5278944 - Browse repository at this point
Copy the full SHA 5278944View commit details
Commits on Jan 4, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 1c83f02 - Browse repository at this point
Copy the full SHA 1c83f02View commit details
Commits on Feb 1, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 49f25bd - Browse repository at this point
Copy the full SHA 49f25bdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 76e9f1a - Browse repository at this point
Copy the full SHA 76e9f1aView commit details
Commits on Feb 9, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 9fb8a2f - Browse repository at this point
Copy the full SHA 9fb8a2fView commit details
Commits on Feb 18, 2020
-
Configuration menu - View commit details
-
Copy full SHA for df83908 - Browse repository at this point
Copy the full SHA df83908View commit details -
Configuration menu - View commit details
-
Copy full SHA for ec8622f - Browse repository at this point
Copy the full SHA ec8622fView commit details
Commits on Feb 21, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 1851a73 - Browse repository at this point
Copy the full SHA 1851a73View commit details
Commits on Feb 23, 2020
-
net: rename net.if.info to net.ifinfo (nodemcu#3033)
Reserved words are always reserved in Lua, so let's not have people typing net["if"]...
Configuration menu - View commit details
-
Copy full SHA for 31d4714 - Browse repository at this point
Copy the full SHA 31d4714View commit details -
Bugfix conn metatable method call (nodemcu#3012)
Here `conn` is net.socket instance, so it should be called as one. Otherwise request is very likely to end up with crash and PANIC. nwf edited in light of bcb669a
Configuration menu - View commit details
-
Copy full SHA for 1577988 - Browse repository at this point
Copy the full SHA 1577988View commit details
Commits on Mar 6, 2020
-
Configuration menu - View commit details
-
Copy full SHA for c116d9d - Browse repository at this point
Copy the full SHA c116d9dView commit details
Commits on Mar 14, 2020
-
WIP: MQTT fixes (nodemcu#2986)
* mqtt: expose "connfail" callback via :on() This makes it just like all the other callbacks in the module and is a revision of behavior called out in nodemcu#2967 * mqtt: clarify when puback callback fires * mqtt: Don't reference stack buffers from the heap The confusingly-named "mqtt_connection_t" object is just a triple of - a serialized mqtt message pointer and length - a buffer pointer (to which the above can be written) - a message identifier The last of these must be passed around the mqtt state machine, but the first two are very local and the buffer is always sourced from the C stack. Unfortunately, because the entire structure is persisted in the heap, some callers assume that they can always use the structure without reinitialization (see mqtt_socket_close), which will trash the C stack. Sever the pairing between message id and local state, punt the local state entirely out of the heap, and rename things to be less confusing.
Configuration menu - View commit details
-
Copy full SHA for 787ac7c - Browse repository at this point
Copy the full SHA 787ac7cView commit details
Commits on Mar 15, 2020
-
Configuration menu - View commit details
-
Copy full SHA for f265867 - Browse repository at this point
Copy the full SHA f265867View commit details -
Configuration menu - View commit details
-
Copy full SHA for 75db62f - Browse repository at this point
Copy the full SHA 75db62fView commit details
Commits on Mar 22, 2020
-
Configuration menu - View commit details
-
Copy full SHA for a9991c6 - Browse repository at this point
Copy the full SHA a9991c6View commit details -
Configuration menu - View commit details
-
Copy full SHA for f45a9ef - Browse repository at this point
Copy the full SHA f45a9efView commit details -
Configuration menu - View commit details
-
Copy full SHA for cb2636d - Browse repository at this point
Copy the full SHA cb2636dView commit details
Commits on Apr 7, 2020
-
Networking rampage and accumulated fixes (nodemcu#3060)
* espconn: remove unused espconn code, take 1 This is the easiest part of nodemcu#3004 . It removes a bunch of functions that were never called in our tree. * espconn: De-orbit espconn_gethostbyname Further work on nodemcu#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 nodemcu#3032 * espconn_secure: introduce TLS cert/key callbacks The new feature part of nodemcu#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
Configuration menu - View commit details
-
Copy full SHA for f5aa0af - Browse repository at this point
Copy the full SHA f5aa0afView commit details
Commits on Apr 18, 2020
-
add LiquidCrystal lua module (nodemcu#2974)
seregaxvm committedApr 18, 2020 Configuration menu - View commit details
-
Copy full SHA for c12b2ef - Browse repository at this point
Copy the full SHA c12b2efView commit details
Commits on Apr 19, 2020
-
The additional reporting, while nice, prevents the use of mispec on integer-only builds
Configuration menu - View commit details
-
Copy full SHA for 5552fdb - Browse repository at this point
Copy the full SHA 5552fdbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1c8dd6a - Browse repository at this point
Copy the full SHA 1c8dd6aView commit details -
Configuration menu - View commit details
-
Copy full SHA for fe9f2d6 - Browse repository at this point
Copy the full SHA fe9f2d6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0daef0a - Browse repository at this point
Copy the full SHA 0daef0aView commit details -
lua_examples/lfs/HTTP_OTA: move :connect() after :on()
IMHO, it's generally good style to register the callbacks first.
Configuration menu - View commit details
-
Copy full SHA for 132dccd - Browse repository at this point
Copy the full SHA 132dccdView commit details -
file: raise error on .on() with non-function/nil
Seems more polite than quietly accepting other types as nil.
Configuration menu - View commit details
-
Copy full SHA for c79ba4e - Browse repository at this point
Copy the full SHA c79ba4eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 810d60d - Browse repository at this point
Copy the full SHA 810d60dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 627bd5d - Browse repository at this point
Copy the full SHA 627bd5dView commit details -
net.dns: don't calloc a single int
Removes yet another unchecked allocation point in our C libraries. While here, fix potential reference leaks on error paths Also while here, remove some stale documentation. There can be as many DNS requests in flight as LwIP has room for in its table (DNS_TABLE_SIZE, which defaults to 4).
Configuration menu - View commit details
-
Copy full SHA for 766ab59 - Browse repository at this point
Copy the full SHA 766ab59View commit details -
Because the old API was inactive, we were setting MBEDTLS_SSL_VERIFY_NONE even after we'd parsed the certificate. tls tests now include a deliberate certificate mismatch; this was discovered by moving the mqtt tests over to the new API.
Configuration menu - View commit details
-
Copy full SHA for bd7695f - Browse repository at this point
Copy the full SHA bd7695fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 04ab7d7 - Browse repository at this point
Copy the full SHA 04ab7d7View commit details
Commits on Apr 24, 2020
-
Correct integer types in BMP085 driver (nodemcu#3070)
* BMP085 pressure sensor: fix temperature value data type the data type for t (U_T) should be long according to the BMP085 datasheet (rev. 1.2, section 3.5). values over 32767 can indeed occur, and in my case lead to a wrong value for the temperature (and consequently also pressure). note: this problem only occurs above a certain temperature (exact value depends on the calibration, but I assume somewhere around 26°C). * BMP085 pressure sensor: adapt data types and calculation this adapts the data types and calculation to be consistent with the datasheet (rev. 1.2, section 3.5). while I did not notice any issues, using the wrong data types could trigger edge cases.
Configuration menu - View commit details
-
Copy full SHA for e47c267 - Browse repository at this point
Copy the full SHA e47c267View commit details
Commits on Apr 25, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 3c3bec9 - Browse repository at this point
Copy the full SHA 3c3bec9View commit details
Commits on Apr 26, 2020
-
Configuration menu - View commit details
-
Copy full SHA for e627249 - Browse repository at this point
Copy the full SHA e627249View commit details -
nodemcu#2954: adapt LuaOTA to the new firmware api for the timer and …
…some other sma… (nodemcu#3016) * nodemcu#2954: adapt to the new firmware api for the timer and some other small fixes * reduce the error msg in when not response is sent back from esp * cleanup: remove trailing whitespaces Co-authored-by: Adel Tayeb-Cherif <adel@evoluhome.com>
Configuration menu - View commit details
-
Copy full SHA for 020b5a5 - Browse repository at this point
Copy the full SHA 020b5a5View commit details
Commits on Apr 27, 2020
-
Squashed updates do get Lua51 and Lua53 working (nodemcu#3075)
- Lots of minor but nasty bugfixes to get all tests to run clean - core lua and test suite fixes to allow luac -F to run cleanly against test suite - next tranch to get LFS working - luac.cross -a options plus fixes from feedback - UART fixes and lua.c merge - commit of wip prior to rebaselining against current dev - more tweaks
Configuration menu - View commit details
-
Copy full SHA for 9ef5c7d - Browse repository at this point
Copy the full SHA 9ef5c7dView commit details
Commits on Apr 29, 2020
-
fix liquidcrystal luacheck warnings (nodemcu#3081)
Co-authored-by: Matsievskiy S.V <matsievskiysv@gmail.com>
seregaxvm and Matsievskiy S.V committedApr 29, 2020 Configuration menu - View commit details
-
Copy full SHA for cd6452d - Browse repository at this point
Copy the full SHA cd6452dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 976d9dd - Browse repository at this point
Copy the full SHA 976d9ddView commit details
Commits on Apr 30, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 7523418 - Browse repository at this point
Copy the full SHA 7523418View commit details -
Configuration menu - View commit details
-
Copy full SHA for 17f74fb - Browse repository at this point
Copy the full SHA 17f74fbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3d2c989 - Browse repository at this point
Copy the full SHA 3d2c989View commit details -
Configuration menu - View commit details
-
Copy full SHA for b6bfe1c - Browse repository at this point
Copy the full SHA b6bfe1cView commit details -
Fix Windows build (nodemcu#3084)
* fix build * poor mans link which also works on docker under windows * Delete espconn.h * resurecting it as regular file * Add missing newline Co-authored-by: Marcel Stör <marcelstoer@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 314ca4f - Browse repository at this point
Copy the full SHA 314ca4fView commit details
Commits on May 1, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 88a33af - Browse repository at this point
Copy the full SHA 88a33afView commit details
Commits on May 9, 2020
-
u8g2: Fix name of updateDisplay export (nodemcu#3093)
Correct typo in Lua export from updateDispla() to updateDisplay()
Configuration menu - View commit details
-
Copy full SHA for 89d268f - Browse repository at this point
Copy the full SHA 89d268fView commit details
Commits on May 10, 2020
-
net_info module - ping function (nodemcu#2854)
* Net_info module exposing ping function initial commit * Ping as a part of net module * Sent callback implemented * Add NET_PING_ENABLE macro Authored-by: vsky <blue205@centrum.cz> with support from TerryE
Configuration menu - View commit details
-
Copy full SHA for 2f527cf - Browse repository at this point
Copy the full SHA 2f527cfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2e58471 - Browse repository at this point
Copy the full SHA 2e58471View commit details -
Fix binary and chunked HTTP downloads (nodemcu#2985)
Original sources by @anod221
Configuration menu - View commit details
-
Copy full SHA for 6e5edf4 - Browse repository at this point
Copy the full SHA 6e5edf4View commit details
Commits on May 12, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 5e2ea5a - Browse repository at this point
Copy the full SHA 5e2ea5aView commit details
Commits on May 15, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 50fcd72 - Browse repository at this point
Copy the full SHA 50fcd72View commit details
Commits on May 24, 2020
-
allow using both bme280 addresses simultaneously
This adds an optional use-alternate-address- parameter to all read-methods of the bme280 module. if not set, the behaviour is unchanged and first available device will be used. If set to true, the device at address 0x77 will be used. This fixes nodemcu#2241
Heiko Mathes committedMay 24, 2020 Configuration menu - View commit details
-
Copy full SHA for d04946c - Browse repository at this point
Copy the full SHA d04946cView commit details