1 unstable release
0.2.2 | Feb 8, 2025 |
---|
#1879 in Embedded development
147 downloads per month
15KB
139 lines
esp-embassy-wifi
Simple helper library to make it easier to connect to wifi with esp-embassy.
How to use
The wifi_example.rs
in examples folder show a minimal esp32c3 example code. The part that use this library is this:
let wifi = WifiStack::new(
spawner,
peripherals.WIFI,
peripherals.TIMG0,
peripherals.RNG,
peripherals.RADIO_CLK,
SSID.try_into().unwrap(),
PASSWORD.try_into().unwrap(),
);
Supported devices
This has been tested on esp32, esp32s3 and esp32c6, and is assumed to work on the remaining esp32 devices as well.
Dependencies
~100MB
~521K SLoC