| Age | Commit message (Collapse) | Author |
|
Signed-off-by: Kenneth Ryerson <kenneth.ryerson@gmail.com>
|
|
|
|
This commit adds network.PPP(stream) which allows to create a TCP/IP
network interface over a stream object (eg a UART).
|
|
The esp8266 uses modlwip.c for its usocket implementation, which allows to
easily support callbacks on socket events (like when a socket becomes ready
for reading). This is not as easy to do for the esp32 which uses the
ESP-IDF-provided lwIP POSIX socket API. Socket events are needed to get
WebREPL working, and this patch provides a way for such events to work by
explicitly polling registered sockets for readability, and then calling the
associated callback if the socket is readable.
|
|
Updates to Makefile, modnetwork.c, and addition of network_lan.c to
implement `network.LAN()` object for wired PHY objects.
|