|
TinyWifiDongle 0.1.0
Header-only USB WiFi dongle for Arduino
|
Raspberry Pi Pico W / Pico 2 W dongle: raw Ethernet frames between USB and WiFi. More...
#include <Rp2040Dongle.h>
Public Member Functions | |
| Rp2040Dongle () | |
| bool | begin (const TinyWifiDongleConfig &cfg) |
| Start USB and WiFi and bridge them; false if a part could not be started. | |
| bool | usbReady () |
| True once the USB host has configured the adapter. | |
| bool | uplinkConnected () |
| True while the board is associated with the access point. | |
| L2Bridge::Stats | bridgeStats () const |
| Counters of the bridge since start. | |
| Rp2040UsbNcm::Stats | usbStats () const |
| Counters of the USB side since start. | |
Raspberry Pi Pico W / Pico 2 W dongle: raw Ethernet frames between USB and WiFi.
Rp2040UsbNcm (UsbTransport) <-> L2Bridge <-> Rp2040WifiFrameLink (FrameLink)
The USB adapter takes the WiFi chip's station MAC address; the host does its own DHCP/DNS with the WiFi network. The board has no IP address of its own. Needs the core option "USB Stack: Pico SDK" (the default).
The settings manageUsb, pinUsbTask, stallTimeoutMs and usbMaxFrame of the configuration only apply to the ESP32 and are ignored here; framesToHost and framesFromHost only apply here.
Definition at line 24 of file Rp2040Dongle.h.
|
inline |
Definition at line 26 of file Rp2040Dongle.h.
|
inline |
Start USB and WiFi and bridge them; false if a part could not be started.
Definition at line 29 of file Rp2040Dongle.h.
|
inline |
Counters of the bridge since start.
Definition at line 59 of file Rp2040Dongle.h.
|
inline |
True while the board is associated with the access point.
Definition at line 56 of file Rp2040Dongle.h.
|
inline |
True once the USB host has configured the adapter.
Definition at line 54 of file Rp2040Dongle.h.
|
inline |
Counters of the USB side since start.
Definition at line 61 of file Rp2040Dongle.h.