TinyWifiDongle 0.1.0
Header-only USB WiFi dongle for Arduino
Loading...
Searching...
No Matches
twd::Esp32Dongle Class Reference

ESP32-S2/S3 dongle: raw Ethernet frames between USB and WiFi. More...

#include <Esp32Dongle.h>

Public Member Functions

 Esp32Dongle ()
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 MCU is associated with the access point.

Detailed Description

ESP32-S2/S3 dongle: raw Ethernet frames between USB and WiFi.

Esp32UsbNcm (UsbTransport) <-> L2Bridge <-> Esp32WifiFrameLink (FrameLink)

The USB adapter takes the WiFi station's MAC address; the host does its own DHCP/DNS with the WiFi network. The MCU has no IP address of its own.

Definition at line 21 of file Esp32Dongle.h.

Constructor & Destructor Documentation

◆ Esp32Dongle()

twd::Esp32Dongle::Esp32Dongle ( )
inline

Definition at line 23 of file Esp32Dongle.h.

Member Function Documentation

◆ begin()

bool twd::Esp32Dongle::begin ( const TinyWifiDongleConfig & cfg)
inline

Start USB and WiFi and bridge them; false if a part could not be started.

Definition at line 26 of file Esp32Dongle.h.

◆ uplinkConnected()

bool twd::Esp32Dongle::uplinkConnected ( )
inline

True while the MCU is associated with the access point.

Definition at line 67 of file Esp32Dongle.h.

◆ usbReady()

bool twd::Esp32Dongle::usbReady ( )
inline

True once the USB host has configured the adapter.

Definition at line 65 of file Esp32Dongle.h.


The documentation for this class was generated from the following file: