#include <Arduino.h>
#include <LwipEthernet.h>
#include <LwipIntf.h>
#include <WiFi.h>
#include <lwip/dns.h>
#include <lwip/ip4.h>
#include <lwip/netif.h>
#include <lwip/pbuf.h>
#include <functional>
#include "PPPEngine.h"
Go to the source code of this file.
|
| class | TinyPPP_RP2040 |
| | PPP network interface for RP2040 / RP2350 (arduino-pico): the TinyPPP engine registered as a point-to-point lwIP netif. More...
|
| |
|
| namespace | tinyppp |
| | TinyPPP internals: PPP engine, HDLC framing and the IP stack.
|
| |
◆ _addNetifCB
| std::function<void(struct netif *)> _addNetifCB |
|
extern |
RP2040 / RP2350 (Earle Philhower arduino-pico core) implementation.
The core's lwIP is built without PPP support, so the TinyPPP engine is used and registered as a point-to-point lwIP netif. All lwIP based Arduino classes of the core (WiFiClient, WiFiServer, WiFiUDP, HTTPClient, WebServer, ...) work over this interface.
The stream is polled in the background by the lwIP_Ethernet packet handler (see lwipPollingPeriod()), so no loop() call is needed.
◆ _removeNetifCB
| std::function<void(struct netif *)> _removeNetifCB |
|
extern |