Damien George
bc952d37fe
extmod/network_ppp_lwip: Add network.PPP via lwIP.
...
This commit adds a new `network.PPP` interface which works on any port that
has bare-metal lwIP, eg rp2, stm32, mimxrt.
It has been tested on stm32. A board needs to enable
`MICROPY_PY_NETWORK_PPP_LWIP` and then it can use it as follows:
import network
ppp = network.PPP(uart)
ppp.connect()
while not ppp.isconnected():
pass
# use `socket` module as usual, etc
ppp.disconnect()
Usually the application must first configure the cellular/etc UART link to
get it connected and in to PPP mode first (eg ATD*99#), before handing over
control to `network.PPP`.
The PPP interface automatically configures the UART IRQ callback to call
PPP.poll() on incoming data.
Signed-off-by: Damien George <damien@micropython.org >
2024-08-29 23:46:13 +10:00
..
2024-02-28 15:48:51 +11:00
2024-03-07 16:25:17 +11:00
2024-03-16 12:19:12 +11:00
2024-03-07 14:20:42 +11:00
2024-08-08 17:59:06 +10:00
2024-07-02 13:19:17 +10:00
2024-03-15 12:59:58 +11:00
2024-08-29 23:46:13 +10:00
2024-08-29 23:46:13 +10:00
2024-03-07 14:20:42 +11:00
2024-03-07 14:20:42 +11:00
2024-03-07 14:20:42 +11:00
2024-03-07 14:20:42 +11:00
2024-03-08 13:31:02 +11:00
2024-03-15 12:04:34 +11:00
2024-03-07 14:20:42 +11:00
2024-03-07 14:20:42 +11:00
2024-03-07 14:20:42 +11:00
2024-03-15 12:04:25 +11:00
2024-07-12 22:59:31 +10:00
2024-03-07 14:20:42 +11:00
2024-03-07 14:20:42 +11:00
2024-07-02 10:23:26 +10:00
2024-03-07 14:20:42 +11:00
2023-12-22 10:26:52 +11:00
2024-06-20 00:11:05 +10:00
2024-03-07 14:20:42 +11:00
2024-03-07 14:20:42 +11:00
2024-03-07 14:20:42 +11:00
2024-07-22 10:42:29 +10:00
2024-03-07 14:20:42 +11:00
2024-03-07 14:20:42 +11:00
2024-03-28 16:18:09 +11:00
2024-03-07 14:20:42 +11:00
2024-03-07 14:20:42 +11:00
2024-03-07 14:20:42 +11:00
2024-07-04 15:55:03 +10:00
2024-07-20 12:18:07 +10:00
2024-03-15 14:22:11 +11:00
2024-08-29 23:46:13 +10:00
2024-08-29 23:46:13 +10:00
2024-03-07 14:20:42 +11:00
2024-08-08 17:59:32 +10:00
2024-08-08 17:59:32 +10:00
2024-03-15 18:11:28 +11:00
2024-08-08 18:02:21 +10:00
2024-03-15 18:11:28 +11:00
2024-07-20 12:32:31 +10:00
2024-03-07 14:20:42 +11:00
2024-06-17 13:12:54 +10:00
2024-03-07 14:20:42 +11:00
2024-08-14 12:55:45 +10:00
2024-03-07 14:20:42 +11:00
2024-03-07 14:20:42 +11:00
2024-03-07 14:20:42 +11:00
2023-06-08 17:54:14 +10:00
2024-03-28 17:36:13 +11:00
2024-08-26 12:48:12 +10:00
2024-07-22 14:40:45 +10:00
2024-03-07 14:20:42 +11:00
2024-07-04 15:55:03 +10:00
2024-03-07 14:20:42 +11:00
2023-06-08 17:54:14 +10:00
2024-03-28 12:52:28 +11:00
2024-07-04 15:55:03 +10:00
2024-07-04 15:55:03 +10:00
2024-07-12 01:03:46 +10:00
2024-08-29 23:46:13 +10:00
2024-08-26 13:02:44 +10:00
2024-03-16 10:59:03 +11:00
2024-03-07 14:20:42 +11:00
2024-03-07 14:20:42 +11:00
2024-07-23 11:39:17 +10:00
2024-03-07 14:20:42 +11:00
2024-03-07 14:20:42 +11:00
2024-07-04 15:55:03 +10:00
2024-03-07 14:20:42 +11:00
2024-07-04 15:55:03 +10:00
2024-03-07 14:20:42 +11:00
2024-07-23 12:13:49 +10:00
2022-09-19 19:06:07 +10:00