- 21 Jul, 2019 1 commit
-
-
Johny Mattsson authored
The PR removed the bulk of non-newlib headers from the NodeMCU source base. app/libc has now been cut down to the bare minimum overrides to shadow the corresponding functions in the SDK's libc. The old c_xyz.h headerfiles have been nuked in favour of the standard <xyz.h> headers, with a few exceptions over in sdk-overrides. Again, shipping a libc.a without headers is a terrible thing to do. We're still living on a prayer that libc was configured the same was as a default-configured xtensa gcc toolchain assumes it is. That part I cannot do anything about, unfortunately, but it's no worse than it has been before. This enables our source files to compile successfully using the standard header files, and use the typical malloc()/calloc()/realloc()/free(), the strwhatever()s and memwhatever()s. These end up, through macro and linker magic, mapped to the appropriate SDK or ROM functions.
-
- 08 May, 2019 1 commit
-
-
Terry Ellison authored
Updated ROTables
-
- 20 May, 2018 1 commit
-
-
dnc40085 authored
* updated wifi_eventmon to store events in LUA_REGISTRYINDEX * updated wifi_eventmon debug comments * Updated wifi.c to remove c_free() In wifi_ap_listclient(app/modules/wifi.c), c_free() was replaced with wifi_softap_free_station_info() * Removed unnecessary line of code from app/modules/wifi_eventmon.c
-
- 10 Jan, 2018 1 commit
-
-
Philip Gladstone authored
-
- 21 May, 2017 2 commits
-
-
dnc40085 authored
* Add event callbacks to wifi.sta.config() and wifi.ap.config() and more Added option to register event callbacks during configuration of both station and AP. Added option to register event callbacks to `wifi.sta.connect()` and `wifi.sta.disconnect()` * Add note about event registration to wifi module documentation Other minor changes to wifi documentation are also included * Add more detail to documentation for wifi.sta.config()
-
dnc40085 authored
The following functions were removed: - `wifi.sta.eventMonReg()` - `wifi.sta.eventMonStart()` - `wifi.sta.eventMonStop()` The corresponding documentation has also been removed This PR addresses issue #1893
-
- 15 May, 2017 1 commit
-
-
dnc40085 authored
-
- 31 Mar, 2017 1 commit
-
-
dnc40085 authored
* Update wifi event monitor documentation Added a note to `wifi.eventmon.register()` and `wifi.sta.eventmonreg()` * Add deprecation note to `wifi.sta.eventMonReg()`
-
- 01 Apr, 2016 1 commit
-
-
dnc40085 authored
Implement SDK event monitor Move wifi status event monitor code into seperate file (app/modules/wifi_eventmon.c) Modify wifi lua callback registration code. Add Functions wifi.ap.deauth and wifi.sta.getrssi Rework wifi event monitor to use tasking interface fix for Lua coroutine compatibility issue Made changes Suggested by TerryE Also, moved code that sets the default host name out of luaopen_wifi_init and into a separate function and added a post_task_low entry in it's place. Replaced some if test then return error lines with luaL_argcheck Add check for malloc null return in wifi.eventmon to catch out of memory errors
-