Commit Graph

7 Commits

Author SHA1 Message Date
Johny Mattsson 17df207a5f Port Terry's Lua 5.1 + 5.3 work from the esp8266 branch.
Changes have been kept to a minimum, but a serious chunk of work was
needed to move from 8266isms to IDFisms.

Some things got refactored into components/lua/common, in particular
the LFS location awareness.

As part of this work I also evicted our partition table manipulation
code, as with the current IDF it kept breaking checksums and rendering
things unbootable, which is the opposite of helpful (which was the
original intent behind it).

The uart module got relocated from base_nodemcu to the modules component
properly, after I worked out how to force its inclusion using Kconfig alone.
2021-08-22 02:03:05 +10:00
Johny Mattsson 62b3d06020 idf4: part 2.1 - uplift to new esp_event system events
Some parts dry-coded in the disabled modules; to be fixed when sorting out
the deprecated/removed APIs used in said modules.

Still untested beyond compile/linking.
2021-07-19 17:23:38 +10:00
Lars Stenberg e6eb743b88 Added functions wifi.sta.getmac() and wifi.ap.getmac() 2017-06-30 23:55:43 +02:00
Johny Mattsson ea59007bc3 WiFi module documentation and updates.
Addresses one point of #1615.
2017-01-03 12:57:45 +11:00
Johny Mattsson 334ba08131 Split wifi.on() into wifi.sta.on()/wifi.ap.on()
As discussed in #1615.
2016-12-10 15:25:57 +11:00
Johny Mattsson e67c6f0917 Split out IP formatting helpers. 2016-10-06 17:23:48 +11:00
Johny Mattsson 4fead4a4be More WiFi module work.
Station connect/disconnect/scan, plus event handling via wifi.on().
2016-10-04 17:40:06 +11:00