#wifi #esp32 #embassy

no-std esp-embassy-wifihelper

Simple helper library to make it easier to connect to wifi with esp-embassy

1 unstable release

0.2.2 Feb 8, 2025

#1879 in Embedded development

Download history 115/week @ 2025-02-06 16/week @ 2025-02-13 11/week @ 2025-02-20 5/week @ 2025-02-27

147 downloads per month

MIT license

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